Details
The types of match values include:
• channel.MATCH_EXACT or 1
• channel.MATCH_ANY or 2 (not available for totalizer channels)
• channel.MATCH_NOT_EXACT or 3 (not available for totalizer channels)
• channel.MATCH_NONE or 4
For an exact match, the state match indicator only becomes true when the match value and match
mask value equal the channel read value.
For an any match, the state match indicator only becomes true when the match value or match mask
value equals the channel read value.
For a not exact match, the state match indicator only becomes true when the match value and match
mask value and channel read value are not equal to the match value and match mask value and last
channel read value. In other words, the match value should be the present value, and if the value
changes at all away from the original value, a match is declared.
For none, matching is disabled.
For totalizer channels, only match exact and match none are supported.
This command is not supported on DAC, backplane, and switch channels.
Example