DCPowerOutputSource.PowerAllocationMode Property
- Updated2024-01-04
- 2 minute(s) read

DCPowerOutputSourcePowerAllocationMode Property
Gets or sets whether the device sources the power its output configuration requires or a specific wattage you request; gets or sets whether NI-DCPower proactively checks that this sourcing power is within the maximum per-channel and overall sourcing power of the device.
Namespace: NationalInstruments.ModularInstruments.NIDCPower
Assembly: NationalInstruments.ModularInstruments.NIDCPower.Fx40 (in NationalInstruments.ModularInstruments.NIDCPower.Fx40.dll) Version: 2023
Syntax
public DCPowerPowerAllocationMode PowerAllocationMode { get; set; }
Public Property PowerAllocationMode As DCPowerPowerAllocationMode Get Set
Property Value
Type: DCPowerPowerAllocationModeRemarks
When this property configures NI-DCPower to perform a sourcing power check, a device is not permitted to source power in excess of its maximum per-channel or overall sourcing power. If the check determines an output configuration or power request would require the device to do so, NI-DCPower returns an error.
When this property does not configure NI-DCPower to perform a sourcing power check, a device complies with requests to source power in excess of its maximum per-channel or overall sourcing power and may shut down to prevent damage.
![]() |
---|
NI-DCPower uses the terms "source" and "output". However, while sinking with electronic loads and SMUs these correspond to "sinking" and "input", respectively. |
![]() |
---|
This property is not supported by all instruments. Refer to the Supported Properties by Device topic in the NI DC Power Supplies and SMUs Help for information about supported instruments. Devices that do not support this property behave as if this property were set to Disabled. |