NI-FGEN LabVIEW VIs

Content Type
Programming Language
Current manual

niFgen Set Waveform Next Write Position VI

niFgen Set Waveform Next Write Position VI

Installed With: NI-FGEN

Sets the position in the waveform at which data is written during the next write. This VI allows you to write to arbitrary locations within the waveform. These settings apply only to the next write to the waveform specified by the Waveform Handle parameter. Subsequent writes to that waveform begin where the last write left off, unless this VI is called again. The Waveform Handle passed in must have been created by a call to the niFgen Allocate Waveform VI or the niFgen Clear Arbitrary Waveform VI.

niFgen Set Waveform Next Write Position

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 specifies the handle of the arbitrary waveform previously allocated with the niFgen Allocate Waveform VI.

ci32.gif

Relative To specifies the reference position in the waveform. This position and Offset together determine where to start loading data into the waveform.

Input Value Input Name Description
0 NIFGEN_VAL_WAVEFORM_POSITION_CURRENT The reference position is relative to the current position.
1 NIFGEN_VAL_WAVEFORM_POSITION_START The reference position is relative to the start of the waveform.
ci32.gif

Offset specifies the offset from the Relative To parameter at which to start loading the data into the waveform.

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.

ii32.gif

Waveform Handle Out returns the handle that identifies the waveform.

ierrcodeclst.gif

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

Was this information helpful?