NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass data result from one sequence step to another.

I need to gather an offset voltage in one of my sequence steps. Another step later in the sequence uses this offset voltage to set a base level for more measurements. I need to pass the offset voltage to these later steps to create an offset base voltage to use in a formula to calculate a current gain in the positive and negative directions..
0 Kudos
Message 1 of 5
(3,705 Views)
Just pass the value to a local variable.
0 Kudos
Message 2 of 5
(3,688 Views)

Hi,

 

... and also take a look to the "HelloWorld" example the Computer Motherboard Test Sequence.seq 

you will find it in

ProgrammFolder\National Instruments\TestStand 4.0\Examples\Demo\LabVIEW\Computer Motherboard Test

 

juergen

--Signature--
Sessions NI-Week 2017 2016
Feedback or kudos are welcome
0 Kudos
Message 3 of 5
(3,679 Views)
Thanks for the replies. I should have mentioned that I don't have a text programming background and I should have given some more details. I know that I need to pass a local variable from one step to another. What I need to know is how to write the expression properly to pass this variable. When I tried it on my own I passed the offset variable numeric data from a numeric limit test step to a local variable. It passed the data to the local variable but it lost the numeric value for the step I was writing the expression for. This resulted in a "0" numeric value for my initial offset value step that fails this numeric limit test.
0 Kudos
Message 4 of 5
(3,649 Views)
Local variables just don't get 'lost'. Why don't you attach the sequence file and any code modules you are using?
0 Kudos
Message 5 of 5
(3,632 Views)