01-19-2011 09:45 AM
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
01-20-2011 12:19 AM
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
01-21-2011 11:55 AM