Applies previously generated open, short, load, as well as open and short custom cable compensationData  to LCR measurements.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public void ConfigureCompensation(byte[] compensationData)

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 true, you must generate data with both PerformOpenCustomCableCompensation and PerformShortCustomCableCompensation; if false, you must only use PerformOpenCustomCableCompensation, and NI-DCPower uses default short data.

Call GetCompensationData and pass the compensation data to this method.

Note

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.

Parameters

NameTypeDescription
compensationDatabyte[]

The System.Byte array that contains the compensation data to import.

Exceptions

TypeDescription
System.ArgumentNullException

The method was called with a null compensationData array.