NI-FGEN C Function Reference

NIFGEN_ATTR_ARB_WAVEFORM_HANDLE

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

IviFgenArbWfm Attribute

Numeric Value Data Type Access Applies to Coercion High-Level Functions
1250201 ViInt32 R/W Channel None niFgen_ConfigureArbWaveform

Description

Selects which arbitrary waveform the signal generator produces. You can create multiple arbitrary waveforms using one of the following niFgen Create Waveform functions:

These functions return a handle that you can use to identify the particular waveform. To configure the signal generator to produce a particular waveform, set this channel–based attribute to the waveform handle.

Use this attribute only when the NIFGEN_ATTR_OUTPUT_MODE attribute is set to NIFGEN_VAL_OUTPUT_ARB.

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