LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 66 occured with bi directional TCP communicition sbRio

I am converting my sbRio project to use TCP communication from NI network streams to facilitate non labview programs to use the sbRio.
I am trying to modify the demo program to provide bi directional communication over the single connection id. The host (pc) is opening a connection and the target (sbRio) is the listener. I am able to send commands from host to target but the target is only to send one slice of data back to the host before the error the target returns error 66.
I have include my code. Any thoughts on what I am doing wrong?
JohnHost.pngTarget.png

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

You can check your LabVIEW configurations. On Tools>>Options>>VI Server you have a machine access list, where you add IPs that can access your application by TCP/IP. If you add an asterisk you enable any machine access your application, or you can add sbRIO IP address.

Abel Souza
Engenheiro Eletrônico
LabVIEW User since 8.5
0 Kudos
Message 2 of 2
(1,961 Views)