QAlibriaCommandGroup
Bases: CommandGroupBase
This command group contains functions for working with QAlibria.
calibration_drift_verify(dut_name='', auto_exec=True)
Calibration Drift verification.
Wraps SENTIO's "qal:calibration_drift_verify" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
dut_name |
str
|
The name of the DUT. |
''
|
auto_exec |
bool
|
Whether to automatically execute the drift verify process. |
True
|
calibration_execute()
Execute VNA calibration.
Wraps SENTIO's "qal:calibration_execute" remote command.
check_calibration_status()
Checks the calibration status of QAlibria.
Wraps SENTIO's "qal:get_calibration_status" remote command.
Raises:
| Type | Description |
|---|---|
ProberException
|
If the calibration status is not "OK". |
clear_dut_network(dut_name, drift_type, update_ui)
Clear network data for a DUT.
Wraps SENTIO's "qal:clear_dut_network" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
dut_name |
str
|
The name of the DUT (e.g. "RefDUT"). |
required |
drift_type |
DriftType
|
The type of drift data to clear (DriftType.DriftRef or DriftType.Drift). |
required |
update_ui |
bool
|
Whether to update the UI (True/False). |
required |
Returns:
| Type | Description |
|---|---|
None
|
None |
Raises:
| Type | Description |
|---|---|
ProberException
|
If the remote command returns an error. |
measurement_execute(file_name, ports=[1, 2], correct_by_vna=True, enable_use_ratio=False, enable_switch_term=False)
Execute a VNA measurement.
Wraps SENTIO's "qal:measurement_execute" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
file_name |
str
|
The path to the SNP file. |
required |
ports |
List[int]
|
A list of port numbers used for the measurement (e.g. [1, 2]). |
[1, 2]
|
correct_by_vna |
bool
|
Whether to apply VNA correction (True/False). |
True
|
enable_use_ratio |
bool
|
Whether to enable 'Use Ratio b/a' (True/False). |
False
|
enable_switch_term |
bool
|
Whether to enable switch term (True/False). |
False
|
Raises:
| Type | Description |
|---|---|
ProberException
|
If the remote command returns an error. |
reset_ets()
Reset error terms in the buffer.
Wraps SENTIO's "qal:reset_ets" remote command.
send_ets_to_vna(cal_set_name)
Send current error terms in QAlibria buffer to the VNA.
Wraps SENTIO's "qal:send_ets_to_vna" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
cal_set_name |
str
|
The name of the cal set in the VNA (e.g. "cal_set_p12"). |
required |
set_calibration_drift_probe12()
Function for setting calibration drift for probe 1 and 2.
Deprecated since Sentio 26.1
This function is obsolete and will be removed in a future release.
set_ets(port, path, ets_mode=0)
Set error terms in the buffer.
Wraps SENTIO's "qal:set_ets" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
port |
int
|
Port of error terms (e.g. 12). |
required |
path |
str
|
Path to the error terms file in the buffer (e.g. "D:\temp\ets.txt"). |
required |
ets_mode |
int
|
An integer parameter as defined by the remote command spec (default is 0). |
0
|
Raises:
| Type | Description |
|---|---|
ProberException
|
If the remote command returns an error. |
start_calibration()
function for starting calibration.
Deprecated since Sentio 26.1
This function is obsolete and will be removed in a future release. Please use calibration_execute instead.
verify_calibration_drift()
A Function for verifying calibration drift.
Deprecated since Sentio 26.1
This function is obsolete and will be removed in a future release. Please use calibration_drift_verify instead.
verify_calibration_drift_dut(dut)
Function for verifying calibration drift with a specific DUT.
Deprecated since Sentio 26.1
This function is obsolete and will be removed in a future release. Please use calibration_drift_verify(dut_name, ...) instead.
vna_query(vna_command)
Query a remote command from the VNA and return the response.
Wraps SENTIO's "qal:vna_query" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
vna_command |
str
|
The remote command to query the VNA (e.g. ":SENS1:FREQ:STAR?"). |
required |
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
The response string from the VNA. |
vna_read()
Read data from the VNA.
Wraps SENTIO's "qal:vna_read" remote command.
Returns:
| Name | Type | Description |
|---|---|---|
str |
str
|
The data in the VNA buffer. |
vna_write(vna_command)
Write a remote command to the VNA.
Wraps SENTIO's "qal:vna_write" remote command.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
vna_command |
str
|
The remote command to send to the VNA (e.g. ":SENS1:FREQ:STAR 1.0E9"). |
required |
handler: python options: members: QAlibriaCommandGroup