Scan.addwrite() - Keithley 3700A Series Reference Manual

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

Advertisement

Section 11: TSP command reference
channel.setpole("1001", 4)
scan.addimagestep("1001, 1911", "dcvolts")
scan.addimagestep("1101, 2202, 1911",
"dcvolts")
scan.addimagestep("1102, 2202, 1911",
"dcvolts")
scan.addimagestep ("1103, 2202,
1911","dcvolts")
Also see
channel.setbackplane()
channel.setpole()
scan.add()
(on page 11-309)
Scanning and triggering

scan.addwrite()

This function writes a specified value to a channel at the added step in the scan.
Type
TSP-Link accessible
Function
Yes
Usage
scan.addwrite("channelList", writeValue)
scan.addwrite("channelList", writeValue, width)
channelList
writeValue
width
Details
This command is similar to issuing channel.write() at the scan step. Specifying multiple channels
in channelList causes multiple steps to be added to the scan.
For digital I/O channels, only a width of 1, 2, 3, or 4 is supported. Any information (bits) greater than
the specified width are ignored. Values written to inputs are ignored. If no specified channel is set for
output, an error is generated. If a width crosses channels, only the channels set to output are
affected.
This is not available for backplane and switch channels.
For DAC channels, if the channel mode is changed after the scan is created, the scan is rebuilt. If the
write value is no longer compatible with the new mode, an error is generated and the scan becomes
invalid.
11-312
(on page 11-87)
(on page 11-96)
(on page 5-23)
Affected by
String specifying channels to add using normal channel list syntax
The value to write to the channel for this scan step
Specifies the width of the channel write to use with items in channelList
Series 3700A System Switch/Multimeter Reference Manual
Set channel 1001 to 4-pole operation.
Adds a single step that closes channels
1001, 1031, and 1911, and then takes a DC
voltage measurement.
Adds three steps with the following actions:
Closes channels 1101, 2202, and
1911, and then takes a DC voltage
measurement.
Opens channel 1101, closes 1102 and
maintains 1911 and 2202 closed, and
then makes a DC voltage
measurement.
Opens channel 1102, closes 1103 and
maintains 1911 and 2202 closed, and
then makes a DC voltage
measurement.
Where saved
Default value
3700AS-901-01 Rev. D/June 2018

Advertisement

Table of Contents
loading

Table of Contents