Solved

Modbus TCP client fails on Windows 7 --- works fine on XP

Posted on 2014-04-14
6
88 Views
Last Modified: 2015-12-17
Our client application works fine on Windows XP.
The application scans approx 10 registers without failures at a scan rate of 100 milli secs.
When used on Windows 7 the app works for a few seconds and is then unusable.
If the scan rate is decreased to 10 seconds the app works without failures
If a scan rate of 2.5 seconds is used some failures are noticed.

The link http://modbus.control.com/thread/1341225864 refers to many similar issues.
However a fix suggested below did not work.
netsh interface tcp set global autotuninglevel=disabled

Please advise.

Help moderator please... I would like to increase the points 1000 but "Edit question" doesn't allow ??
0
Comment
Question by:mattie13
  • 2
  • 2
6 Comments
 
LVL 37

Accepted Solution

by:
bbao earned 250 total points
ID: 40001846
a very first clarification. did you try running the application in XP compatible mode under W7?

i don't mean the XP Mode of W7, which is about VM.

right-click the executable in Windows Explorer, choose Properties then Compatibility tab, change the level to XP, press OK to save the settings. run the executable again.
0
 
LVL 35

Assisted Solution

by:Bembi
Bembi earned 250 total points
ID: 40002629
Just another idea what may underline bbao answer....
I have seen a lot of times applications, which just have a problem with timing, means multithreading and distribution on several processors. If this doesn't work fine, it is possible that the application creates projcessor jobs, which do not run in a multitasking environemnt with several processors. If jobs are distributed to several processors, it may run in an undefined stated, if the application doesn't put the timing into account.

Means, not every application is multitasking, multiprocessor capable.

You may tr to create a virtual WIn7 machine (if your application works with that) and assign only one processor to this virtual machine. If this works, but not with several processors, you can be sure, the application can not handle it.

So the solution maybe in fact, to either try the XP compatibility mode, which switches off some of the capabilities of Win7, to run int in a virtual machine with one single processor or to just leave in on a XP machine.
0
 

Author Comment

by:mattie13
ID: 40003240
Thanks to bbao and Bembi.
Ill try your advice and feedback asap.
0
 

Author Comment

by:mattie13
ID: 41369662
I've requested that this question be deleted for the following reason:

Neglected status
0
 
LVL 35

Expert Comment

by:Bembi
ID: 41369663
So, where is the feedback asap?
0

Featured Post

Create the perfect environment for any meeting

You might have a modern environment with all sorts of high-tech equipment, but what makes it worthwhile is how you seamlessly bring together the presentation with audio, video and lighting. The ATEN Control System provides integrated control and system automation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
fabric 1 54
Cisco 887VA secondary outgoing IP Address diferent from Default Dialer 4 52
Network adapter failed to start 5 32
CentOS 7 wireless 2 25
Even if you have implemented a Mobile Device Management solution company wide, it is a good idea to make sure you are taking into account all of the major risks to your electronic protected health information (ePHI).
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question