Admin Production ni-theme
Current Publication

Create Arbitrary Waveform

IVI Compliance Package

IviFgen Create Arbitrary Waveform

IviFgenArbWfm Capability Group [ARB]

This VI creates an arbitrary waveform and returns a handle that identifies that waveform. You pass this handle to the IviFgen Configure Arbitrary Waveform [ARB] VI to produce that waveform. You also use the handles this VI returns to specify a sequence of arbitrary waveforms with the IviFgen Create Arbitrary Sequence [SEQ] VI.

instrument handle The instrument handle that you obtain from the IviFgen Initialize or IviFgen Initialize With Options VI.
waveform size (0) Pass the size of the arbitrary waveform you want create.

The size must meet the following restrictions:

  • The size is less than or equal to the maximum waveform size the instrument allows.
  • The size is greater than or equal to the minimum waveform size the instrument allows.
  • The size is an integer multiple of the instrument's waveform quantum.

You can obtain these values from the Maximum Waveform Size, Minimum Waveform Size, and Waveform Quantum parameters of the IviFgen Query Arb Waveform Capabilities [ARB] VI.

Default Value: None

waveform data array (empty) Specify the array of data you want to use for the new arbitrary waveform. The array must have at least as many elements as the value you specify in the Waveform Size parameter.

You must normalize the data points in the array to be between –1.00 and +1.00.

Default Value: None

error in (no error) The error in cluster can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.

instrument handle out The instrument handle that you obtain from the IviFgen Initialize or IviFgen Initialize With Options VI.
waveform handle Returns the handle that identifies the new arbitrary waveform. You pass this handle to the IviFgen Configure Arbitrary Waveform [ARB] VI to generate the arbitrary waveform. You pass an array of these handles to the IviFgen Create Arbitrary Sequence [SEQ] VI to create an arbitrary sequence.
error out The error out cluster passes error or warning information out of a VI to be used by other VIs.

The pop-up option Explain Error (or Explain Warning) gives more information about the error displayed.