Chapter 3 3-3
GPIB Programming
Analyzer Command Syntax
Some codes require appendages (ON, OFF, 1, 2, etc.). Codes that do not have a front-panel
equivalent are GPIB only commands. They use a similar convention based on the common
name of the function.
Valid Characters
The analyzer accepts the following ASCII characters:
• letters
• numbers
• decimal points
•+/−
• semicolons (;)
• quotation marks (“)
• carriage returns (CR)
• linefeeds (LF)
Both upper- and lower-case letters are acceptable. Carriage returns, leading zeros, spaces,
and unnecessary terminators are ignored, except for those within a command or
appendage. If the analyzer does not recognize a character as appropriate, it generates a
syntax error message and recovers at the next terminator.
Table 3-1 Code Naming Convention
Convention Key Title For GPIB Code Use Example
One word First four letters POWE
STAR
Two words First three letters of first
word, first letter of second
word
ELED
SEAR
Two words in a
group
Four letters of both MARKCENT
GATESPAN
Three words First three Letters of first
word, first letter of second
word, first four letters of third
word
CALKN50
PENNDATA
Power
Start
→
→
Ω