Section 5: Introduction to TSP operation
Models 707B and 708B Switching Matrix Reference Manual
5-20
707B-901-01 Rev. B / January 2015
Command structure
The DDC structure of the Model 707A or 708A instrument is based on a single ASCII capital letter
with possible alphanumeric arguments and terminated with the "X" execute command.
The Model 707B or 708B instrument uses a modern dot notation format that logically organizes
commands by family, subset 1, subset 2 – optional, and argument. For example:
channel.open("allslots")
Stored program flow control
DDC programming depended on an additional programming environment to send commands to the
707A or 708A instrument. This provided options for program flow control, but at the expense of added
complexity.
The TSP scripting environment uses the Lua programming language, providing a robust and cohesive
flow control framework.
DDC to ICL command equivalencies
In many cases, DDC commands have a single corresponding ICL equivalent command that performs
the same or a similar function.
In some cases, more than one ICL command is needed to provide the same functionality of its
equivalent DDC counterpart because of the expanded capabilities and additional flexibility of the TSP
scripting environment.
The following sections describe the equivalent commands or sets of commands.
Commands with one-to-one equivalents
The commands in the following table are equivalent.
Commands with one-to-one equivalents
DDC
TSP equivalent command
Description
Crc
channel.close(channelList)
Closes a channel
Nrc
channel.open(channelList)
Opens a channel
Hn
display.sendkey()
Emulates a keypress
P0
channel.open("allslots")
Opens all channels on all slots
R0
reset()
Restore factory defaults
U2, 0
channel.getclose("allslots")
Get closed channels on all slots
X
No corresponding command
Execute
J0
No corresponding command
Self-test
U7
digio.readport()
Read value from digital I/O port