Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

RE: Accessing RunState Sequence Variables

$
0
0

Hi all,

I'm looking to access the run-state variables of a sequence prior to calling it and wanted to know if this can be done. The overall objective is to disable tracing into specified sub-sequences while retaining the execution arrow within 'MainSequence'.

 

I am aware of 'RunState.Engine.StationOptions.TracingEnabled' and 'RunState.Execution.TracingDisabled', while these can be used to disable tracing into sub-sequences they cause the execution arrow to remain on it's current step until the execution is complete.

 

Each sub-sequence has the 'RunState.Tracing' variable which can be used to disable the tracing of that sequence alone. Given that 'RunState' this is a recursive property, is it possible to access this variable from the calling sequence? 

 

Thanks Smiley Happy

Nick

 

 


Viewing all articles
Browse latest Browse all 6524

Trending Articles