NIHSDIO_ATTR_START_TRIGGER_TYPE

NI Digital Waveform Generator/Analyzer

NIHSDIO_ATTR_START_TRIGGER_TYPE

Specific Attribute

Data
type
Access Applies to Coercion High-Level Functions
ViInt32 R/W N/A None niHSDIO_ConfigureDigitalEdgeStartTrigger
niHSDIO_ConfigurePatternMatchStartTrigger
niHSDIO_ConfigureSoftwareStartTrigger
niHSDIO_DisableStartTrigger

Description

Use this attribute to specify whether you want the Start trigger to be a digital edge, pattern match, or software trigger. You can also choose NIHSDIO_VAL_NONE as the value for this attribute.

Defined Values:

NIHSDIO_VAL_NONE (28) The data operation starts immediately after you call niHSDIO_Initiate.
NIHSDIO_VAL_DIGITAL_EDGE (29) The data operation does not start until a digital edge is detected. The source of the digital edge is specified with NIHSDIO_ATTR_DIGITAL_EDGE_START_TRIGGER_SOURCE, and the active edge is specified with NIHSDIO_ATTR_DIGITAL_EDGE_START_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_START_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_START_TRIGGER_PATTERN and NIHSDIO_ATTR_PATTERN_MATCH_START_TRIGGER_WHEN. This is valid only for acquisition sessions.