NIHSDIO_ATTR_REPEAT_MODE
Specific Attribute
Data type |
Access | Applies to | Coercion | High-Level Functions |
---|---|---|---|---|
ViInt32 | R/W | N/A | None | niHSDIO_ConfigureGenerationRepeat |
Description
Use this attribute to specify whether or not to generate a single waveform continuously. This attribute is valid only when NIHSDIO_ATTR_GENERATION_MODE is set to NIHSDIO_VAL_WAVEFORM; it is not used when in scripted mode. If this attribute is set to NIHSDIO_VAL_FINITE, then use NIHSDIO_ATTR_REPEAT_COUNT to specify how many times the named waveform is generated.
This attribute is valid only for generation sessions.
Defined Values:
NIHSDIO_VAL_FINITE (16) | Calling niHSDIO_Initiate generates the named waveform a finite number of times. The number to repeat is defined by NIHSDIO_ATTR_REPEAT_COUNT. |
NIHSDIO_VAL_CONTINUOUS (17) | Calling niHSDIO_InitGenerationSession generates the named waveform continuously (until niHSDIO_Abort is called). |