NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with TCP/IP communication via Teststand and Labview

Hello,

 

I am trying to create a sequence of tests and need to communicate between LabView vi's and another program over a TCP connection. When I have the sequence hard coded in LabView everything works fine, but my goal is to break up the sequence into steps and execute it in Teststand. Currently, the working LabView code sets up a listener, and the other program establishes the connection. Once the connection is established, I use the Read/Write to TCP blocks for the programs to send messages back and forth.

What I first tried in Teststand is to create a simple vi under Setup, that creates the listener, then the user is prompted to run the script on the other program to establish the connection. On the vi, I clicked on "create -> indicator" for the connection ID, then wired it as an output intending to use it in other vi's in the main part of the sequence.

The main (and very strange) problem is that TestStand will crash before I even get a chance to execute the sequence. Starting with a blank sequence, I open up an "Action," then "Browse for vi" on the Module tab and once I select that simple vi mentioned above, Teststand crashes before it's even loaded properly. A screenshot of the error, the error report (which mentions that the problem is with seqedit.exe), as well as the vi in question is attached.

This crash happens every single time I try to load the vi into the sequence. It seems to load ok on our NI machine running Windows XP, but it keeps on crashing on my pc (also running XP, i5 processor 1.85Gb RAM).

Is the problem with the LabView code, Teststand or my pc? I've tried re-installing Teststand but to no avail.

 

Any help is appreciated, and thank you in advance,

 

Sorin

Download All
0 Kudos
Message 1 of 3
(3,927 Views)

Sorin,


It looks like you are using TS 4.2.1 with LV 2010. Can you please check if you have the following patchs installed on your machine

- http://digital.ni.com/public.nsf/allkb/7D728B70F167CE088625776E00582C7B?OpenDocument

 

You will need to install both the TS 4.2.1 and LV 2010 F2 patch.

 

Regards

Anand Jain

National Instruments

0 Kudos
Message 2 of 3
(3,908 Views)
Thank you very much, that did the trick.
0 Kudos
Message 3 of 3
(3,874 Views)