NI-FGEN LabVIEW VIs

Content Type
Programming Language
Current manual

niFgen Configure Arbitrary Waveform VI

niFgen Configure Arbitrary Waveform VI

Installed With: NI-FGEN

Configures the properties of the signal generator that affect arbitrary waveform generation. Selects the arbitrary waveform to produce and sets the gain and offset.

Note  The signal generator must not be in the Generating state when you call this VI.
Note  You must set Output Mode parameter of the niFgen Configure Output Mode VI to Arbitrary Waveform before calling this VI.

niFgen Configure Arbitrary 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.

cstr.gif

Channel Name specifies the channel that this VI uses.

ci32.gif

Waveform Handle selects the arbitrary waveform to produce.

You can create multiple arbitrary waveforms using the niFgen Create Waveform (poly) VI, which returns a handle that you use to identify each waveform.

cdbl.gif

Offset specifies the value the signal generator adds to the arbitrary waveform.

When you create an arbitrary waveform, you must first normalize the data points to a range of -1.00 to +1.00. You can use this parameter to shift the range of the arbitrary waveform.

For example, to configure the output signal to range from 0.00 V to 2.00 V instead of -1.00 V to 1.00 V, set Offset to 1.00.

Units: volts (V)

cdbl.gif

Gain specifies the factor by which the signal generator scales the arbitrary waveforms in the sequence.

When you create an arbitrary waveform, you must first normalize the data points to a range of -1.00 to +1.00. You can use this parameter to scale the waveform to other ranges. The gain is applied before the offset is added.

For example, to configure the output signal to range from -2.00 V to +2.00 V, set Gain to 2.00.

Units: unitless

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?