VTI Instruments Corp.
24
VM3608A/3616A Programming
The following command is
not
correct because it uses part of the long form of
TRIGger
, but not
all the characters of the long form:
TRIGG:SOUR EXT
(incorrect syntax - extra "g"- only trig or trigger is correct)
All of the SCPI commands also have a query form unless otherwise noted. Query forms contain a
question mark (?). The query form allows the system to ask what the current setting of a parameter
is. The query form of the command generally replaces the parameter with a question mark (?).
Query responses do not include the command header. This means only the parameter is returned:
no part of the command or "question" is returned.
When character data is used for a parameter, both short and long forms are recognized. If the
command has a query form with character response data, the short form is always returned in upper
case. As an example, to find out what the current trigger source setting is use the following
command:
TRIG:SOUR?
The response would be:
EXT
This tells the user that the trigger is set to an external source.
Multiple commands can also be combined on one line. To do this, terminate one command with a
semicolon and start the next command with a colon. As an example, the trigger source can be set to
a positive edge and an output trigger line can be enabled as follows:
TRIG:SOUR EXT;:OUTPUT:TTLTRG1 ON
The IEEE-STD-488.2 Common Commands can be placed anywhere set off from the rest of the
command by a semicolon. They can also be placed alone on a line. For example, place the
*rst
command in front of a setting string as follows:
*RST;OUT:TTLT 3
Note that the
OUT:TTLT
command set did not require a leading colon (:) because there was no
prior trunk of the SCPI tree.
N
OTATION
Keywords or parameters enclosed in square brackets ([ ]) are optional. If the optional part is a
keyword, the keyword can be included or left out. Omitting an optional parameter will cause its
default to be used.
Parameters are enclosed by angle brackets (< >). Braces ({ }),or curly brackets, are used to enclose
one or more parameters that may be included zero or more times. A vertical bar (|), read as "or", is
used to separate parameter alternatives.
Содержание VM3608A
Страница 2: ...VTI Instruments Corp 2 ...
Страница 6: ...VTI Instruments Corp 6 VM3608A 3616A Preface ...
Страница 12: ...VTI Instruments Corp 12 VM3608A 3616A Preface ...
Страница 18: ...VTI Instruments Corp 18 VM3608A 3616A Introduction ...
Страница 134: ...VTI Instruments Corp 134 VM3608A 3616A Command Dictionary ...