SelfCalibrate(string, RFmxInstrMXSelfCalibrateSteps)
- Updated2025-10-13
- 2 minute(s) read
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
Syntax
Namespace: NationalInstruments.RFmx.InstrMX
public int SelfCalibrate(string selectorString, RFmxInstrMXSelfCalibrateSteps stepsToOmit)
Parameters
| Name | Type | Description | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 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.
|
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.