Models 707B and 708B Switching Matrix Reference Manual
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
command reference
Lua is a scripting language that is described in
15).
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
abort
endflash
endscript
flash
loadscript
loadandrunscript
password
Manage scripts
This section describes how to create scripts by sending commands over the remote interface and
using TSB Embedded.
You can:
•
Create and load a script
•
Run the anonymous script
•
Save the anonymous script as a named script
•
Run scripts
707B-901-01 Rev. A / August 2010
(on page 7-8).
IEEE Std. 488.2 common commands
*CLS
*ESE
*ESE?
*ESR?
*IDN?
*OPC
*OPC?
(on page 6-4)
(on page 6-7)
(on page 6-6)
Section 6: Instrument programming
Instrument Control Library (ICL)
Fundamentals of programming for TSP
*RST
*SRE
*SRE?
*STB?
*TRG
*TST?
*WAI
(on page 6-9)
(on page 6-
6-3