NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Unknown System Error in TestStand - Set Property Value (String).vi-

Well I had a great Teststand program running and I had to stop it by killing the thread because of a vi that was running wild. After doing this I now cannot get any of the Teststand vi's to run properly without giving an error above. How can I fix this or what do I need to reinstall?

 

Unknown System Error in TestStand - Set Property Value (String).vi-> ERROR 97

 

 

Bill Lewis
0 Kudos
Message 1 of 2
(4,590 Views)
Hello bill_lewis 

 

Error 97 usually indicates that LabVIEW is trying to access the TestStand Sequence Context, but is not receiving the correct context value.  The three most common causes for this error are listed below.
 
1. Configure step to pass the sequence context (TestStand 3.5 and earlier)

The step that calls this VI is not configured to pass the Sequence Context. Therefore, the VI is not obtaining the correct Sequence Context that it needs. To fix this problem, simply right-click on the step that calls this VI, select "Specify Module" from the right-click menu, and check the box for "Sequence Context ActiveX Pointer".

2. Connect the Sequence Context Control to the LabVIEW connector pane

To pass the sequence context to the LabVIEW code module, you need to have a Sequence Context Control on the front panel of the VI.  The Sequence Context Control will need to be connected to the connector terminal of the VI. 

3. Pass the correct value to the code module (TestStand 4.0)

The step that calls the VI may be passing the wrong sequence value.  Select the step and configure the input value for the "Sequence Control" as shown below.  The value of the Sequence Context parameter needs to be "ThisContext".  Note that selecting the "default" input will use the default value of the VI control, which is normally a blank context. 

(The image shown is for configuring the "Run VI Asynchronously" step.  This will look slightly different if using a different step, such as the "Action" step.)

 

 

0 Kudos
Message 2 of 2
(4,553 Views)