COMMAND OVERVIEW
103
Query
A query is a simple or compound
command followed by a question mark
(?). A parameter (data) is returned.
Example
SENSe:RANGe?
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 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
CALCulate:COMPare:BEEPer
CACLULATE:COMPARE:BEEPER
calculate:compare:beeper
Short form
CALC:COMP:BEEP
calc:comp:beep
Command
Format
1. Command header
2. Space
3. Parameter
Common Input
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 with
exponent
4.5e-1,8.25e+1
www.
GlobalTestSupply
.com
Find Quality Products Online at: