This is a small collection of CLI tools using standard Berkeley sockets to communicate with laboratory equipment using SCPI. These tools only support a small subset of SCPI and the device commands - and do not provide any device family abstraction or device abstraction layer like libscpi. These tools have been written as a quick hack to play around with SCPI, test how commands work and solve some specific scriptable problems.
These utilities are open source and licensed under a 4 clause BSD license. See LICENSE.md
Use gnu make. Depending on your system this means either
gmake
or
make
- Oscilloscopes
- RIGOL MSO5072
- Signal generators
- SIGLENT SSG3021X
- Signal analyzers
- SIGLENT SSA3021X
The following CLI tools are supplied along with the libraries to allow fast scripting of simple tasks. For more complex tasks one should use the library directly. These CLI tools also serve as examples on how to use the API.
- RIGOL MSO5072
rigolmso5000_idn
queries the identity string and serial numberrigolmso5000_querywaveform
queries the waveform from a selected channel into an ASCII data file using the currently selected settings
- SIGLENT SSG3021X
siglentssg3021x_idn
queries the identity string and serial numbersiglentssg3021x_rfonoff
enables or disables the RF outputsiglentssg3021x_setfrq
sets the frequency (in Hz) on the RF outputsiglentssg3021x_setpow
sets the power (in dBm) on the RF output
- SIGLENT SSA3021X
siglentssa3021x_idn
queries the identity string and serial number