Command Forms
Square Brackets
Command types
Simple
Example
Query
Example
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 either 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
:INPut:SYNChronize VOLTage
:COMMunicate:HEADer ON
:INP:SYNC VOLT
Short form
:COMM:HEAD ON
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, for the query:
[:INPut]:FILTer?
Both :INPut:FILTer? and :FILTer? are valid forms.
COMMAND OVERVIEW
A single command
with/without a parameter
:INPut:MODE DC
A query is a simple or
compound command
followed by a question mark
(?). A parameter (data) is
returned.
:INPut:CFACtor?
117