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.


icon

Inputs/Outputs

  • cu16.png Relative To

    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.
  • civrn.png Instrument Handle

    Instrument Handle identifies a particular instrument session.

    Instrument Handle is obtained from the niFgen Initialize VI, niFgen Initialize With Options VI, or the niFgen Initialize With Channels VI.

  • cstr.png Channel Name

    Channel Name specifies the channel that this VI uses.

  • ci32.png Waveform Handle

    Waveform Handle specifies the handle of the arbitrary waveform previously allocated with the niFgen Allocate Waveform VI.

  • cerrcodeclst.png error in (no error)

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

    Default value: no error

  • ci32.png Offset

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

  • iivrn.png Instrument Handle Out

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

  • ii32.png Waveform Handle Out

    Waveform Handle Out returns the handle that identifies the waveform.

  • ierrcodeclst.png error out

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