NI-FGEN C Function Reference

NIFGEN_ATTR_SCRIPT_TO_GENERATE

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

Specific Attribute

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

Description

Specifies which script the generator produces. To configure the generator to run a particular script, set this attribute to the name of the script.

Use the niFgen_WriteScript function to create multiple scripts. 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.

Log in to get a better experience