Command syntax – Tektronix 070-9180-01 User Manual
Page 27

Option 01 VXI Interface Module User Manual
3–1
Command Syntax
Command protocol and syntax for the Option 01 daughter board are as follows:
H A command string consists of a string of ASCII-encoded characters
terminated by a
command terminations:
a line feed
10)
the END bit set
the END bit with a line feed
The command string is buffered until the terminator is encountered, at which
time the entire string is processed.
H In addition to terminating a command, the semi-colon character directs the
SCPI command parser to interpret the next command with the assumption
that all characters up to and including the last colon in the previous
command have just been parsed. In the following example, the Option 01 is
installed on a VX4380 Module. Two additional VX4380 Modules are
installed in consecutive slots to the right of the first VX4380. Under these
conditions, the commands
route:open:all m1
route:open:all m2
route:open:all m3
cause all relays on all three VX4380 Modules to open. Note that each of
these commands is terminated by a line feed. An equivalent method of
sending these commands using the semi-colon character as a terminator is
route:open:all m1; all m2; all m3
After a line feed or END bit is used to terminate a command, the parser no
longer makes the assumption described above. Thus, after the command
route:open:all m1; all m2
is parsed, the command
all m2
is no longer valid.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
