Models 707B and 708B Switching Matrix Reference Manual
Section 6: Instrument programming
707B-901-01 Rev. B / January 2015
6-29
Programming example: Script with a for loop
The following script puts a message on the front panel display slowly — one character at a time. The
intent of this example is to demonstrate:
•
The use of a
for
loop
•
Simple display remote commands
•
Simple Lua string manipulation
When creating a script using the TSB Embedded, you do not need the shell commands
loadscript
and
endscript
, as shown in the examples below.