NIFGEN_ATTR_FUNC_WAVEFORM

NI-FGEN C Function

NIFGEN_ATTR_FUNC_WAVEFORM

IviFgenStdFunc Attribute

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

Description

This channel-based attribute 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