Solved

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

Posted on 2014-04-14
6
76 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:
Bing CISM / CISSP 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

Suggested Solutions

When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
Let’s list some of the technologies that enable smooth teleworking. 
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

707 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now