Trigger
- Updated2023-02-17
- 2 minute(s) read
Trigger
Detects changes of the input signal during a control or simulation process.
Inputs/Outputs

reset
A Boolean or a Boolean array that determines whether to set triggered to False and store the current trigger signal.
| True | Sets triggered to False and stores the current trigger signal. |
| False | Does not set triggered to False or store the current trigger signal. |
Default value: False

trigger signal
Input signal.
This input accepts a double-precision, floating-point number or an array of double-precision, floating-point numbers.

trigger type
Type of changes to the input signal that sets triggered to True.
This input accepts a ring or an array of rings.
| rising | 0 | Sets triggered to True when the input signal crosses threshold on a rising slope. |
| falling | 1 | Sets triggered to True when the input signal crosses threshold on a falling slope. |
| either | 2 | Sets triggered to True when the input signal crosses threshold on either a rising or a falling slope. |
Default value: rising

threshold
Threshold to start the measurement.
This input accepts a double-precision, floating-point number or an array of double-precision, floating-point numbers.
Default value: 0

triggered?
A Boolean or a Boolean array that indicates whether the last two points in trigger signal meet the conditions you set in trigger type.
| True | The last two points in trigger signal meet the conditions you set in trigger type. |
| False | The last two points in trigger signal do not meet the conditions you set in trigger type. |