NI-FGEN LabVIEW VIs

Content Type
Programming Language
Current manual

niFgen Configure Arbitrary Sequence VI

niFgen Configure Arbitrary Sequence VI

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

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

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.

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?