NI-FGEN C Function Reference

NIFGEN_ATTR_ARB_OFFSET

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

IviFgenArbWfm Attribute

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

Description

Specifies the value that the signal generator adds to the arbitrary waveform data. When you create arbitrary waveforms, you must first normalize the data points to the range –1.0 to +1.0. Use this channel–based attribute to shift the arbitrary waveform range. For example, when you set this attribute to 1.0, the output signal ranges from 2.0 V to 0.0 V.

Use this attribute when the NIFGEN_ATTR_OUTPUT_MODE attribute is set to NIFGEN_VAL_OUTPUT_ARB, NIFGEN_VAL_OUTPUT_SCRIPT, or NIFGEN_VAL_OUTPUT_SEQ.

Units: volts