NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Variables not updating

I created a step with an action to run a vi.  The vi returns a variable and I store it into a local.  This functions properly.  I then added another step that calls the same vi and want to store the return value over the previous value stored in the local.  It returns the same value from the previous call of the vi.  Not sure how to remedy this.  Very new to teststand

0 Kudos
Message 1 of 4
(702 Views)

Can you send a screenshot of what you are seeing?

 

If you pause TestStand immediately after the second call and look at the Locals variable is it set to the wrong thing?

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 4
(673 Views)

It does the next action but does not return the values.  It updates to the previous calls values.  Almost like the previous call to the vi does not unload.

0 Kudos
Message 3 of 4
(614 Views)

It sounds like the VI isn't running properly.  What if you just run the step by itself?  Does it return the values?

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 4 of 4
(606 Views)