NI-FGEN C Function Reference

NIFGEN_ATTR_FUNC_WAVEFORM

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

IviFgenStdFunc Attribute

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

Description

Specifies which standard waveform the signal generator produces.

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

Defined Values

NIFGEN_VAL_WFM_SINE Sinusoid waveform
NIFGEN_VAL_WFM_SQUARE Square waveform
NIFGEN_VAL_WFM_TRIANGLE Triangle waveform
NIFGEN_VAL_WFM_RAMP_UP Positive ramp waveform
NIFGEN_VAL_WFM_RAMP_DOWN Negative ramp waveform
NIFGEN_VAL_WFM_DC Constant voltage
NIFGEN_VAL_WFM_NOISE White noise
NIFGEN_VAL_WFM_USER User-defined waveform as defined with the niFgen_DefineUserStandardWaveform function

Default Value: NIFGEN_VAL_WFM_SINE

Log in to get a better experience