SCPI Command Reference¶
SCPI Commands¶
SignalShark supports the SCPI standard for remote controlled operation.
Standard Commands for Programmable Instruments (SCPI) is a standard that defines a syntax and command structure to remotely control measurement devices. The data exchange is text-based in ASCII format. For use in Python, data such as level or GNSS values must be converted from ASCII text to the corresponding Python data types.
The ‘nardascripting’ API takes care of the communication with the instrument and wraps most of the ASCII-based SignalShark SCPI commands to Python methods that also handle parsing and data type conversion.
The available commands are divided into groups for a better overview.
The field ‘scpi’ provides access to the different SCPI command groups and supports some additional helper functions:
1 2 3 4 5 | # Sends the SCPI command 'DISPlay:UNIT?' from the SCPI group display.
self.signalshark.scpi.display.get_unit()
# Helper function to check SCPI error queue.
self.signalshark.scpi.check_error()
|
For a detailed description of the field 'self.signalshark.scpi' see:
The following list shows all SignalShark SCPI command groups supported by this API. Click on a command group to see information about the supported SCPI commands and the associated parameters and return values.
List of supported SCPI command groups::
You can also use the search page to find information about a specific SCPI command:
Special Data Types¶
Special Data Types: