Commands with no arguments are run by passing an empty string to the call. Instrument properties can be queried by passing no arguments to the call. ![]() Generic SCPI commands can be executed by transforming the SCPI code in to attributes via the hierarchy relationship, then calling it. Install with python -m pip install easy-scpi API SCPI Commands Communication with instruments is done with PyVISA. This class is useful for inheritance when creating a controller for a specific instrument. After creating an instrument object that connects to an actual instrument, commands are sent to the instrument using a property-like format. A simple and robust library making communication with SCPI (Standard Control of Programmbale Instruments) instruments easy.
0 Comments
Leave a Reply. |