niFgen Configure Standard Waveform

LabView FGEN

niFgen Configure Standard Waveform

Configures the properties of the signal generator that affect standard waveform generation. These properties are the waveform, amplitude, DC offset, frequency, and start phase.

Notes:You must set Output Mode to Standard Function using niFgen Configure Output Mode VI before calling this VI.

Instrument Handle identifies your instrument session. Instrument Handle was obtained from the niFgen Initialize VI or niFgen Initialize With Options VI.
Waveform specifies the standard waveform that you want the signal generator to produce. NI-FGEN sets Waveform to this value.
Frequency specifies the frequency of the standard waveform that you want the signal generator to produce. NI-FGEN sets Frequency to this value (in hertz).
Note   This parameter does not affect signal generator behavior when you set Waveform to DC.

Frequency ranges vary from device to device.
Amplitude specifies the amplitude of the standard waveform that you want the signal generator to produce. This value is the amplitude at the output terminal.
For example, to produce a waveform ranging from -5.00 V to +5.00 V, set Amplitude to 10.00 V. Units: Vpk-pk

Note  This parameter does not affect signal generator behavior when you set Waveform Type to DC.
Channel Name specifies the channel this VI uses.
Start Phase specifies the horizontal offset of the standard waveform that you want the signal generator to produce. Specify this parameter in degrees of one waveform cycle. NI-FGEN sets Start Phase to this value (measured in degrees of one cycle). A start phase of 180 degrees means output generation begins halfway through the waveform. A start phase of 360 degrees offsets the output by an entire waveform cycle and is therefore identical to a start phase of 0 degrees.
Note  This parameter does not affect signal generator behavior when you set the waveform parameter to DC.
DC Offset specifies the DC offset of the standard waveform that you want the signal generator to produce. This value is the offset at the output terminal. The value is the offset from ground to the center of the waveform you specify with the Waveform parameter.

For example, to configure a waveform with an amplitude of 10.00 V to range from 0.00 V to +10.00 V, set the DC Offset to 5.00 V.

Units: volts

error in describes error conditions that occur before this VI or function runs.
status is TRUE (X) if an error occurred before this VI or function ran or FALSE (checkmark) to indicate a warning or that no error occurred before this VI or function ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a negative error code. If status is FALSE, code is 0 or a warning code.
source identifies where an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.
Instrument Handle Out passes a reference to your instrument session to the next VI.
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source identifies where and why an error occurred. The source string includes the name of the VI that produced the error, what inputs are in error, and how to eliminate the error.