Triggers:Ref:Pattern Match:Pattern Property
- Updated2023-02-21
- 1 minute(s) read
Short Name: RefTrig:PatMatch:Pattern
Property of niHSDIO
Sets the pattern match mask for the Reference trigger. This property is used when the Reference Trigger Type property is set to Pattern match .
The pattern is a string of characters representing the entire pattern to be matched on. Each character corresponds to a particular channel.
- 'X' or 'x': Match on any value
- '1': Match on a logic 1
- '0': Match on a logic 0
- 'R' or 'r': Match on a rising edge
- 'F' or 'f': Match on a falling edge
- 'E' or 'e': Match on either edge
- Spaces are ignored, and are useful for readability to segment long patterns
The rightmost character in the expression corresponds to the lowest numbered physical channel. Ex. 'XXXX XXXX XXXX 1111 1100' specifies to match when channels 0 and 1 are '0' and channels 2-7 are '1'. The values seen by pattern matching are affected by the Data Interpretation property.
This property is only valid for acquisition sessions.
Remarks
The following table lists the characteristics of this property.
Datatype | ![]() |
Permissions | Read/Write |
High-level VIs | niHSDIO Configure Trigger |
Channel-based | No |
Resettable | No |