IviDCPwr Attribute Value Definitions

CVI/LabWindows IVI Class Driver

IviDCPwr Attribute Value Definitions

The following table defines values for all IviDCPwr class attributes constants.

Note  In the following table, the literal string IVIDCPWR_ATTR_ precedes the attribute name and the literal string IVIDCPWR_VAL precedes the value extension name.

IviDCPwr Attribute Defined Values

Attribute Defined Value Defined Value Description
CURRENT_LIMIT_BEHAVIOR CURRENT_REGULATE 0 The power supply regulates the output current at the value of the IVIDCPWR_ATTR_CURRENT_LIMIT attribute when the output reaches or exceeds that value.
CURRENT_TRIP 1 The power supply disables the output when the output current reaches or exceeds the value of the IVIDCPWR_ATTR_CURRENT_LIMIT attribute.
TRIGGER_SOURCE TRIG_IMMEDIATE 0 The power supply does not wait for a trigger before changing the output signal.
TRIG_EXTERNAL 1 The power supply waits for an external trigger before changing the output signal.
SOFTWARE_TRIG 2

The power supply waits for the IviDCPwr_SendSoftwareTrigger function to execute before changing the output signal.

If you set the IVIDCPWR_ATTR_TRIGGER_SOURCE attribute to this value, the instrument can only be triggered by calling the IviDCPwr_SendSoftwareTrigger function.

TRIG_TTL0 3 The power supply waits for a trigger on the TTL 0 line before changing the output signal.
TRIG_TTL1 4 The power supply waits for a trigger on the TTL 1 line before changing the output signal.
TRIG_TTL2 5 The power supply waits for a trigger on the TTL 2 line before changing the output signal.
TRIG_TTL3 6 The power supply waits for a trigger on the TTL 3 line before changing the output signal.
TRIG_TTL4 7 The power supply waits for a trigger on the TTL 4 line before changing the output signal.
TRIG_TTL5 8 The power supply waits for a trigger on the TTL 5 line before changing the output signal.
TRIG_TTL6 9 The power supply waits for a trigger on the TTL 6 line before changing the output signal.
TRIG_TTL7 10 The power supply waits for a trigger on the TTL 7 line before changing the output signal.
TRIG_ECL0 11 The power supply waits for a trigger on the ECL 0 line before changing the output signal.
TRIG_ECL1 12 The power supply waits for a trigger on the ECL 1 line before changing the output signal.
TRIG_PXI_STAR 13 The power supply waits for a trigger on the ECL 1 line before changing the output signal.
TRIG_RTSI_0 14 The power supply waits for a trigger on the RTSI 0 line before changing the output signal.
TRIG_RTSI_1 15 The power supply waits for a trigger on the RTSI 1 line before changing the output signal.
TRIG_RTSI_2 16 The power supply waits for a trigger on the RTSI 2 line before changing the output signal.
TRIG_RTSI_3 17 The power supply waits for a trigger on the RTSI 3 line before changing the output signal.
TRIG_RTSI_4 18 The power supply waits for a trigger on the RTSI 4 line before changing the output signal.
TRIG_RTSI_5 19 The power supply waits for a trigger on the RTSI 5 line before changing the output signal.
TRIG_RTSI_6 20 The power supply waits for a trigger on the RTSI 6 line before changing the output signal.

Parameter Defined Values

Parameter Defined Value Description
behavior IVIDCPWR_ATTR_CURRENT_LIMIT The power supply disables the output when the output current reaches or exceeds the value of the limit parameter.
  IVIDCPWR_VAL_CURRENT_REGULATE The power supply regulates the output current at the value of the limit parameter when the output reaches or exceeds that value.
rangeType IVIDCPWR_VAL_RANGE_VOLTAGE The range parameter specifies a voltage range.
  IVIDCPWR_VAL_RANGE_CURRENT The range parameter specifies a current range.
measurementType IVIDCPWR_VAL_MEASURE_VOLTAGE The measurement parameter returns a voltage measurement.
  IVIDCPWR_VAL_MEASURE_CURRENT The measurement parameter returns a current measurement.
outputState IVIDCPWR_VAL_OUTPUT_CONSTANT_VOLTAGE The inState parameter returns whether the power supply is in the constant voltage state.
  IVIDCPWR_VAL_OUTPUT_CONSTANT_CURRENT The inState parameter returns whether the power supply is in the constant current state.
  IVIDCPWR_VAL_OUTPUT_OVER_VOLTAGE The inState parameter returns whether the power supply is in the over voltage state.
  IVIDCPWR_VAL_OUTPUT_OVER_CURRENT The inState parameter returns whether the power supply is in the over current state.
  IVIDCPWR_VAL_OUTPUT_UNREGULATED The inState parameter returns whether the power supply is in the unregulated state.