DCPowerOutputLCRCompensation.ConfigureCompensation Method
- Updated2024-01-04
- 2 minute(s) read

DCPowerOutputLCRCompensationConfigureCompensation Method
Applies previously generated open, short, load, as well as open and short custom cable compensationData to LCR measurements.
Namespace: NationalInstruments.ModularInstruments.NIDCPower
Assembly: NationalInstruments.ModularInstruments.NIDCPower.Fx45 (in NationalInstruments.ModularInstruments.NIDCPower.Fx45.dll) Version: 2023
Syntax
public void ConfigureCompensation( byte[] compensationData )
Public Sub ConfigureCompensation ( compensationData As Byte() )
Parameters
- compensationData
- Type: SystemByte
The Byte array that contains the compensation data to import.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The method was called with a null compensationData array. |
Remarks
This method applies open, short and load compensation data when you have set OpenShortLoadCompensationDataSource to AsConfigured, and it also applies custom cable compensation data when you have set CableLength to CustomAsConfigured.
Call this method after you have obtained LCR compensation data. If ShortCustomCableCompensationEnabled is set to , you must generate data with both PerformOpenCustomCableCompensation and PerformShortCustomCableCompensation; if , you must only use PerformOpenCustomCableCompensation, and NI-DCPower uses default short data.
Call GetCompensationData and pass the compensation data to this method.
![]() |
---|
This method is not supported by all instruments. Refer to the Supported Functions by Device topic in the NI DC Power Supplies and SMUs Help for information about supported instruments. |