NIDCPOWER_ATTR_OUTPUT_FUNCTION

NI-DCPower Function Reference

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:

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:

Defined Values:

NIDCPOWER_VAL_DC_VOLTAGESets the output function to DC voltage.
NIDCPOWER_VAL_DC_CURRENTSets the output function to DC current.

Default Value: NIDCPOWER_VAL_DC_VOLTAGE