Solved

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

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

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
Secure Connection Failed - Sonicwall FW 1 58
OSPF Cost 2 51
Set up wireless network on Cisco ASA 5505 with DHCP 13 53
Auto Smartport macro for Dell and HP laptops 2 54
Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
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…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

867 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

23 Experts available now in Live!

Get 1:1 Help Now