Performing a Manual SOL (1-Port, 1-Path) Calibration
- Updated2023-02-21
- 1 minute(s) read
- Configure the device for the final measurement you will be taking.
- Configure the device to calibrate for a PORT 1, 1-port calibration.
- Call niVNA_SetAttributeViBoolean(vi, "0", NIVNA_ATTR_S11_ENABLED, VI_TRUE).
- Call niVNA_SetAttributeViBoolean(vi, "0", NIVNA_ATTR_S21_ENABLED, VI_FALSE).
- Call niVNA_SetAttributeViBoolean(vi, "0", NIVNA_ATTR_S12_ENABLED, VI_FALSE).
- Call niVNA_SetAttributeViBoolean(vi, "0", NIVNA_ATTR_S22_ENABLED, VI_FALSE).
- (Optional) If desired, enable High-Sensitivity mode during calibration by calling niVNA_SetAttributeViBoolean(vi, "0", NIVNA_ATTR_CALIBRATION_HIGH_SENSITIVITY_ENABLED, VI_TRUE).
- Call niVNA_InitUserCal(vi, "0", NIVNA_VAL_CALIBRATION_TYPE_1PORT_SOL).
- Connect the open calibration standard to PORT 1.
- Call niVNA_PerformCalibrationAction(vi, "port1", NIVNA_VAL_CALIBRATION_ACTION_OPEN).
- Call niVNA_WaitForCalibrationActionDone(vi, "0", <timeout>).
- Connect the short calibration standard to PORT 1.
- Call niVNA_PerformCalibrationAction(vi, "port1", NIVNA_VAL_CALIBRATION_ACTION_SHORT).
- Call niVNA_WaitForCalibrationActionDone(vi, "0", <timeout>).
- Connect the load calibration standard to PORT 1.
- Call niVNA_PerformCalibrationAction(vi, "port1", NIVNA_VAL_CALIBRATION_ACTION_LOAD).
- Call niVNA_WaitForCalibrationActionDone(vi, "0", <timeout>).
- If the calibration has been successful to this point and you wish to apply the new calibration, call niVNA_CloseUserCal(vi, "0", NIVNA_VAL_USER_CALIBRATION_COMMIT). Otherwise, call niVNA_CloseUserCal(vi, "0", NIVNA_VAL_USER_CALIBRATION_ABORT)
- To store the current configuration and calibration settings to a file, call niVNA_SaveCalibrationAndConfigurationDataToFile(vi, "0", <filePath>, VI_TRUE).