VX4380 256-Crosspoint Relay Matrix Module User Manual
3–1
Command Syntax
Command protocol and syntax for the VX4380 Module are as follows:
H A command string consists of a string of ASCII-encoded characters
terminated by a <program message terminator>. The <program message
terminator> is optional white space, followed by any one of the following
command terminations:
a line feed <LF> or new line <NL> character (hexadecimal 0A,
decimal 10)
the END bit set
the END bit with a line feed <LF> or new line <NL>
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<LF>
route:open:all m2<LF>
route:open:all m3<LF>
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<LF>
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<LF>
is parsed, the command
all m2<LF>
is no longer valid.