NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Where can I find a variable in Veristand to see if RT-Sequence is finished?

Hey,

 

do anybody know where I can find a variable in Veristand which says if a RT- sequence is finished running or not?

I´ve got a runtime problem in Teststand and want to creat a Do While-loop to make sure that the Veristand sequence is finished and that not till than TestStand executes the next step.

 

Thanks

 

Carlos

 

0 Kudos
Message 1 of 5
(3,943 Views)

Hello Carlos,

 

you can try the Get Model Execution State.vi or the Get System State.vi in a step to get the information.

 

Also nice, but not the such a function included NI VeriStand Add-on: Custom NI VeriStand Steps for NI TestStand

 

I hope this helps.

best regards
Alexander
0 Kudos
Message 2 of 5
(3,920 Views)

Hi Carlos

 

I’ve used a dotNET step within a Do While to check the state of a running stimulus profile.  Need to open the reference to the Stimulus Profile first using a separate dotNET step. See my TestStand 2012 example (VS_StimProfileChecks.seq).

 

Assembly:  NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi(2012.0.0.0)

.NET Invocation: Use Existing Object(NationalInstruments.VeriStand.StimulusProfileDefinitionApi.StimulusProfile).State

 

 

Best Regards,

 

Todd - Digalog Systems Inc.

0 Kudos
Message 3 of 5
(3,910 Views)

Hey Alexander, hey Todd,

 

thank you both for your solutions!

I´m trying right now to reproduce your sequence, Todd, and it is working so far till the execution of the Action-Step "Open Project Reference". I get an error there... I changed the project-path to where my Engine Demo.nivsprof is located but it still doesn´t work. Do you know if I have to make other changes to get it work?

Thanks!

 

Best regards

Carlos

0 Kudos
Message 4 of 5
(3,885 Views)

Hello Carlos,

 

the demo project starts on my system with this path

 

C:\\Users\\Public\\Documents\\National Instruments\\NI VeriStand 2012\\Examples\\Stimulus Profile\\Engine Demo\\Engine Demo.nivsproj

 

for the stimulus i used this path

 

C:\\Users\\Public\\Documents\\National Instruments\\NI VeriStand 2012\\Examples\\Stimulus Profile\\Engine Demo\\Stimulus Profiles\\Basic Engine Demo\\Engine Demo Basics.nivsstimprof

 

I hope it helps the paths are to the standart demo project from Veristand

best regards
Alexander
0 Kudos
Message 5 of 5
(3,859 Views)