NIHSDIO_ATTR_ADVANCE_TRIGGER_TYPE
Specific Attribute
Data type |
Access | Applies to | Coercion | High-Level Functions |
---|---|---|---|---|
ViInt32 | R/W | N/A | None | niHSDIO_ConfigureDigitalEdgeAdvanceTrigger niHSDIO_ConfigurePatternMatchAdvanceTrigger niHSDIO_ConfigureSoftwareAdvanceTrigger niHSDIO_DisableAdvanceTrigger |
Description
Use this attribute to specify whether you want the Advance trigger to be a digital edge, pattern match, or software trigger. You can also choose NIHSDIO_VAL_NONE as the value for this attribute.
The Advance trigger is used only in acquisition sessions.
Defined Values:
NIHSDIO_VAL_NONE (28) | No Advance trigger is configured. |
NIHSDIO_VAL_DIGITAL_EDGE (29) | The Advance trigger is not asserted until a digital edge is detected. The source of the digital edge is specified with NIHSDIO_ATTR_DIGITAL_EDGE_ADVANCE_TRIGGER_SOURCE, and the active edge is specified with NIHSDIO_ATTR_DIGITAL_EDGE_ADVANCE_TRIGGER_EDGE. |
NIHSDIO_VAL_SOFTWARE (32) | The Advance trigger is not asserted until a software trigger occurs. You can assert the software trigger by calling the niHSDIO_SendSoftwareEdgeTrigger function with NIHSDIO_VAL_START_TRIGGER as the trigger name. |
NIHSDIO_VAL_PATTERN_MATCH (31) | The Advance trigger is asserted when a specific data pattern matching condition is met. Configure the condition by setting NIHSDIO_ATTR_PATTERN_MATCH_ADVANCE_TRIGGER_PATTERN and NIHSDIO_ATTR_PATTERN_MATCH_ADVANCE_TRIGGER_WHEN. |