NI-HSDIO Properties

Table of Contents
Product DocumentationNI-HSDIO Properties...niHSDIO PropertiesTriggers:Ref:Pattern Match:Pattern PropertyCurrent page
Table of Contents

Triggers:Ref:Pattern Match:Pattern Property

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 string
PermissionsRead/Write
High-level VIs niHSDIO Configure Trigger
Channel-based No
ResettableNo
In This Section
Was this information helpful?

Log in to get a better experience