Models 707B and 708B Switching Matrix Reference Manual
Section 6: Instrument programming
707B-901-01 Rev. A / August 2010
6-3
What can be included in scripts?
Scripts can include combinations of commands, instrument control commands, and Lua code.
Commands tell the instrument to do one thing.
Instrument control commands are commands that are specific to instrument control. They are similar
to commands sent to a conventional instrument. Each TSP-enabled instrument has an Instrument
Control Library (ICL) specific to that instrument, as described in the
Instrument Control Library (ICL)
(on page 7-8).
Lua is a scripting language that is described in
Fundamentals of programming for TSP
Commands that cannot be used in scripts
While the instrument accepts the following commands, you cannot use these commands in scripts.
Commands that cannot be used in scripts
General commands
IEEE Std. 488.2 common commands
abort
endflash
endscript
flash
loadscript
loadandrunscript
password
*CLS
*ESE
*ESE?
*ESR?
*IDN?
*OPC
*OPC?
*RST
*SRE
*SRE?
*STB?
*TRG
*TST?
*WAI
Manage scripts
This section describes how to create scripts by sending commands over the remote interface and
using TSB Embedded.
You can:
•
(on page 6-4)
•
(on page 6-7)
•
Save the anonymous script as a named script
(on page 6-9)
•