05-23-2012 12:54 PM
What would be the path to programmatically get references to steps in a sub-sequence of a sequence? - trying to accomplish that in LabVIEW.
Thanks!
Solved! Go to Solution.
05-23-2012 01:37 PM
You can get a reference to any sequence by using RunState.SequenceFile.GetSequenceByName() and pass the name of the sequence you want to acquire a reference to.
For example if you are in the pre-expression of a SequenceCall step you could use RunState.SequenceFile.GetSequenceByName(Step.Module.SeqName) to get a reference to the sequence that is called by that step.
You then have access to arrays of steps inside of each step group (Setup, Main, Cleanup) within that sequence.
05-24-2012 07:21 AM
Kudo!