Creates an onboard waveform from WDT data for use in Arbitrary Waveform or Arbitrary Sequence output mode. The Waveform Handle returned by the VI can be used later for setting the active waveform, changing the data in the waveform, building sequences of waveforms, or deleting the waveform when it is no longer needed.

Note The data must be between -1.0 and +1.0. Use the Gain parameter of the niFgen Configure Arbitrary Waveform VI or the niFgen Configure Arbitrary Sequence VI to generate different voltages.
Note You can set Use Waveform dT for Sample Rate to TRUE to obtain rate information from the waveform, using the inverse of the dT as the rate. If Use Waveform dT for Rate is set to FALSE, the sample rate you set by calling the niFgen Set Sample Rate VI or by setting the Sample Rate property is used as the sample rate. If no sample rate is set, the default sample rate is used.


icon

Inputs/Outputs

  • cbool.png Use Waveform dT for Sample Rate

    Use Waveform dT for Sample Rate specifies whether the sample rate should be set to match the sampling information contained in the Waveform parameter.

  • 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.

  • cmsdt.png Waveform

    Waveform specifies the data you want to use for the arbitrary waveform.

  • 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

  • iivrn.png Instrument Handle Out

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

  • ii32.png Waveform Handle

    Waveform Handle returns a handle that identifies the waveform.

  • ierrcodeclst.png error out

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