RFmxVnaMX.CalibrationAcquire Method
- Updated2024-07-17
- 1 minute(s) read
RFmx
Measures one or more calibration standards for the specified calibration step. The recommended sequence of operations to call this method is illustrated below:
[START] -> ... -> [Configure Calibration Settings] -> [Call RFmxVNA Calibration Initiate method] -> [Acquire Calibration Step(i)] -> [Acquire Calibration Step(j)] -> ...->[END]. Here, "Acquire Calibration Step(i)" denotes a call to RFmxVNA Calibration Acquire method for the ith calibration step.
When CorrectionCalibrationCalkitType is Electronic, a single call to this method acquires calibration data for all the calibration standards in the vCal module.
When CorrectionCalibrationCalkitType is Mechanical, calibration data for only the active cal step is acquired. Specify the active cal step in the Selector String. Use BuildCalstepString(String, Int32) method to build cal step string.
When CorrectionCalibrationCalkitType is Electronic, a single call to this method acquires calibration data for all the calibration standards in the vCal module.
When CorrectionCalibrationCalkitType is Mechanical, calibration data for only the active cal step is acquired. Specify the active cal step in the Selector String. Use BuildCalstepString(String, Int32) method to build cal step string.
Namespace: NationalInstruments.RFmx.VnaMX
Assembly: NationalInstruments.RFmx.VnaMX.Fx40 (in NationalInstruments.RFmx.VnaMX.Fx40.dll) Version: 24.5.0.49286 (24.5.0.49286)
Syntax
public int CalibrationAcquire( string selectorString, double timeout )
Public Function CalibrationAcquire ( selectorString As String, timeout As Double ) As Integer
Parameters
- selectorString String
- Pass an empty string. The signal name that is passed when creating the signal configuration is used.
- timeout Double
- Specifies the timeout, in seconds, for acquiring the calibration data. Set this value to an appropriate time, longer than expected for completing acqusition(s) for the speficied calibration step. A value of -1 specifies that the method waits until the acquisition is complete.
Return Value
Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.