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

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsg

public void SelfCalibrateRange(RfsgSelfCalibrationSteps stepsToOmit, double minFrequency, double maxFrequency, double minPowerLevel, double maxPowerLevel)

Remarks

NI recommends that no external signals are present on the RF In or IQ In ports during the calibration. 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-RFSA 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-RFSA session open for the same PXIe-5644/5645/5646, it may remain open but cannot be used while this method runs.

Parameters

NameTypeDescription
stepsToOmitRfsgSelfCalibrationSteps

Specifies the steps to omit during self-calibration.

minFrequencydouble

Specifies the minimum frequency.

maxFrequencydouble

Specifies the maximum frequency.

minPowerLeveldouble

Specifies the minimum power level.

maxPowerLeveldouble

Specifies the maximum power level.

Exceptions

TypeDescription
System.ObjectDisposedException

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