niRFSA_SelfCalibrateRange
- Updated2024-05-08
- 3 minute(s) read
niRFSA_SelfCalibrateRange
ViStatus niRFSA_SelfCalibrateRange (ViSession Instrument_Handle,ViInt64 Steps_To_Omit, ViReal64 Min_Frequency, ViReal64 Max_Frequency, ViReal64 Min_Reference_Level, ViReal64 Max_Reference_Level);
Purpose
Self-calibrates all configurations within the specified frequency and reference level limits.
Self-calibration range data is valid until you restart the system or call the niRFSA_ClearSelfCalibrateRange function.
NI recommends that no external signals are present on the RF In port while the calibration is taking place.
![]() |
Note This function does not update self-calibration date and temperature. |
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/5841/5842 while this function runs, it may remain open but cannot be used for operations that access the hardware, for example niRFSG_Commit or niRFSG_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 function runs. |
Supported Devices: PXIe-5644/5645/5646, PXIe-5820/5830/5831/5832/5840/5841/5842
Parameters
Input | ||||||||||||||||||||||||||
Name | Type | Description | ||||||||||||||||||||||||
vi | ViSession | Identifies your instrument session. vi is obtained from the niRFSA_init or niRFSA_InitWithOptions function. | ||||||||||||||||||||||||
stepsToOmit | ViInt64 | Specifies which calibration steps to skip as part of the self-calibration process. A value of 0 specifies all supported calibration steps are performed.
|
||||||||||||||||||||||||
minFrequency | ViReal64 | Specifies the minimum RF frequency in Hz. | ||||||||||||||||||||||||
maxFrequency | ViReal64 | Specifies the maximum RF frequency in Hz. | ||||||||||||||||||||||||
minReferenceLevel | ViReal64 | Specifies the minimum reference level in dBm. | ||||||||||||||||||||||||
maxReferenceLevel | ViReal64 | Specifies the maximum reference level in dBm. |
Return Value
Name | Type | Description | ||||||||
status | ViStatus | Returns the status code of this operation. The status code either indicates success or describes an error or warning condition. Examine the status code from each call to an NI-RFSA function to determine if an error has occurred. To obtain a text description of the status code and additional information about the error condition, call the niRFSA_GetError function. To clear the error information from NI-RFSA, call the niRFSA_ClearError function. The general meaning of the status code is as follows:
|
||||||||