Controlling the Execution of a Project
When you execute, or run, a LabVIEW SignalExpress project, LabVIEW SignalExpress executes all the steps that the project contains at least once. You can control the execution of a project by ordering steps in the Project View to create execution dependencies, configuring the run mode of a project, using Execution Control steps, or using hardware.
Controlling Project Execution by Ordering Steps
The order in which steps execute partially depends on the order in which they appear in the Project View. Steps that inherit signals from other steps execute sequentially. For example, steps that provide output signals must appear in the Project View before steps that require those signals as inputs. A step that receives a signal has an execution dependency on the step that sends the signal. LabVIEW SignalExpress draws blue execution loops around groups of steps with mutual execution dependencies.
Controlling Project Execution by Configuring Run Modes
You can configure how many times an entire project runs by configuring the run mode for the project. You can configure LabVIEW SignalExpress to run a project once, for a number of iterations you specify, or for an amount of time you specify.
Controlling Execution with Steps
You can use the following Execution Control steps to control the execution of some or all steps in a project:
- Sweep—Iterates a set of steps the number of times you specify.
- Conditional Repeat—Iterates a set of steps until a specified condition occurs.
- Trigger—Sets a trigger condition and returns a section of a continuous signal when the condition occurs.
- Sequence—Pauses and resumes execution of steps in a project based on the configuration you specify. The Sequence step can pause the execution of a step without stopping the execution of the entire project. Because the Sequence step can pause the execution of other steps, you can use the Sequence step to allow multiple steps in the same project to use the same hardware.
Controlling Execution with Hardware
You can use the triggering functionality of various instruments to control the execution of steps or a project. Use the Acquire Signals or Generate Signals steps to configure triggers when you use hardware with LabVIEW SignalExpress.