Keithley 708B Reference Manual page 207

Switching matrix
Hide thumbs Also See for 708B:
Table of Contents

Advertisement

Section 6: Instrument programming
Type of
comment
Short comment
Long comment
Lua reserved words
You cannot use the following words for function or variable names.
and
break
do
else
elseif
end
false
In addition to the Lua reserved words, you also cannot use command group names as variable
names. Doing so will result in the loss of use of the command group. For example, if you send the
command digio = 5, you cannot access the digio.* ICL commands until you cycle the power to the
instrument. These groups include:
beeper
bit
channel
digio
display
eventlog
errorqueue
format
6-16
Comment
Usage
delimiters
Use when the
--
comment text is short
enough that it will not
wrap to a second line.
Use when the
--[[
]]
comment text is long
enough that it wraps to
additional lines. The
double left brackets
signal the beginning of
the multi-line comment,
and the double right
brackets signal the end
of the comment.
for
or
function
repeat
if
return
in
then
local
true
nil
until
not
while
gpib
lan
scan
slot
status
timer
trigger
tsplink
Models 707B and 708B Switching Matrix Reference Manual
Example
--Disable the front-panel LOCAL key.
display.locallockout = display.lock
--[[Displays a menu with three menu
items. If the second menu item is
selected, the selection will be
given the value Test2.]]
selection = display.menu(
"Sample Menu", "Test1 Test2 Test3")
print(selection)
707B-901-01 Rev. A / August 2010

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents