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 #593 background imageLoading...
Page #593 background image
Section
7: Introduction to TSP commands Model DMM7510 7½ Digit Graphical Sampling Multimeter
Reference Manual
7-22 DMM7510-901-01 Rev. B / May 2015
Loop control
If you need to repeat code execution, you can use the Lua while, repeat, and for control
structures. To exit a loop, you can use the break keyword.
While loops
To use conditional expressions to determine whether to execute or end a loop, you use while loops.
These loops are similar to Conditional branching (on page 7-20
) statements.
while expression do
block
end
Where:
expression is Lua code that evaluates to either true or false
block consists of one or more Lua statements
The output you get from this example may vary depending on the data format settings of the
instrument.
Example: While
list = {
"One", "Two", "Three", "Four", "Five", "Six"}
print("Count list elements on numeric index:")
element = 1
while list[element] do
print(element, list[element])
element = element + 1
end
This loop exits when
list[element]
= nil.
Output:
Count list elements on
numeric index:
1 One
2 Two
3 Three
4 Four
5 Five
6 Six
Repeat until loops
To repeat a command, you use the repeat ... until statement. The body of a repeat statement
always executes at least once. It stops repeating when the conditions of the until clause are met.
repeat
block
until expression
Where:
block consists of one or more Lua statements
expression is Lua code that evaluates to either true or false
The output you get from this example may vary depending on the data format settings of the
instrument.

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