Performing a Manual TRL (2-Port, 2-Path) Calibration
- Updated2023-02-21
- 1 minute(s) read
- Configure the device for the final measurement you will be taking.
- Configure the reference plane location and number of bands (one or two).
- Configure the attributes of each standard that will you will use.
- Configure the list of standards used for each band and the band breakpoint.
- Call niVNA_InitUserCal(vi, "0", NIVNA_VAL_CALIBRATION_TYPE_TRL).
- Connect standard1 to PORT 1 and PORT 2.
- Call niVNA_PerformTRLCalibrationAction(vi, "port1, port2", "standard1").
- Call niVNA_WaitForCalibrationActionDone(vi, "0", <timeout>).
- Connect standard4 to PORT 1 and PORT 2.
- Call niVNA_PerformTRLCalibrationAction(vi, "port1, port2", "standard4").
- Call niVNA_WaitForCalibrationActionDone(vi, "0", <timeout>).
- Connect standard2 to PORT 1.
- Call niVNA_PerformTRLCalibrationAction(vi, "port1", "standard2").
- Call niVNA_WaitForCalibrationActionDone(vi, "0", <timeout>).
- Connect standard2 to PORT 2.
- Call niVNA_PerformTRLCalibrationAction(vi, "port2", "standard2").
- Call niVNA_WaitForCalibrationActionDone(vi, "0", <timeout>).
- If using two bands, continue with the calibration by performing the following steps, otherwise continue to Step 20.
- Connect standard3 to PORT 1.
- Call niVNA_PerformTRLCalibrationAction(vi, "port1", "standard3").
- Call niVNA_WaitForCalibrationActionDone(vi, "0", <timeout>).
- Connect standard3 to PORT 2.
- Call niVNA_PerformTRLCalibrationAction(vi, "port2", "standard3").
- 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).