niFgen Configure Arbitrary Waveform VI

NI Signal Generators Help (NI-FGEN 18.1)

Edition Date: April 2018

Part Number: 370524V-01

»View Product Info
Download Help (Windows Only)
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

/images/reference/en-XX/help/370524V-01/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.

/images/reference/en-XX/help/370524V-01/cstr.gif

Channel Name specifies the channel that this VI uses.

/images/reference/en-XX/help/370524V-01/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.

/images/reference/en-XX/help/370524V-01/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)

/images/reference/en-XX/help/370524V-01/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

/images/reference/en-XX/help/370524V-01/cerrcodeclst.gif

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

Default value: no error

/images/reference/en-XX/help/370524V-01/iivrn.gif

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

/images/reference/en-XX/help/370524V-01/ierrcodeclst.gif

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

WAS THIS ARTICLE HELPFUL?

Not Helpful