niFgen Configure Arbitrary Sequence 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 signal generator properties that affect arbitrary sequence generation. This VI selects the arbitrary sequence 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 to Arbitrary Sequence using the niFgen Configure Output Mode VI before calling this VI.

niFgen Configure Arbitrary Sequence

/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

Sequence Handle specifies the handle of the arbitrary sequence to produce.

You can create multiple arbitrary sequences using the niFgen Create Arbitrary Sequence VI or the niFgen Create Advanced Arb Sequence VI. These VIs return a handle that you use to identify each sequence. Specify a value of -1 to clear all sequences.

/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