Keithley 3700 series Reference Manual page 184

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

Advertisement

Section 9: Instrument Control Library (ICL)
channel.pattern.setimage
Example
channel.pattern.snapshot
Function
Usage
9-40
To create a channel pattern called mychans using channels 1 to 10 on Slot 3:
channel.pattern.setimage("3001:3010", "mychans")
To add analog backplane relay 1 of bank 1 on Slot 3 to mychans:
OldList = channel.pattern.getimage("mychans")
NewList = OldList .. ",3911"
channel.pattern.delete("mychans")
channel.pattern.setimage(NewList, "mychans")
To include 3911 without deleting and creating again,
channel.close("mychans, 3911") – closes mychans and 3911
The above works for channels as well. Just replace the ―,3911‖ with the appropriate
channel(s). For example, to add channels 11 and 12 of Slot 3 to ―mychans‖.
OldList = channel.pattern.getimage("mychans")
NewList = OldList .. ",3011, 3012"
channel.pattern.delete("mychans")
channel.pattern.setimage(NewList, "mychans")
To include 3011 and 3012 without deleting and creating again:
channel.close("mychans, 3011,3012")
To rename MyList to MyPattern:
MyListItems = channel.pattern.getimage("MyList")
channel.pattern.setimage(MyListItems, "MyPattern")
channel.pattern.delete("MyList")
- or -
channel.pattern.setimage(channel.pattern.getimage(
"MyList"), "MyPattern")
channel.pattern.delete("MyList")
Creates a channel pattern that uses the present state of each channel and analog
backplane relay.
channel.pattern.snapshot(name)
name: A string representing the name to associate with the present state of channels.
Series 3700 System Switch/Multimeter Reference Manual
Document Number: 3700S-901-01 Rev. A / August 2007

Advertisement

Table of Contents
loading

Table of Contents