Admin Production ni-theme
Current Publication

Configure Output Mode

IVI Compliance Package

IviFgen Configure Output Mode

IviFgen Base Capability Group

This VI configures the output mode of the function generator. The output mode determines the kind of waveform the function generator produces. For example, you can select to output a standard waveform, an arbitrary waveform, or a sequence of arbitrary waveforms.

instrument handle The instrument handle that you obtain from the IviFgen Initialize or IviFgen Initialize With Options VI.
output mode (Standard Function) Pass the output mode you want the function generator to use. The driver sets the IviFgen Output Mode property to this value. The value you specify determines which VIs and properties you use to configure the waveform the function generator produces.

When you set this parameter to IVIFGEN_VAL_OUTPUT_FUNC, use the following VI to configure the waveform:

IviFgen Configure Standard Waveform [STD]

In place of using this VI, you can set the following properties:

IviFgen Waveform [STD]

IviFgen Func Amplitude [STD]

IviFgen DC Offset [STD]

IviFgen Frequency [STD]

IviFgen Start Phase [STD]

IviFgen Duty Cycle High [STD]

When you set this parameter to IVIFGEN_VAL_OUTPUT_ARB, use the following VIs to configure the waveform:

IviFgen Query Arb Waveform Capabilities [ARB]

IviFgen Create Arbitrary Waveform [ARB]

IviFgen Clear Arbitrary Waveform [ARB]

IviFgen Configure Sample Rate [ARB]

IviFgen Configure Arbitrary Waveform [ARB]

IviFgen Configure Arb Frequency [AF]

Instead of using the IviFgen Configure Sample Rate [ARB] and IviFgen Configure Arbitrary Waveform [ARB] VIs, you can set the following properties:

IviFgen Arbitrary Waveform Handle [ARB]

IviFgen Arbitrary Waveform Gain [ARB]

IviFgen Arbitrary Waveform Offset [ARB]

IviFgen Arb Sample Rate [ARB]

IviFgen Arb Frequency [AF]

When you set this parameter to IVIFGEN_VAL_OUTPUT_SEQ, use the following VIs to configure the sequence:

IviFgen Query Arb Waveform Capabilities [ARB]

IviFgen Create Arbitrary Waveform [ARB]

IviFgen Clear Arbitrary Waveform [ARB]

IviFgen Query Arb Sequence Capabilities [SEQ]

IviFgen Clear Arbitrary Sequence [SEQ]

IviFgen Clear Arbitrary Memory [SEQ]

IviFgen Configure Sample Rate [ARB]

IviFgen Configure Arbitrary Sequence [SEQ]

Instead of using the IviFgen Configure Sample Rate [ARB] and IviFgen Configure Arbitrary Sequence [SEQ] VIs, you can set the following properties:

IviFgen Arbitrary Sequence Handle [SEQ]

IviFgen Arbitrary Waveform Gain [ARB]

IviFgen Arbitrary Waveform Offset [ARB]

IviFgen Arb Sample Rate [ARB]

Defined Values:

IVIFGEN_VAL_OUTPUT_FUNC—Standard Function Output

IVIFGEN_VAL_OUTPUT_ARB—Arbitrary Waveform Output

IVIFGEN_VAL_OUTPUT_SEQ—Arbitrary Sequence output

Default Value:

IVIFGEN_VAL_OUTPUT_FUNC—Standard Function Output

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