NI-FGEN LabVIEW VIs

Content Type
Programming Language
Current manual

niFgen Configure Standard Waveform VI

niFgen Configure Standard Waveform VI

Installed With: NI-FGEN

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

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

niFgen Configure Standard Waveform

civrn.gif

Instrument Handle identifies your instrument session.

Instrument Handle is obtained from the niFgen Initialize VI, niFgen Initialize With Options VI, or the niFgen Initialize With Channels VI.

ci32.gif

Waveform specifies the standard waveform that you want the signal generator to produce. NI-FGEN sets the Waveform property to this value.

Input Value Waveform Type
0 Sine
1 Square
2 Triangle
3 Ramp Up
4 Ramp Down
5 DC
6 Noise
7 User
cdbl.gif

Frequency specifies the frequency of the standard waveform that you want the signal generator to produce. NI-FGEN sets the Frequency property to this value, in hertz (Hz).

Note   This parameter does not affect signal generator behavior when you set Waveform to DC. Frequency ranges vary by device.
cdbl.gif

Amplitude specifies the amplitude of the standard waveform that you want the signal generator to produce.

NI-FGEN sets the Amplitude property to this value. 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.
cstr.gif

Channel Name specifies the channel that this VI uses.

cdbl.gif

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 the Start Phase property 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
cdbl.gif

DC Offset specifies the DC offset of the standard waveform that you want the signal generator to produce.

NI-FGEN sets the DC Offset property to this value. 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 (V)

cerrcodeclst.gif

error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

Default value: no error

iivrn.gif

Instrument Handle Out passes a reference to your instrument session to the next VI.

ierrcodeclst.gif

error out contains error information. This output provides standard error out functionality.

Was this information helpful?