NIHSDIO_ATTR_REF_TRIGGER_TYPE
Specific Attribute
Data type |
Access | Applies to | Coercion | High-Level Functions |
---|---|---|---|---|
ViInt32 | R/W | N/A | None |
niHSDIO_ConfigureDigitalEdgeRefTrigger niHSDIO_ConfigurePatternMatchRefTrigger niHSDIO_ConfigureSoftwareRefTrigger niHSDIO_DisableRefTrigger |
Description
Specifies the Reference trigger type. Depending on this attribute value, you may need to set more attributes to fully configure the trigger.
This attribute is valid only for acquisition sessions.
Defined Values:
NIHSDIO_VAL_NONE (28) | The acquisition operation does not have a Reference trigger. The data operation starts immediately after you call niHSDIO_Initiate and after the Start trigger, if configured, asserts. |
NIHSDIO_VAL_DIGITAL_EDGE (29) | The Reference trigger asserts when a digital edge is detected. The source of the digital edge is specified with NIHSDIO_ATTR_DIGITAL_EDGE_REF_TRIGGER_SOURCE, and the active edge is specified with NIHSDIO_ATTR_DIGITAL_EDGE_REF_TRIGGER_EDGE. |
NIHSDIO_VAL_SOFTWARE (32) | The data operation does not start until a software trigger occurs. You can assert the software trigger by calling niHSDIO_SendSoftwareEdgeTrigger with NIHSDIO_VAL_REF_TRIGGER as the trigger name. |
NIHSDIO_VAL_PATTERN_MATCH (31) | The data operation does not take effect until a specific data pattern matching condition is met. Configure the condition by setting NIHSDIO_ATTR_PATTERN_MATCH_REF_TRIGGER_PATTERN and NIHSDIO_ATTR_PATTERN_MATCH_REF_TRIGGER_WHEN. This is valid only for acquisition sessions. |