LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TCP VIs in LabVIEW 7.1 all fail (error 1)

The subject line says it all.  Whenever I try to run any of the TCP VIs, I get an error code = 1.  I'm running
LabVIEW version 7.1 on a WinXP machine.  Obviously, they work normally and on other machines.  Yes,
the machine in question has a working ethernet connection (I'm using it to post this).  No, it doesn't matter
which VI I'm using -- they all throw the same error code.

Any ideas?

0 Kudos
Message 1 of 2
(2,893 Views)
Error code 1 is too generic to really say anything.
  • Do you have more information on the error?
  • How many ethernet cards are configured on the PC? (do a "ipconfig /all" from the command window. post the full output if you want).
  • Are you possibly trying to use a local port that is in use? (For outgoing connections, you should leave the local port disconnected so the OS can pick a free ephemeral port unless the server at the other end is picky about the source port of incoming connection attempts. If the server is also written in LabVIEW, you should try to remove that restriction and dynamically reply to whatever remote port the incoming connection uses).
0 Kudos
Message 2 of 2
(2,882 Views)