LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP Read VI picking up garbage values

I have some Python code on one computer sending data to a LabVIEW program on another computer over TCP. Everything seems to be working correctly, but the TCP Read VI in LabVIEW periodically receives the garbage string "ÿ        ". I've attached a screenshot of the portion of the LabVIEW program that handles the TCP communication.

 

I've tried setting this up with different port numbers, but the garbage string always comes through.

 

Does anyone know what could be causing this?

0 Kudos
Message 1 of 5
(3,374 Views)

Have you tried sniffing the traffic eg. Wireshark to see what is actually being transmitted and received?

0 Kudos
Message 2 of 5
(3,365 Views)

Are you sure it's not the Python code? It would also be helpful to show the hex display, to see exactly what bytes are contained in that "garbage" string.

0 Kudos
Message 3 of 5
(3,360 Views)

See the attached screeshot of Wireshark after one of these garbage events. This doesn't mean much to me, but perhaps this provides some information?

0 Kudos
Message 4 of 5
(3,347 Views)

It could be the Python code, and may be related to the use of ZeroMQ. I need to do a bit more debugging on this end.

0 Kudos
Message 5 of 5
(3,345 Views)