mirror of
https://github.com/jankae/LibreVNA.git
synced 2025-12-06 07:12:10 +01:00
libraVNA.cmd() no longer expects blank line responses. By default, it checks status after each command to match the previous behavior. Check can be disabled by optional cmd() parameter for handling expected failure cases. Commands such as *WAI may take longer than anything previously. Make it possible to override the default time-out in cmd() and query(). Change poll loops in TestCalibration and TestVNASweep to *WAI calls. |
||
|---|---|---|
| .. | ||
| .gitignore | ||
| deembedding_test.py | ||
| libreVNA.py | ||
| README.md | ||
| retrieve_trace_data.py | ||
| simple_generator_control.py | ||
SCPI Programming Examples
This directory contains some basic examples, demonstrating the scripting capabilities of the LibreVNA using the SCPI interface. They are only intended as a starting point, for the complete list of available commands see the SCPI Programming Guide.
How to run the examples
- Connect the LibreVNA to your computer
- Start the LibreVNA-GUI and make sure that the SCPI server is enabled (Window->Preferences->General). The examples use the default port (19542).
- Use python3 to run an example