System information
17-Nov-2014 G2T Programmers Guide Rev-A
35
5.2.2. Syntax Conventions
The following outlines the proper syntax of the commands for the
488.2 protocol:
•
Words in the format XXXxxxxx represent keywords. The upper case
part is required; the lower case part is optional. Any combination
of upper and lower case characters is acceptable (example:
CONnect - the CON is required and minimally acceptable).
• Italicized words represent values (example: output)
• [ ] represents optional words or combinations, | means that a
choice can be made among the possibilities.
• Numbers must be whole numbers in base 10. Leading zeros are
ignored. As a departure from the 488.2 protocol, decimal
numbers, scientific notation and arithmetic expressions are not
accepted.
• Where spaces are shown, at least one space must appear unless
there's a comma. An arbitrary number of spaces can be used in
addition to the required one.
• A "compound" command may be formed by placing a ;
between commands.
• A command must be terminated with the ASCII linefeed
character (0x0a, 10, or Ctrl-J).
• Responses are sent only in reply to queries (commands which end
with “?”).
The switching mode for the system may be enabled in AUTO-
ROUTE or GANGED mode. AUTO-ROUTE mode does not need the
“MODule” parameter in the command syntax for the following
commands:
• CONnect
• DISconnect
• QUEry
NOTE: For additional information about the functionality of
MODES, please refer to the REMOTE CONTROL INFORMATION
Section 6.