Performs a self-calibration on the configurations within the specified frequency and peak power level limits.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsa

public void SelfCalibrateRange(RfsaSelfCalibrationSteps stepsToOmit, double minimumFrequency, double maximumFrequency, double minimumReferenceLevel, double maximumReferenceLevel)

Remarks

NI recommends that no external signals are present on the RF In port while the calibration is taking place. This method does not update self-calibration date and temperature.

Self-calibration range data is valid until you restart the system or call the ClearSelfCalibrateRange method.

NI recommends that no external signals are present on the RF In port while the calibration is taking place.

For best results, NI recommends that you perform a complete self-calibration without omitting any steps. However, if certain aspects of performance are less important for your application, you can omit that step for faster execution.

Note

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 beused for operations that access the hardware, for example Commit or Initiate.

Note

If there is an existing NI-RFSG session open for the same PXIe-5644/5645/5646, it may remain open but cannot be used while this method runs.

Parameters

NameTypeDescription
stepsToOmitRfsaSelfCalibrationSteps

Specifies the steps to omit during self-calibration.

minimumFrequencydouble

Specifies the minimum frequency.

maximumFrequencydouble

Specifies the maximum frequency.

minimumReferenceLeveldouble

Specifies the minimum reference level.

maximumReferenceLeveldouble

Specifies the maximum reference level.

Exceptions

TypeDescription
System.ObjectDisposedException

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