NIHSDIO_ATTR_GENERATION_MODE

NI Digital Waveform Generator/Analyzer

NIHSDIO_ATTR_GENERATION_MODE

Specific Attribute

Data
type
Access Applies to Coercion High-Level Functions
ViInt32 R/W N/A None niHSDIO_ConfigureGenerationMode

Description

Use this attribute to specify whether to generate the waveform specified by NIHSDIO_ATTR_WAVEFORM_TO_GENERATE or the script specified by NIHSDIO_ATTR_SCRIPT_TO_GENERATE upon calling niHSDIO_Initiate.

This attribute is valid only for generation sessions.

Defined Values:

NIHSDIO_VAL_WAVEFORM (14) Calling niHSDIO_Initiate generates the named waveform represented by NIHSDIO_ATTR_WAVEFORM_TO_GENERATE.
NIHSDIO_VAL_SCRIPTED (15) Calling niHSDIO_Initiate generates the script represented by NIHSDIO_ATTR_SCRIPT_TO_GENERATE.