NI-HSDIO C Function Reference

NIHSDIO_ATTR_REPEAT_MODE

  • Updated2023-02-21
  • 1 minute(s) read

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 the niHSDIO_Initiate function 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 the niHSDIO_InitGenerationSession function generates the named waveform continuously (until the niHSDIO_Abort function is called).

Related topics:

Log in to get a better experience