NI-DCPower .NET fx40 API Reference

Table of Contents

DCPowerOutputLCRCompensation.ConfigureCompensation Method

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

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.Fx40 (in NationalInstruments.ModularInstruments.NIDCPower.Fx40.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

ExceptionCondition
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.

Note 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.

See Also

Log in to get a better experience