EasyManua.ls Logo

Keithley 3721-ST User Manual

Keithley 3721-ST
936 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 #344 background imageLoading...
Page #344 background image
Series 3700A System Switch/Multimeter Reference Manual Section 10: Instrument programming
3700AS-901-01 Rev. D/June 2018 10-33
Programming example: Script with a for loop
The following script puts a message on the front panel display slowly one character at a time. The
intent of this example is to demonstrate:
The use of a for loop
Simple display remote commands
Simple Lua string manipulation
When creating a script using the TSB Embedded, you do not need the shell commands
loadscript and endscript, as shown in the examples below.
Example: User script
User script created in TSB Embedded
User script created in user's own program
loadscript
display.clear()
myMessage = "Hello World!"
for k = 1, string.len(myMessage) do
x = string.sub(myMessage, k, k)
display.settext(x)
print(x)
delay(1)
end
display.clear()
myMessage = "Hello World!"
for k = 1, string.len(myMessage) do
x = string.sub(myMessage, k, k)
display.settext(x)
print(x)
delay(1)
end
endscript
Using Test Script Builder (TSB)
Keithley Instruments Test Script Builder (TSB) is a software tool that simplifies building test scripts.
You can use TSB to perform the following operations:
Send remote commands and Lua statements
Receive responses (data) from commands and scripts
Create, manage, and run user scripts
Debug scripts
Import factory scripts to view or edit and convert to user scripts
The Keithley Instruments Test Script Processor (TSP
®
) scripting engine is a Lua interpreter. In TSP-
enabled instruments, the Lua programming language has been extended with Keithley-specific
instrument control commands. For more information about using the Lua scripting language with
Keithley TSP-enabled instruments, refer to Fundamentals of programming for TSP (on page 10-15).

Table of Contents

Other manuals for Keithley 3721-ST

Question and Answer IconNeed help?

Do you have a question about the Keithley 3721-ST and is the answer not in the manual?

Keithley 3721-ST Specifications

General IconGeneral
TypeMultimeter
Model3721-ST
ManufacturerKeithley
Measurement FunctionsDC Voltage, AC Voltage, DC Current, AC Current, Resistance, Frequency, Temperature
Relay TypeElectromechanical
Temperature Range-200°C to 1820°C
AccuracyVaries by function and range
ResolutionVaries by function and range
DisplayLCD
InterfaceGPIB, RS-232
TopologyMultiplexer
Maximum Switching Voltage300 V
Maximum Switching Current1 A
Input Impedance>10 GΩ (DC Voltage ranges)

Related product manuals