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

DCPowerOutputLCRCompensationPerformOpenCompensation Method
Generates open compensation data for LCR measurements based on a default set of test frequencies and, optionally, additional frequencies you can specify.
Namespace: NationalInstruments.ModularInstruments.NIDCPower
Assembly: NationalInstruments.ModularInstruments.NIDCPower.Fx45 (in NationalInstruments.ModularInstruments.NIDCPower.Fx45.dll) Version: 2023
Syntax
public void PerformOpenCompensation( double[] frequencies )
Public Sub PerformOpenCompensation ( frequencies As Double() )
Parameters
- frequencies
- Type: SystemDouble
Defines a Double array of further frequencies, in addition to the default frequencies, to perform the compensation for. You can specify <=200 additional frequencies.
Exceptions
Exception | Condition |
---|---|
IviCDriverException | The underlying NI-DCPower driver returned an error. |
Remarks
You must physically configure an open LCR circuit to use this method to generate valid open compensation data.
![]() |
---|
When you call this method:
|
To apply the open compensation data you generate with this method to your LCR measurements, set OpenCompensationEnabled to .
Corrections for frequencies other than the default frequencies or any additional frequencies you specify are interpolated.
![]() |
---|
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. |
Default Open Compensation Frequencies
By default, NI-DCPower uses the following frequencies for LCR open compensation:
- 10 logarithmic steps at 1 kHz frequency decade
- 10 logarithmic steps at 10 kHz frequency decade
- 100 logarithmic steps at 100 kHz frequency decade
- 100 logarithmic steps at 1 MHz frequency decade
![]() |
---|
The actual frequencies used depend on the bandwidth of your instrument. |