Solved

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

Posted on 2014-04-14
6
85 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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
google exe file 5 65
Changing password for HP switch 5 37
USB management software on a network of computers 4 30
rajdeep0081@hotmail.com 3 71
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
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…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

856 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