LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Communicating through LAN with PXI and PC

I am using DAQ 6251 on both the PXI which are NI PXI 1031.

0 Kudos
Message 11 of 12
(178 Views)

Okay, first thing that is missing in your VIs is that the amount of bytes you read from the TCP, at the moment it is zero.

 

Wire in lan2.vi at the TCP Read VI the value of amount of bytes to read. When you put there for example "4" and you use lan1.vi at Command "test", it works for me. 

 

Don't forget to put the same ports on both VIs.

Message 12 of 12
(175 Views)