05-17-2008 01:00 AM
Solved! Go to Solution.
05-18-2008
03:14 PM
- last edited on
10-21-2024
05:05 PM
by
Content Cleaner
Hi Praveen,
The functionality you are looking for can be implemented using the Goto Step Type as well as other Flow Control Step Types. These steps modify the flow of execution and are used to logically organize the order of execution within your sequences. The RunState.NextStepIndex and RunState.StepGroup properties can also be used directly to precisely control what step will be next in the flow of execution.
While it is true that you can use these methods to implement the functionality of an interrupt, I would highly recommend using a subsequence with a precondition that evaluates the boolean values from the step you mentioned. This option is more modular and abstract, is easier to visually inspect, increases the flexibility of your code, and is much easier to debug. After the execution of a called subsequence, execution returns to the calling sequenced and continues where it left off.
If there is a particular reason that this preferred solution doesn't satisfy your application, please post back more information about your application as well as what functionality you are needing that is not met using a subsequence.
Thanks!
Evan Prothro
RF Systems Engineer | NI
05-18-2008 10:57 PM
05-19-2008 12:21 AM
Evan Prothro
RF Systems Engineer | NI