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 #590 background imageLoading...
Page #590 background image
Model DMM7510
7½ Digit Graphical Sampling Multimeter Reference Manual Section 7:
Introduction to TSP commands
DMM7510-901-01 Rev. B / May 2015 7-19
Where:
myFunction: The name of the function.
parameterX: Parameter names. To use multiple parameters, separate the names with commas.
functionBody: The code that is executed when the function is called.
To execute a function, substitute appropriate values for parameterX and insert them into a message
formatted as:
myFunction(valueForParameterX, valueForParameterY)
Where valueForParameterX and valueForParameterY represent the values to be passed to
the function call for the given parameters.
The output you get from these examples will vary depending on the data format settings of the
instrument.
Example 1
function add_two(first_value,
second_value)
return first_value + second_value
end
print(add_two(3, 4))
Creates a variable named
add_two
that
has a variable type of function.
Output:
7
Example 2
add_three = function(first_value,
second_value, third_value)
return first_value + second_value +
third_value
end
print(add_three(3, 4, 5))
Creates a variable named add_three
that has a variable type of function.
Output:
12
Example 3
function sum_diff_ratio(first_value,
second_value)
psum = first_value + second_value
pdif = first_value - second_value
prat = first_value / second_value
return psum, pdif, prat
end
sum, diff, ratio = sum_diff_ratio(2, 3)
print(sum)
print(diff)
print(ratio)
Returns multiple parameters (sum,
difference, and ratio of the two numbers
passed to it).
Output:
5
-1
0.66666666666667

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