Keithley DMM7510 Reference Manual page 584

7 1/2 digit graphical sampling multimeter
Hide thumbs Also See for DMM7510:
Table of Contents

Advertisement

Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
Function and variable name restrictions
You cannot use Lua reserved words and top-level command names for function or variable names.
Variable names must contain at least three characters.
The following table lists some of the Lua reserved words. If you attempt to assign these, the event
code -285, "TSP Syntax error at line x: unexpected symbol near 'word' " is displayed, where word is
the Lua reserved word.
Lua reserved words
and
break
do
else
elseif
end
false
Values and variable types
In Lua, you can use variables to store values in the run-time environment for later use.
Lua is a dynamically-typed language; the type of the variable is determined by the value that is
assigned to the variable.
Variables in Lua are assumed to be global unless they are explicitly declared to be local. A global
variable is accessible by all commands. Global variables do not exist until they have been assigned a
value.
DMM7510-901-01 Rev. B / May 2015
for
or
function
repeat
if
return
in
then
local
true
nil
until
not
while
Section 7: Introduction to TSP commands
7-13

Advertisement

Table of Contents
loading

Table of Contents