Hantek — Command Abbreviations

SCPI Command introduction SCPI (Standard Commands for Programmable Instruments, abbreviation: SCPI) defines a set of standard syntax and commands for controlling programmable test and measurement instruments. SCPI commands are ASCII strings. It passes into the instrument through the physical transport layer. The command consists of a series of keywords, and some also need to include parameters. In the protocol, the command is specified as the following form: CONFigure. In use, you can write the full name or only the abbreviation that contains only uppercase letters. Usually, the feedback of the instrument to the query command is also ASCII code.

When transferring large amounts of data, binary data can also be used. Command format The command is composed of keywords and parameters. The keywords are separated by a colon ":", and the keywords are followed by optional parameter settings. If there is a "?" after the command line, it means the query function. The keyword and the first parameter must be separated by a space. For example: CHANnel1: BWLimit 20M CHANnel1: BWLimit? The first-level keyword is CHANnel, and the second-level keyword is BWLimit. The keywords at all levels are also separated by ":", 20M is the parameter, and the keywords are separated by spaces. The question mark "?" indicates a query.

Symbol Description The following symbols are not sent with the command. 1. Brace {} The contents in braces are parameter options. The parameter items are usually separated by a vertical bar "|". When using the command, one of the parameters must be selected. 2. Vertical Line | The vertical line is used to separate multiple parameter options, and one of the parameters must be selected when using the command. 3. Square Brackets [] The content in square brackets can be omitted. 4. Triangle Brackets The parameter in the triangle brackets must be replaced with a valid value. Command Abbreviations All commands are not case sensitive, you can use all uppercase or lowercase.

But if you want to abbreviate, you must enter all the capital letters in the Command format. For example: CHANnel1:BWLimit? Abbreviation CHAN:BWL? 1