LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP Communications taking up 50% of CPU on Windows

Does this happen everytime you run the program, when you boot the RT system, or another case?  It sounds like we should format the RT system.  If your RT target is not a dual boot PXI you can format the target through MAX.  Reboot your RT system in safe mode.  On the host machine, right-click the target in remote systems and select Format Disk.  After you format the disk you can reconfigure the RT target and install software to it.

 

After you get the controller restarted, try running the TCP/IP communication example that ships with the LabVIEW Real-Time module.  If this program works correctly the original problem is somewhere in your software.

 

Regards,

Jon S.
National Instruments
LabVIEW NXG Product Owner
0 Kudos
Message 11 of 12
(436 Views)

Almost every time.  I fixed that one by changing the TCP timeout input from 0 to 1.  I don't really know the inner-workings of the TCP module, but having a 0 timeout seems to cause headaches.

 

Dan

0 Kudos
Message 12 of 12
(416 Views)