RFmxInstrMX.SelfCalibrate Method
- Updated2024-07-17
- 2 minute(s) read
RFmx
Self-calibrates the NI-RFSA device and associated modules that support self-calibration. If self-calibration completes successfully, the new calibration constants are stored immediately in the nonvolatile memory of the module. On a MIMO session, this method self-calibrates all NI-RFSA devices and associated modules that support self-calibration.
Refer to the specifications document for your device for more information about how often to self-calibrate. For more information about Self Calibrate, refer to the niRFSA Self Cal method topic for your device in the NI RF Vector Signal Analyzers Help.
For PXIe-5644/5645/5646, RFmx internally closes the RFSA session, performs self-calibration and opens a new session for the same device. If the RFSA session has been accessed from RFmx, using the RFmxInstr Get NIRFSA Session method before calling the RFmxInstr Self Calibrate method, the RFSA session will become invalid upon calling the RFmxInstr Self Calibrate. supporteddevices: PXIe-5663/5663E/5665/5668, PXIe-5644/5645/5646, PXIe-5820/5830/5831/5832/5840/5841/5842/5860
Refer to the specifications document for your device for more information about how often to self-calibrate. For more information about Self Calibrate, refer to the niRFSA Self Cal method topic for your device in the NI RF Vector Signal Analyzers Help.
For PXIe-5644/5645/5646, RFmx internally closes the RFSA session, performs self-calibration and opens a new session for the same device. If the RFSA session has been accessed from RFmx, using the RFmxInstr Get NIRFSA Session method before calling the RFmxInstr Self Calibrate method, the RFSA session will become invalid upon calling the RFmxInstr Self Calibrate. supporteddevices: PXIe-5663/5663E/5665/5668, PXIe-5644/5645/5646, PXIe-5820/5830/5831/5832/5840/5841/5842/5860
Namespace: NationalInstruments.RFmx.InstrMX
Assembly: NationalInstruments.RFmx.InstrMX.Fx40 (in NationalInstruments.RFmx.InstrMX.Fx40.dll) Version: 24.5.0.49285 (24.5.0.49285)
Syntax
public int SelfCalibrate( string selectorString, RFmxInstrMXSelfCalibrateSteps stepsToOmit )
Public Function SelfCalibrate ( selectorString As String, stepsToOmit As RFmxInstrMXSelfCalibrateSteps ) As Integer
Parameters
- selectorString String
- Specify an empty string as the value of this parameter.
- stepsToOmit RFmxInstrMXSelfCalibrateSteps
-
Specifies which calibration steps to skip during the self-calibration process.
The default value is an empty array, which indicates that all calibration steps are performed. The only valid value for PXIe-5820/5830/5831/5832/5840/5841/5842/5860 is an empty array.
PreselectorAlignment Omits the Preselector Alignment step. If you omit this step and the NI-RFSA IsSelfCalibrationValid method indicates the calibration data for this step is invalid, the preselector alignment specifications are not guaranteed. This step applies only to the PXIe-5605/5606. GainReference Omits the Gain Reference step. If you omit this step and the NI-RFSA IsSelfCalibrationValid method indicates the calibration data for this step is invalid, the absolute accuracy of the device is not guaranteed. IFFlatness Omits the IF Flatness step. If you omit this step and the NI-RFSA IsSelfCalibrationValid method indicates the calibration data for this step is invalid, the IF flatness specifications are not guaranteed. DigitizerSelfcal Omits the Digitizer Self Cal step. If you omit this step and the NI-RFSA IsSelfCalibrationValid method indicates the calibration data for this step is invalid, the absolute accuracy of the device is not guaranteed. LOSelfCal Omits the LO Self Cal step. If you omit this step and the NI-RFSA IsSelfCalibrationValid method indicates the calibration data for this step is invalid, the LO PLL may fail to lock. AmplitudeAccuracy Not used by this method. ResidualLOPower Not used by this method. ImageSuppression Not used by this method. SynthesizerAlignment Not used by this method. DCOffset Not used by this method.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.