The Pico SCPI labTool (PST) allows you to connect your PC to equipment to control and monitor all sorts of things. It runs on a Raspberry Pico. This will enable the pattern: build little instruments, with cheap Picos, that can do great things. |
How does this work?
There's a new github project for the PSL. As much as possible of the common infrastructure is moved into the lib:
- usbtmc handling
- standard SCPI command definition and handling, including error handling, status byte management and service request support,
The PST project has significantly slimmed down. It doesn't have to deal with the core functionality anymore, and can focus on the instrument functions:
- DIGI IN
- DIGI OUT
- ANA IN
- HIRES ANA IN
- ANA OUT
- instrument specific registers
- naming for the USBTMC instrument
- naming for the *IDN? string
For someone who wants to check out the instrument code: you will automatically also download the library.
Use this clone command, with submodules enabled, to fetch the code:.
git clone https://github.com/jancumps/pico_scpi_usbtmc_labtool.git --recurse-submodules
The build command works as before. The PST make file will automatically also call the PSL make file.
As usual, the release also provides the firmware precompiled and ready to load in .uf2 format.
Want to start your own firmware project? |
There are no functional changes in this release. That makes it easier to validate if this refactoring introduces regression.