NIFGEN_ATTR_SCRIPT_TO_GENERATE

NI-FGEN C Function

NIFGEN_ATTR_SCRIPT_TO_GENERATE

Specific Attribute

Data
type
Access Applies to Coercion High Level Functions
ViString R/W Yes None None

Description

This attribute identifies which script the generator produces. You can create multiple scripts using the niFgen_WriteScript function. To configure the generator to run a particular script, set this attribute to the name of the script.

Use this property only when the NIFGEN_ATTR_OUTPUT_MODE attribute is set to NIFGEN_VAL_OUTPUT_SCRIPT.

Note  You cannot change this attribute while the device is generating a waveform. If you want to change the device configuration, call the niFgen_AbortGeneration function or wait for the generation to complete.