APS-7000 Programming Manual
40
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
:STATus:PRESet
:STATUS:PRESET
:status:preset
Short
form
STAT:PRES
stat:pres
Square Brackets
Commands that contain square brackets
indicate that the contents are optional. The
function of the command is the same with or
without the square bracketed items, as shown
below.
For example the query “:OUTPut[:STATe]?”
has two valid forms, “:OUTPut:STATe?” and
“:OUTPut?”.
Command
Format
P1,P2
1
2 3 4 5
H
E A D E R
1.
Command header
2.
Space
3.
Parameter 1
4.
Comma (no space
before/after comma)
5.
Parameter 2
All manuals and user guides at all-guides.com