Display User-Defined Messages; User Scripts; Script Examples - Keithley 3700 series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700 series:
Table of Contents

Advertisement

Series 3700 System Switch/Multimeter Reference Manual
Command
data=digio.readbit(4)
print(data)

Display user-defined messages

The operator can define and display messages on the front panel display of the Series 3700.
The following code fragment displays the ―Test in Process‖ message on the Series 3700 display:
Command
display.clear
display.settext("Test in Process")
Displayed messages and input prompts are used in scripts to prompt the operator to enter
parameter values from the front panel. See ―Interactive script‖ (later in this section) for more
information.

User scripts

User scripts can be written using your own program or the Test Script Builder. User scripts are
loaded into the Series 3700 and can be saved in nonvolatile memory. Scripts not saved in
nonvolatile memory will be lost when the Series 3700 is turned off.

Script examples

Script using commands and statements only
The following script closes Channels 1-10 on Slot 3 and measures voltage on each channel. the
five voltage readings are returned to the host computer.
Close and measure examples script follow:
Test script builder example
voltage = { }
reset()
for j = 3001,3010 do
end
Document Number: 3700S-901-01 Rev. A / August 2007
channel.exclusiveclose('3911' ..j)
voltage[j] = dmm.measure()
print(voltage[j])
Section 2: TSP Programming Fundamentals
Description
Reads
PC
Description
Clears
Displays
2-13

Advertisement

Table of Contents
loading

Table of Contents