
Section 11: TSP command reference
Series 3700A System Switch/Multimeter Reference Manual
11-316
3700AS-901-01 Rev. D/June 2018
Example 3
scan.create("3001:3010", "testDCV")
For this example, assume
testDCV
is a
previously defined user DC volts
configuration.
Clears the old scan list and creates a new
scan list with each channel (1 to 10 on
slot 3).
Each channel uses the DMM configuration
associated with
testDCV
.
Example 4
scan.create("")
for chan = 3001, 3010 do
scan.add("" .. chan, "testDCV")
scan.add("" .. chan, "test2wire")
end
For this example, assume
testDCV
is a
previously defined user DC volts
configuration, and
test2wire
is a
previously defined user 2-wire ohm
configuration.
This loops through the channels, adding
channels to the scan list. The first time, it
adds
"testDCV"
for a channel. The second
time, it adds
"test2wire"
for that channel.
The first parameter
("" .. chan)
converts
the chan number to a string.
Clears the old scan list and creates a new
scan list.
Loops through channels 3001 to 3010.
Adds channels 3001 through 3010 to the end
of the existing scan list.
Also see
(on page 11-181)
(on page 11-227)
(on page 11-309)
(on page 11-324)
(on page 5-23)