Generates open compensation data for LCR measurements based on a default set of test frequencies  and, optionally, additional frequencies you can specify.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public void PerformOpenCompensation(double[] frequencies)

Remarks

You must physically configure an open LCR circuit to use this method to generate valid open compensation data.

Note

When you call this method:
  • The open compensation data is written to the onboard storage of the instrument. Onboard storage can contain only the most recent set of data.

  • Most NI-DCPower properties in the session are reset to their default values. Rewrite the values of any properties you want to maintain.

To apply the open compensation data you generate with this method to your LCR measurements, set OpenCompensationEnabled to true.

Corrections for frequencies other than the default frequencies or any additional frequencies you specify are interpolated.

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.

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

Note

The actual frequencies used depend on the bandwidth of your instrument.

Parameters

NameTypeDescription
frequenciesdouble[]

Defines a System.Double array of further frequencies, in addition to the default frequencies, to perform the compensation for. You can specify <=200 additional frequencies.

Exceptions

TypeDescription
Ivi.Driver.IviCDriverException

The underlying NI-DCPower driver returned an error.