LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get error 66, when try to make labview program communicate with arduino uno+ wifi shield.

I have a sever VI, keep sending data use TCP VIs. The client side is my arduino board (uno+ wifi shield), which can receive data wirelessly. I run both, they can successfully communicate once. At the 2nd time, the sever VI will close itself, because TCP write VI gets error 66. In VI server, I have allowed access of localhost, and IP address of my arduino.

severVI.PNG

arduino serial port monitor.PNG

0 Kudos
Message 1 of 3
(3,644 Views)

Capture34.PNG

0 Kudos
Message 2 of 3
(3,533 Views)

Actually, they can communicate not only once, sometimes the VI can pass data several rounds, but suddenly the error 66 appears in TCP write, the loop will stop. And if I rerun the program, things happens again. can anybody tell me why the error come out? Thanks

0 Kudos
Message 3 of 3
(3,530 Views)