NI-DCPower .NET fx45 API Reference

Table of Contents

DCPowerOutputLCRCompensation.PerformOpenCompensation Method

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

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

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

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

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

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.

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 Note
The actual frequencies used depend on the bandwidth of your instrument.

See Also

Log in to get a better experience