
Series 3700A System Switch/Multimeter Reference Manual
Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018
11-309
When a scan is aborted, the channels remain in the opened or closed states that they were in when
the scan was aborted.
Example
scan.background()
scan.abort()
Starts background scan, and then aborts the
scan.
Also see
(on page 11-313)
(on page 5-23)
scan.add()
This function adds channels to the scan list.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
scan.add("
channelList
")
scan.add("
channelList
", "
dmmConfig
")
scan.add("
channelList
",
width
)
channelList
String specifying channels to add using normal channel list syntax
dmmConfig
String listing the DMM configuration to use with items in
channelList
width
Value that specifies the width of the channel read to use with items in
channelList
Details
Use this function to add channels and channel patterns to the present scan list. If the scan list does
not exist, it also creates a scan list. See
scan.create()
for information about creating a scan list.
Channels and channel patterns added using this command are added to the end of the present list
(appended) in the same order as specified in the channel list. In addition, the added channels are
scanned in the order specified in
channelList
. Specifying multiple channels adds multiple steps to
the scan.
The configuration of each channel or channel pattern, which is associated with
dmm.setconfig()
and
dmm.getconfig()
, is used unless the optional
dmmConfig
parameter is specified. Specifying
the
dmmConfig
parameter temporarily overrides the configuration associated with the channel or
channel pattern. Specifying
dmmConfig
does not modify the assigned configuration of a channel or
channel pattern.
The scan list of channels (or channel patterns) is not updated if an error occurs during processing of
the function. However, steps that were already added to the scan list are updated even if an error is
detected, because each channel is added as a separate step when you add multiple channels to
channelList
.
For digital I/O or totalizer channels, each created scan step instructs the scan to read the selected
channel and then save the value into the specified reading buffer. If you do not specify a reading
buffer, the channel is read but the value is not saved.