Self-calibrates the NI-RFSA device and associated modules that support self-calibration.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsa

public void SelfCalibrate(RfsaSelfCalibrationSteps stepsToOmit)

Remarks

If self-calibration is performed successfully, the new calibration constants are stored immediately in the self-calibration area of the module EEPROM. Refer to the specifications document for your device for more information about how often to self-calibrate. For best results, NI recommends that you perform a complete self-calibration without omitting any steps. However, if the IsSelfCalibrationValid indicates that the calibration data for a specific step is still valid, you can omit that step for faster execution. The IF Flatness step can take approximately 15 minutes to complete on the PXIe-5665 (3.6 GHz) and approximately 25 minutes to complete on the PXIe-5665 (14 GHz). The IF Flatness step can take approximately 1 minute to complete on the PXIe-5667 (3.6 GHz) and approximately 1.5 minutes to complete on the PXIe-5667 (7 GHz). The IF Flatness step can take approximately 15 minutes to complete on the PXIe-5668. If there is an existing NI-RFSG session open for the same PXIe-5820/5830/5831/5832/5840 while this method runs, it may remain open but cannot be used for operations that access the hardware.

Parameters

NameTypeDescription
stepsToOmitRfsaSelfCalibrationSteps

Specifies which calibration steps you want to skip as part of the self-calibration process. A value of "None" specifies that no calibration steps are omitted.

Exceptions

TypeDescription
System.ObjectDisposedException

The SelfCalibrate method was accessed after the associated NIRfsa object was disposed.