Keithley 3700 series Reference Manual page 306

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

Advertisement

Section 9: Instrument Control Library (ICL)
scan.create
Example
scan.execute
Function
Usage
9-162
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.create("3001:3010", "myDCV")
scan.create("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
NOTE With respect to the scan.add function in the above example, the first parameter
('' .. chan, converts the chan number to a string.
Scan is run in immediate mode. This function also optionally specifies the reading buffer
to use during scanning.
state, scancount, stepcount,
reading = scan.execute(rb_buffer)
rb_buffer: Optional 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.
Series 3700 System Switch/Multimeter Reference Manual
Document Number: 3700S-901-01 Rev. A / August 2007

Advertisement

Table of Contents
loading

Table of Contents