NIDCPOWER_ATTR_CURRENT_LIMIT_AUTORANGE
- Updated2023-04-15
- 1 minute(s) read
Specific Attribute
Numeric Value | Data type |
Access | Applies to | Coercion | High-Level Functions |
---|---|---|---|---|---|
1150016 | ViInt32 | R/W | Channel | None | None |
Description
Specifies whether NI-DCPower automatically selects the current limit range based on the desired current limit for the specified channel(s).
If you set this attribute to NIDCPOWER_VAL_ON, NI-DCPower ignores any changes you make to the NIDCPOWER_ATTR_CURRENT_LIMIT_RANGE attribute. If you change this attribute from NIDCPOWER_VAL_ON to NIDCPOWER_VAL_OFF, NI-DCPower retains the last value the NIDCPOWER_ATTR_CURRENT_LIMIT_RANGE attribute was set to (or the default value if the attribute was never set) and uses that value as the current limit range.
Query the NIDCPOWER_ATTR_CURRENT_LIMIT_RANGE attribute by using the niDCPower_GetAttributeViInt32 function for information about which range NI-DCPower automatically selects.
This attribute is applicable only if the NIDCPOWER_ATTR_OUTPUT_FUNCTION attribute is set to NIDCPOWER_VAL_DC_VOLTAGE.
Defined Values:
NIDCPOWER_VAL_OFF (0) | NI-DCPower does not automatically select the current limit range. |
NIDCPOWER_VAL_ON (1) | NI-DCPower automatically selects the current limit range. |
Default Value:
Refer to Supported Attributes by Device for the default value by device.
Related Topics: