Series 3700A System Switch/Multimeter Reference Manual Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018 11-79
-- Set up two patterns
channel.pattern.setimage("4001:4005", "myPattern")
channel.pattern.setimage("2001,2003,2005", "myRoute")
-- Print images
myImage = channel.pattern.getimage("myPattern")
print(myImage)
print(channel.pattern.getimage("myRoute"))
print(channel.pattern.getimage("myRoute,
myPattern"))
Using a Model 3721 (or similar model) card in slots 2 and 4, this example creates two channel patterns and
then queries these patterns.
Output:
4001,4002,4003,4004,4005
2001,2003,2005
2001,2003,2005;4001,4002,4003,4004,4005
Also see
channel.pattern.catalog() (on page 11-77)
channel.pattern.delete() (on page 11-78)
channel.pattern.setimage() (on page 11-79)
channel.setpole() (on page 11-96)
channel.pattern.setimage()
This function creates a channel pattern and associates it with the specified name.
Instrument reset
Channel reset
Recall setup
Pole setting change
Create configuration script
Save setup
Usage
channel.pattern.setimage("channelList", "name")
A string listing the channels, channel patterns, or analog backplane relays to use
when creating the new channel pattern
A string representing the name to associate with the new channel pattern
Details
If name is used for an existing channel pattern, that pattern is overwritten with the new pattern
channel image (if no errors occur). The previous image associated with the name is lost. The DMM
configuration associated with the pattern remains unchanged in this scenario.