EasyManuals Logo

Keithley DMM7510 Reference Manual

Keithley DMM7510
1036 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #589 background imageLoading...
Page #589 background image
Section
7: Introduction to TSP commands Model DMM7510 7½ Digit Graphical Sampling Multimeter
Reference Manual
7-18 DMM7510-901-01 Rev. B / May 2015
Operator precedence
Operator precedence in Lua follows the order below (from higher to lower priority):
^ (exponentiation)
not, - (unary), ! (logical NOT)
*, /, <<, >>
+, -, &, |, ^^
.. (concatenation)
<, >, <=, >=, ~=, !=, ==
and
or
You can use parentheses to change the precedences in an expression. The concatenation ("..") and
exponentiation ("^") operators are right associative. All other binary operators are left associative. The
examples below show equivalent expressions.
Equivalent expressions
reading + offset < testValue/2+0.5
=
(reading + offset) <
((testValue/2)+0.5)
3+reading^2*4
=
3+((reading^2)*4)
Rdg < maxRdg and lastRdg <=
expectedRdg
=
(Rdg < maxRdg) and (lastRdg <=
expectedRdg)
-reading^2
=
-(reading^2)
reading^testAdjustment^2
=
reading^(testAdjustment^2)
Functions
With Lua, you can group commands and statements using the function keyword. Functions can
take zero, one, or multiple parameters, and they return zero, one, or multiple values.
You can use functions to form expressions that calculate and return a value. Functions can also act
as statements that execute specific tasks.
Functions are first-class values in Lua. That means that functions can be stored in variables, passed
as arguments to other functions, and returned as results. They can also be stored in tables.
Note that when a function is defined, it is stored in the run-time environment. Like all data that is
stored in the run-time environment, the function persists until it is removed from the run-time
environment, is overwritten, or the instrument is turned off.
Create functions using the function keyword
Functions are created with a message or in Lua code in either of the following forms:
function myFunction(parameterX) functionBody end
myFunction = function (parameterX) functionBody end

Table of Contents

Other manuals for Keithley DMM7510

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Keithley DMM7510 and is the answer not in the manual?

Keithley DMM7510 Specifications

General IconGeneral
Resolution7.5 digits
DC Voltage Range100 mV to 1000 V
AC Voltage Range100 mV to 750 V
DC Current Range10 µA to 10 A
Resistance Range10 Ω to 1 GΩ
Sampling Rate1 MS/s
Memory27.5 million readings
Display5 inch capacitive touchscreen
AC Voltage Accuracy±0.06% of reading
AC Current Range10 A
ConnectivityUSB, LAN, GPIB

Related product manuals