NIDCPOWER_ATTR_OUTPUT_FUNCTION
Specific Attribute
Data type |
Access | Applies to | Coercion | High-Level Functions |
---|---|---|---|---|
ViInt32 | R/W | Channel | None | niDCPower_ConfigureOutputFunction |
Description
Configures the function to generate on the specified channel(s).
When NIDCPOWER_VAL_DC_VOLTAGE is selected, the device generates the desired voltage level on the output as long as the output current is below the current limit. The following attributes can be used to configure the channel when NIDCPOWER_VAL_DC_VOLTAGE is selected:
- NIDCPOWER_ATTR_VOLTAGE_LEVEL
- NIDCPOWER_ATTR_CURRENT_LIMIT
- NIDCPOWER_ATTR_VOLTAGE_LEVEL_RANGE
- NIDCPOWER_ATTR_CURRENT_LIMIT_RANGE
When NIDCPOWER_VAL_DC_CURRENT is selected, the device generates the desired current level on the output as long as the output voltage is below the voltage limit. The following attributes can be used to configure the channel when NIDCPOWER_VAL_DC_CURRENT is selected:
- NIDCPOWER_ATTR_CURRENT_LEVEL
- NIDCPOWER_ATTR_VOLTAGE_LIMIT
- NIDCPOWER_ATTR_CURRENT_LEVEL_RANGE
- NIDCPOWER_ATTR_VOLTAGE_LIMIT_RANGE
Defined Values:
NIDCPOWER_VAL_DC_VOLTAGE | Sets the output function to DC voltage. |
NIDCPOWER_VAL_DC_CURRENT | Sets the output function to DC current. |
Default Value: NIDCPOWER_VAL_DC_VOLTAGE