SelfCalibrateRange(RfsgSelfCalibrationSteps, double, double, double, double)
- Updated2025-10-14
- 1 minute(s) read
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.
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.
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
| Name | Type | Description |
|---|---|---|
| stepsToOmit | RfsgSelfCalibrationSteps | Specifies the steps to omit during self-calibration. |
| minFrequency | double | Specifies the minimum frequency. |
| maxFrequency | double | Specifies the maximum frequency. |
| minPowerLevel | double | Specifies the minimum power level. |
| maxPowerLevel | double | Specifies the maximum power level. |
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The SelfCalibrateRange method was accessed after the associated NIRfsg object was disposed. |