LibreVNA/Documentation/UserManual/SCPI_Examples
Scott Guthridge 95e59769fd Update integration tests for SCPI improvements
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.
2024-04-18 00:54:14 -07:00
..
.gitignore Simple python script for demonstrating SCPI programming 2021-04-15 20:06:23 +02:00
deembedding_test.py De-embedding example scipt 2023-07-16 12:35:27 +02:00
libreVNA.py Update integration tests for SCPI improvements 2024-04-18 00:54:14 -07:00
README.md fix link 2021-04-15 20:17:08 +02:00
retrieve_trace_data.py SA/GEN integration tests + bugfixes 2022-11-20 20:48:36 +01:00
simple_generator_control.py Simple python script for demonstrating SCPI programming 2021-04-15 20:06:23 +02:00

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

  1. Connect the LibreVNA to your computer
  2. Start the LibreVNA-GUI and make sure that the SCPI server is enabled (Window->Preferences->General). The examples use the default port (19542).
  3. Use python3 to run an example