SelfCalibrateRange(RfsaSelfCalibrationSteps, 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.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.
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.
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
| Name | Type | Description |
|---|---|---|
| stepsToOmit | RfsaSelfCalibrationSteps | Specifies the steps to omit during self-calibration. |
| minimumFrequency | double | Specifies the minimum frequency. |
| maximumFrequency | double | Specifies the maximum frequency. |
| minimumReferenceLevel | double | Specifies the minimum reference level. |
| maximumReferenceLevel | double | Specifies the maximum reference level. |
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The SelfCalibrateRange method was accessed after the associated NIRfsa object was disposed. |