
67
Setting
A single or compound command
with/without a parameter
Example
MANU:STEP 1
Query
A query is a simple or compound
command followed by a question mark
(?). A parameter (data) is returned.
Example
MANU:ACW:VOLTage?
Command Forms
Commands and queries have two different forms, long and
short. The command syntax is written with the short form of
the command in capitals and the remainder (long form) in
lower case.
The commands can be written in capitals or lower-case, just
so long as the short or long forms are complete. An
incomplete command will not be recognized.
Below are examples of correctly written commands.
Long form
SYSTem:BUZZer:KEYSound
SYSTEM:BUZZER:KEYSOUND
system:buzzer:keysound
Short form
SYST:BUZZ:KEYS
syst:buzz:keys
Command Format
1
3
2
MANU:STEP 100
1. Command header
2. Space
3. Parameter
Parameters
Type
Description
Example
<Boolean>
Boolean logic
0, 1
<NR1>
integers
0, 1, 2, 3
<NR2>
decimal numbers 0.1, 3.14, 8.5
<NR3>
floating point
4.5e-1, 8.25e+1
<NRf>
any of NR1, 2, 3
1, 1.5, 4.5e-1
<string>
ASCII text string
TEST_NAME
Message
Terminator
CR, LF
Carriage Return, Line feed code