Keithley 3700 series Reference Manual page 303

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

Advertisement

Series 3700 System Switch/Multimeter Reference Manual
scan.add
Example
scan.background
Function
Usage
Document Number: 3700S-901-01 Rev. A / August 2007
To clear the old scan list without resetting the entire scan configuration aspects:
scan.create("")
To clear the old scan list and to create a new scan list with channels 1 to 10 on Slot 3
with DC volts on all 10 channels and then two wire ohms on all 10 channels:
scan.create("")
scan.add("3001:3010", "myDCV")
scan.add("3001:3010", "my2wire")
To clear the old scan list and to create a new scan list with channels 1 to 10 on Slot 3
with DC volts and then two wire ohms on each step:
scan.create('')
for chan = 3001, 3010 do
scan.add('' .. chan, 'myDCV')
scan.add('' .. chan, 'my2wire')
end
With respect to the scan.add function in the above example, the first parameter
Note
('' .. chan, converts the chan number to a string.
Specifies the reading buffer to use during scanning and the scan runs in the
background.
state, scancount, stepcount,
reading = scan.background(rb_buffer)
rb_buffer: Reading buffer to use during scanning.
state: The result of scanning:
scan.EMPTY or 0
scan.BUILDING or 1
scan.RUNNING or 2
scan.ABORTED or 3
scan.FAILED or 4
scan.FAILED_INIT or 5,
scan.SUCCESS or 6
scancount: is current scan count completed
stepcount: is current step count completed
reading: is the last reading of scan completed. This parameter is optional. If a reading
buffer is not specified, the scan does not store the readings.
Section 9: Instrument Control Library (ICL)
9-159

Advertisement

Table of Contents
loading

Table of Contents