NIDCPOWER_ATTR_ACTUAL_POWER_ALLOCATION
- Updated2025-10-06
- 1 minute(s) read
Returns the power, in watts, the device is sourcing on the active channels if the NIDCPOWER_ATTR_POWER_ALLOCATION_MODE attribute is set to NIDCPOWER_VAL_POWER_ALLOCATION_MODE_AUTOMATIC or NIDCPOWER_VAL_POWER_ALLOCATION_MODE_MANUAL.
Syntax
NIDCPOWER_ATTR_ACTUAL_POWER_ALLOCATION
Numeric Value | Data Type | Access | Applies To |
|---|---|---|---|
1150205 | ViReal64 | Read-Only | Channels |
Remarks
NI-DCPower uses the terms "source" and "output". However, while sinking with electronic loads and SMUs these correspond to "sinking" and "input", respectively.
This attribute is not supported by all devices. Refer to Supported Attributes by Device for information about supported devices.
Valid Values: [0, device per-channel maximum power]
This attribute returns -1 when the NIDCPOWER_ATTR_POWER_ALLOCATION_MODE attribute is set to NIDCPOWER_VAL_POWER_ALLOCATION_MODE_DISABLED.
Default Value: Refer to Supported Attributes by Device for the default value by device.