NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

RunState.Root.Locals.StartDate usage

We have some steps in our sequence files that call LabVIEW VIs and one of the parameters we (try to) pass down is the start time and date of the test.  From previous discussions, I found that I needed to use the RunState.Root.Locals.StartDate.Text, .ShortText, .Year, etc, to send this information down.  What we found, however, is that if we run all tests using "Test UUTs", the date/time info seems to get passed down fine.  If we Run Selected Steps using Single Pass, it blows up, complaining that it knows not about RunState.Root.Locals.StartDate.Text. 
 
Why would these Runtime values only be valid from the Test UUTs.  If that's the way it is, does anyone have a work around?
0 Kudos
Message 1 of 2
(3,541 Views)
mrbean,
I ran a simple sequence with Run Selected Steps using Single Pass and set a breakpoint in my sequence and I do see the StartDate variables you describe.  So, I think some other information is missing in your problem.  Did the process model get modified?  Are you certain that "using Single Pass" was selected (the problem you describe will occure if it is just Run Select Steps)?  What process model are you using (I ran in the default sequential one)?
0 Kudos
Message 2 of 2
(3,536 Views)