User manual
Section 13: Instrument Control Library (ICL) Series 3700 System Switch/Multimeter Reference Manual
13-66 3700S-901-01 Rev. C / July 2008
channel.pattern.setimage()
Example
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:
–- closes mychans and 3911
channel.close('mychans, 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')
channel.pattern.snapshot()
Function
Creates a channel pattern that uses the present state of each channel and analog
backplane relay.
Usage
channel.pattern.snapshot(name)
name: A string representing the name to associate with the present state of channels.