Trigger and Gate
- Updated2025-07-30
- 6 minute(s) read
Uses triggering to extract a segment out of a signal. The trigger conditions can be based on a start or stop trigger threshold or can be static. When a trigger condition is static, the trigger occurs immediately and this Express VI returns a predefined number of samples.

Dialog Box Options
| Option | Description |
|---|---|
| Start Trigger | Contains the following options:
|
| Stop Trigger | Contains the following options:
|
| General | Contains the following options:
|
| Output segment size | Contains the following options:
|
| Input Signal | Displays the input signal. If you wire data to the Express VI and run it, Input Signal displays real data. If you close and reopen the Express VI, Input Signal displays sample data until you run the Express VI again.
|
| Results Preview | Displays a preview of the measurement. The Results Preview plot indicates the value of the selected measurement with a dotted line. If you wire data to the Express VI and run the VI, Results Preview displays real data. If you close and reopen the Express VI, Results Preview displays sample data until you run the VI again. If the cutoff frequency values are invalid, Results Preview does not display valid data. |
Inputs/Outputs
error in (no error)
—
Describes error conditions that occur before this node runs.
Signals
—
Contains the input signal or signals.
Reset
—
Controls the initialization of the internal state of the VI. The default is FALSE.
Data Index
—
Contains the index of the detected trigger. If this Express VI is in a loop, wire Data Index to the iteration terminal of the loop.
Manual Trigger
—
Starts the trigger immediately and overrides the Start Trigger settings you configure. The default is FALSE.
Data Available
—
Indicates if data is available that meets the requirements of the trigger.
error out
—
Contains error information. This output provides standard error out functionality.
Previous Signals
—
Contains the last triggered output data. If no data meets the requirements of the trigger, this output contains the most recent segment that meet the requirements of the trigger.
Triggered Signals
—
Returns the resulting segment between Start Trigger and Stop Trigger. If no data meets the requirements of the trigger, this output returns an empty signal. |
error in (no error)
—
Signals
—
Reset
—
Data Index
—
Data Available
—
error out
—
Previous Signals
—