Configure Multi-Sample Pattern Match Reference Trigger (U32)
- Updated2023-02-17
- 3 minute(s) read
Configure Multi-Sample Pattern Match Reference Trigger (U32)
Configures the Reference trigger for multi-sample pattern match triggering.
You can configure up to 32 channels with patterns of up to 10 samples per channel with this node. For the channels specified in the channel list parameter, the pattern must match each pattern element specified in the pattern array parameter on consecutive clock cycles. After the last pattern element in the pattern array parameter is matched, the Reference trigger is asserted.
This node is valid only for acquisition sessions.
Inputs/Outputs

channel list
The channels that are configured for pattern matching using the pattern array value.

session in
Instrument session obtained from the Initialize Acquisition Sessionnode, the Initialize Generation Sessionnode, or the Initialize External Calibrationnode.

error in
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Default value: No error

pattern array
The binary multi-sample pattern that activates the pattern match trigger. The first element in the array corresponds to the first pattern acquired.
Bits on channels not specified in channel list are ignored.
The following example searches for ten consecutive samples on channel 0:
| Sample 0 | 0x0 |
| Sample 1 | 0x1 |
| Sample ... | ... |
| Sample 8 | 0x0 |
| Sample 9 | 0x1 |
The following example searches for ten consecutive samples on channels 0 to 19:
| Sample 0 | 0xABCDE |
| Sample 1 | 0xFFFFF |
| Sample ... | ... |
| Sample 8 | 0xFFFFF |
| Sample 9 | 0xABCDE |

pretrigger samples
The number of pretrigger samples the device must receive before the Reference trigger is acknowledged.
Default value: 500

session out
Handle that identifies the session in all subsequent node calls.
The session out parameter is obtained from the Initialize Acquisition Sessionnode or the Initialize Generation Sessionnode.

error out
Error information.
The node produces this output according to standard error behavior.