12-08-2017 10:39 AM
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?
John
04-13-2018 03:15 PM
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.