LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 56 in TCP Read

Hi,

 

I have TCP Read in a loop  expecting data from some Micropchip boards connected to it. The problem I have is the boards do not send data all the time, hence I cannot wire in a specific constant to the number of bytes to read in, in the TCP read block.

 

Am I right in saying the only option is to clear the error 56 when it occurs?

 

Thanks,

Harshil

0 Kudos
Message 1 of 2
(2,993 Views)

That should solve the problem.  See this post...

 

There is a VI that you can use to clear this error.  look fo rexamples\comm\UDP.llb\no timeout error.vi

 

The VI is located in an LLB named UDP, but the function only checks the error code, it has nothing to do with the connection.

 

 

0 Kudos
Message 2 of 2
(2,988 Views)