Admin Production ni-theme
Current Publication

Configure Output Range

IVI Compliance Package

IviDCPwr Configure Output Range

IviDCPwr Base Capability Group

Configures the power supply's output range on a channel. You specify whether you want to configure the voltage or current range, and the value to which to set the range.

Notes
  1. Setting a voltage range can invalidate a previously configured current range.
  2. Setting a current range can invalidate a previously configured voltage range.


instrument handle The instrument handle that you obtain from the IviDCPwr Initialize or IviDCPwr Initialize With Options VI.
channel name ("CHANNEL 1") Pass the virtual channel name that you assign to the instrument in MAX.

Virtual channel names are aliases for instrument specific channel strings. The instrument specific channel strings can differ from one instrument to another. Virtual channel names allow you to use and swap instruments without having to change the channel names in your source code. You assign a virtual channel name to an instrument specific channel through MAX. This control accepts virtual channel names you have assigned to the specific instrument you are using. It also accepts the instrument specific channel names.

Default Value: CHANNEL 1

range type (Voltage) Pass the type of range you want to configure.

Defined Values:

IVIDCPWR_VAL_RANGE_VOLTAGE—Voltage Range

IVIDCPWR_VAL_RANGE_CURRENT—Current Range

Default Value: IVIDCPWR_VAL_RANGE_VOLTAGE

Notes
  1. Setting a voltage range can invalidate a previously configured current range.
  2. Setting a current range can invalidate a previously configured voltage range.
range (0.0) Pass the range in which you want the power supply to operate.

If you pass a value of IVIDCPWR_VAL_RANGE_CURRENT for the RangeType parameter, specify this parameter in amps.

If you pass a value of IVIDCPWR_VAL_RANGE_VOLTAGE for the RangeType parameter, specify this parameter in volts.

Units: volts (for voltage range)
amps (for current range)
Default Value:0.0
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 IviDCPwr Initialize or IviDCPwr 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.