EasyManuals Logo

Keithley 2461 Reference Manual

Keithley 2461
1109 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 #636 background imageLoading...
Page #636 background image
Section
7: Introduction to TSP operation Model 2461 Interactive SourceMeter® Instrument Re
ference Manual
7-16 2461-901-01 A/November 2015
Example 1
print(10 or eventlog.next())
print(nil or "a")
print(nil and 10)
print(false and eventlog.next())
print(false and nil)
print(false or nil)
print(10 and 20)
Output:
10
a
nil
false
false
nil
20
Example 2
hex = function (i) return "0x"..string.format("%X", i) end
print(hex(0x54 | 0x55))
print(hex(0x54 & 0x66))
Set the format to return hexadecimal values, then OR two hexadecimal values and AND two
hexadecimal values.
Output:
0x55
0x44
Example 3
hex = function (i) return "0x"..string.format("%X", i) end
a, b= 0b01010100, 0b01100110
print(hex(a), "&", hex(b), "=", hex(a & b))
Set the format to return hexadecimal values, define binary values for a and b, then AND a and b.
Output:
0x54 & 0x66 = 0x44
String concatenation
String operators
Operator Description
..
Concatenates two strings. If either argument is a number, it is coerced to a string (in
a reasonable format) before concatenation.
Example: Concatenation
print(2 .. 3)
print("Hello " .. "World")
Output:
23
Hello World

Table of Contents

Other manuals for Keithley 2461

Questions and Answers:

Question and Answer IconNeed help?

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

Keithley 2461 Specifications

General IconGeneral
Maximum Current7 A
Power100 W
Resolution6.5 digits
Source Measure Unit (SMU)Yes
DC Voltage100 V
Maximum Voltage100 V
Display5-inch capacitive touchscreen
ConnectivityUSB, GPIB
SoftwareTSP
DC Current7 A
Current Source Range0 to 7 A
Voltage Measurement Range100 mV to 100 V
Current Measurement Range10 nA to 7 A
Voltage Measurement Resolution100 nV

Related product manuals