Hello,
I am using a PXI 1002 chasis with a PXI-8176 controller, and PXI 6052E acquisition board. I'm using the last release of LabView 7.1 (available Aug 2005) before version 8.
I am running an experiment where the WindowsXP computer requests a real-time acquisition from the PXI, which performs the acquisition, and then returns the data. In this set-up, the PXI is first listening for a TCP connection from Windows, and then Windows listens for a TCP connection from the PXI.
I am having some bizarre trouble with my TCP connection between the PXI and Windows computer. When both are connected to each other through standard network cables to a switch, which is itself connected to the broader network, the program works flawlessly. <b>Once it has done at least one trial, I can disconnect the broader network and everything continues to work fine.</b>
If however, I start the whole process without a connection to the broader network, or if I use a cross over cable to directly connect Windows and the PXI, a problem occurs. The Windows to PXI transaction works fine, but then the PXI to Windows transaction times out. The PXI's "TCP Open Connection" works fine, but the "TCP Send Receive" times out with error code 56.
This is suddenly an issue for me because I need to take the whole set-up on the road, and therefore need to use a cross over cable to directly control the PXI from my notebook. The NI Measurement & Automation Explorer is able to talk with the PXI in either case, so the cabling itself is not the problem. I've read previous posts about slow access times using a cross over cable, but my problem is slightly more general as evidenced by the weird "need to connect to the Net once through the network switch" behavior.
I've attached stripped down VIs of the TCP code on my Windows and PXI machines.
I would be very grateful for any help!
Thanks in advance, and Best Regards,
Frenk