From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP timeout error

Solved!
Go to solution

hi everyone, 

I have a challenge while using the TCP protocol. I'm trying to poll  data using the tcp protocol. in 1st iteration I receive the data as expected (36 bytes) after completing in 2nd loop it throws a timeout error. which I'm expecting because of no data receive or some race condition happening which i am not aware of. 

secondly, after making TCP connecting I'm unable to send two commands in row. 1st one works fine but the 2nd one throws an error.  both works fine independently.  

imkakakhel_0-1676972703939.png

imkakakhel_1-1676972841615.png
help would be appreciated. Thank You

 

 

 

0 Kudos
Message 1 of 2
(541 Views)
Solution
Accepted by topic author imkakakhel

Hi imkakakhel

This timeout error can be caused by configuring the TCP/IP functions incorrectly, and can often be cleared without detriment, as long as the data is being received. If the data is not being received, there are several troubleshooting steps are listed in this link.


Regards)

________

Best way to thank is to give Kudos / Mark as a solution.

0 Kudos
Message 2 of 2
(474 Views)