Series 3700 System Switch/Multimeter Reference Manual
Section 9
:
Instrument Control Library (ICL)
Document Number: 3700S-901-01 Rev. A / August 2007
9-161
scan.create
Function
Creates a list of channels and/or channel patterns to scan.
Usage
scan.create(ch_list, dmm_config)
ch_list
: A string listing the channels and/or channel patterns to replace existing scan
list.
dmm_config
: Optional string listing DMM configuration(s) to use with items in ch_list.
Remarks
Use this function to replace an existing list of channels and/or channel patterns to scan.
The existing scan list is lost after this command. These items purge the old list and start
a new scan list. The items in ch_list will be scanned in the order specified in the
parameter list.
If the optional dmm_config parameter is not specified then, the configuration
(dmm.setconfig, dmm.getconfig) associated with that channel or channel pattern will be
used. However, if a dmm_config is specified then, that configuration is used for each
channel or channel pattern specified in a temporary override mode. It does not modify
the assigned configuration of a channel or channel list.
An error will occur if:
a specified channel does not exist.
a specified channel pattern does not exist (slot empty or not on card).
a syntax error exists in parameter string.
an empty parameter string for dmm_config parameter.
a specified DMM configuration does not exist.
an analog backplane relay is specified.
a connection method is different for at least one channel involved in the scan.
The scan list of channels or channel patterns will not be updated if any error occurs
during processing of the command.
Factory default is an empty scan list of channels and DMM configurations. The function
scan.reset
(on page 9-166) clears the list.
To clear the list, send an empty string for the ch_list parameter.
Also see
scan.add
(on page 9-157)