Description
The Signal Trigger monitors an electrical signal and activates when a specified condition is met. It can be used to detect events such as rising or falling edges in digital signals to trigger actions in connected components such as sensors.
Example Use Cases
- Sensor Triggering: Activate a sensor capture on a clock edge from a Signal Generator.
- Event Detection: Detect specific signal states to initiate downstream processing.
- Synchronization: Coordinate actions across multiple components based on signal transitions.
Module Implementation
The trigger monitors an input electrical signal and sets the IsTriggered flag when both the signal state and control type match the configured conditions.
Trigger Conditions
The trigger activates when:
- The input signal state matches the configured
TriggerCondition(e.g., Rising Edge, Falling Edge, High, Low) - The input signal control type matches the configured
TrackedControlType(Voltage or Current)
When attached to a Sensor, the trigger automatically registers itself to enable signal-based sensor activation.
Assumptions/Limitations
- The trigger is evaluated once per simulation step; very fast signals may require smaller time steps.
- The trigger state is only true for the duration that the condition is met; it resets when the condition is no longer satisfied.