Trigger
Quote from mm_dev on 14/04/2023, 12:29The Trigger block conditionally forwards an input stream based on condition flags:
Left hand side Input:
- Stream (data stream that is forwarded)
- Cond (optional stream with condition flags)
Right hand side Output:
- Stream (forwarded data stream)
The Trigger block conditionally forwards an input stream based on condition flags. The basic functionality is identical to the Simple Trigger block, but the regular Trigger block provides additional settings to optimize the condition handling:
- Combine Condition: Specifies the source of the condition flags to evaluate. Can be either the primary Stream input, the optional Cond input or a logical combination of both.
- Channel: Specifies which condition channel(s) should be evaluated.
- Prefix: Number of samples to include in the forwarded data before the condition triggered.
- Postfix: Number of samples to include in the forwarded data after the condition triggered.
- Min Samples: Number of samples where the configured condition must be active before data is forwarded (to avoid triggering on unwanted short pulses)
- Max Skip: Number of samples where the configured condition can be inactive before data forwarding is stopped.
- Edge: How the condition flag should be evaluated: "low" fowards data when the condition is inactive, "high" when it is active, "rising" / "falling" / "both" only when its state changes.
- Mode: Controls when conditions are evaluated: "free" disables condition processing and always forwards, "off" never forwards, "once" only forwards the first time the condition is triggered and then changes to "off", while "repeat" and "continous" will rearm the trigger ("continous" will treat the output as a continous stream, while "repeat" will treat each trigger event as a new stream, which can be evaluated for example by the File Writer block to record each event in a new file).
Typical Mission:
The Trigger block conditionally forwards an input stream based on condition flags:
Left hand side Input:
- Stream (data stream that is forwarded)
- Cond (optional stream with condition flags)
Right hand side Output:
- Stream (forwarded data stream)
The Trigger block conditionally forwards an input stream based on condition flags. The basic functionality is identical to the Simple Trigger block, but the regular Trigger block provides additional settings to optimize the condition handling:
- Combine Condition: Specifies the source of the condition flags to evaluate. Can be either the primary Stream input, the optional Cond input or a logical combination of both.
- Channel: Specifies which condition channel(s) should be evaluated.
- Prefix: Number of samples to include in the forwarded data before the condition triggered.
- Postfix: Number of samples to include in the forwarded data after the condition triggered.
- Min Samples: Number of samples where the configured condition must be active before data is forwarded (to avoid triggering on unwanted short pulses)
- Max Skip: Number of samples where the configured condition can be inactive before data forwarding is stopped.
- Edge: How the condition flag should be evaluated: "low" fowards data when the condition is inactive, "high" when it is active, "rising" / "falling" / "both" only when its state changes.
- Mode: Controls when conditions are evaluated: "free" disables condition processing and always forwards, "off" never forwards, "once" only forwards the first time the condition is triggered and then changes to "off", while "repeat" and "continous" will rearm the trigger ("continous" will treat the output as a continous stream, while "repeat" will treat each trigger event as a new stream, which can be evaluated for example by the File Writer block to record each event in a new file).
Typical Mission:
Quote from AdminTC on 01/03/2024, 11:56Check out the training PDF at https://v6-forum.aaronia.de/forum/topic/exercise-conditional-channels-between-spectrum-condition-and-trigger-block/
Check out the training PDF at https://v6-forum.aaronia.de/forum/topic/exercise-conditional-channels-between-spectrum-condition-and-trigger-block/