QAlibria Host Commands¶
qal:calibration_execute¶
Sentio Version: 2.8.1
Description: Executes VNA calibration.
Parameters:
| Parameter | Type | Values |
|---|---|---|
| Mode (opt.) | String | Empty (default) — calibration and reference standards; c — only calibration standards; v — only reference standards |
Response:
| Field | Type | Values |
|---|---|---|
| Status | String | OK |
Remarks: Calibration mode switches to "Auto" mode if the response is -1; manual debugging is then required.
qal:get_calibration_mode¶
Sentio Version: 2.8.1
Description: Gets the calibration mode from the QAlibria host.
Parameters: None
Response:
| Field | Type | Values |
|---|---|---|
| Mode | Integer | 1=Auto mode, 2=Remote mode, 3=Manual mode |
qal:get_calibration_status¶
Sentio Version: 2.8.1
Description: Retrieves the status of QAlibria.
Parameters: None
Response:
| Field | Type | Values |
|---|---|---|
| Status | String | OK |
Remarks: "Ready to calibrate" means the system is in "Remote mode" with no error prior to calibration.
qal:measurement_execute¶
Sentio Version: 3.6.0
Description: Executes a VNA measurement.
Parameters:
| Parameter | Type | Values |
|---|---|---|
| File Name | String | Path for the SNP file |
| Ports | String | The measurement ports |
| Correct by VNA | Boolean | True=VNA correction on, False=off |
| Use Ratio b/a (opt.) | Boolean | True=enabled, False=disabled |
| Enable Switch Term (opt.) | Boolean | True=enabled, False=disabled |
Response:
| Field | Type | Values |
|---|---|---|
| Status | String | OK |
Examples:
Command: qal:measurement_execute D:\temp\test,12,true
Response: 0,0,OK (measures ports 1&2, corrected data, saves test.s2p in D:\temp\)
Command: qal:measurement_execute D:\temp\test,12,false,false,true
Response: 0,0,OK (measures ports 1&2, raw data, switch term enabled, saves test.s2p in D:\temp\)
qal:set_calibration_mode¶
Sentio Version: 2.8.1
Description: Sets the calibration mode on the QAlibria host.
Parameters:
| Parameter | Type | Values |
|---|---|---|
| Mode | Integer | 1=Auto mode, 2=Remote mode, 3=Manual mode |
Response:
| Field | Type | Values |
|---|---|---|
| Setup | String | OK |
Remarks: Does nothing if the parameter is out of range.
qal:reset_ets¶
Sentio Version: 3.6.4
Description: Resets error terms in the buffer.
Parameters: None
Response:
| Field | Type | Values |
|---|---|---|
| Setup | String | OK |
qal:set_ets¶
Sentio Version: 3.6.4
Description: Sets error terms in the buffer.
Parameters:
| Parameter | Type | Notes |
|---|---|---|
| Ports | String | Port(s) of the error terms |
| Path | String | Path of the error terms file |
| File Name | String | Name of the error terms file |
Response:
| Field | Type | Values |
|---|---|---|
| Status | String | OK |
Example:
Command: qal:set_ets 12,D:\temp,ets.txt
Response: 0,0,OK (sends port 12 error terms from D:\temp\ets.txt)
Remarks: Error terms file columns: Fre Edf Esf Erf Exf Elf Etf Edr Esr Err Exr Elr Etr — Frequency (GHz), Forward Directivity, Forward Source Match, Forward Reflection Tracking, Forward Isolation, Forward Load Match, Forward Transmission Tracking, Reverse Directivity, Reverse Source Match, Reverse Reflection Tracking, Reverse Isolation, Reverse Load Match, Reverse Transmission Tracking.
qal:send_ets_to_vna¶
Sentio Version: 3.6.4
Description: Sends error terms to the VNA.
Parameters:
| Parameter | Type | Notes |
|---|---|---|
| Cal Set Name | String | Name of the cal set in the VNA |
Response:
| Field | Type | Values |
|---|---|---|
| Status | String | OK |
Example: