
Series 3700 System Switch/Multimeter Reference Manual
Section 2
:
TSP Programming Fundamentals
Document Number: 3700S-901-01 Rev. A / August 2007
2-23
Stand-alone system
A script can be run from the front panel of any node (instrument) in the system. When a script is
run, all nodes in the system go into remote operation (REM annunciators turn on). The node
running the script becomes the Master and can control all of the other nodes, which become its
Slaves. When the script is finished running, all the nodes in the system return to local operation
(REM annunciators turn off), and the Master/Slave relationship between nodes is dissolved.
PC-based system
When using a computer, the GPIB, LAN, or USB interface to any single node becomes the
interface to the entire system. When a command is sent via one of these interfaces, all nodes go
into remote operation (REM annunciators turn on).
The node that receives the command becomes the Master and can control all of the other
nodes, which become its Slaves. In a PC-based system, the Master/Slave relationship between
nodes can only be dissolved by performing an abort.
Test script language (TSL) reference
Introduction
A script is a program that the Test Script Processor (TSP) executes. A script is written using the
Test Script Language (TSL). TSL is an efficient language, with simple syntax and extensible
semantics. TSL is derived from the Lua programming language, Copyright © 1994-2004
Tecgraf, PUC-Rio. See http://www.lua.org, the official web site for the Lua Programming
Language, for more information. Also, http://lua-users.org internet site is created for and by
users of Lua programming language and is another source of useful information.
Reserved words
and
function
return
elseif
nil
until
for
repeat
else
local
true
false
then
do
in
break
if
or
end
not
while