Channel.pattern.setimage() - Keithley 708B Reference Manual

Switching matrix
Hide thumbs Also See for 708B:
Table of Contents

Advertisement

Models 707B and 708B Switching Matrix Reference Manual
Example
channel.pattern.setimage("1A01:1A05", "myPattern")
channel.pattern.setimage("1B01,1B03,1B05",
"myRoute")
myImage = channel.pattern.getimage("myPattern")
print(myImage)
print(channel.pattern.getimage("myRoute"))
print(channel.pattern.getimage("myRoute,
myPattern"))
Also see
channel.pattern.catalog()
channel.pattern.delete()

channel.pattern.setimage()

channel.pattern.setimage()
This function creates a channel pattern and associates it with the specified name.
Type
TSP-Link accessible
Function
Yes
Usage
channel.pattern.setimage(channelList, name)
channelList
name
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 channel pattern is not created if an error is detected. You can create a channel pattern with an empty
channelList parameter.
Once a channel pattern is created, the only way to add a channel to an existing pattern is to delete the old
pattern and recreate the pattern with the new desired items. Alternatively, include the additional channels in the
channelList with the channel pattern when using.
707B-901-01 Rev. A / August 2010
(on page 7-37)
(on page 7-38)
(on page 7-39)
Affected by
System reset
Channel reset
A string listing the channels and channel patterns to use when creating the new
channel pattern
A string representing the name to associate with the new channel pattern
Using a Model 7174 (or similar
model) card in Slot 1, this example
creates two channel patterns and
then queries these patterns.
Output:
1A01,1A02,1A03,1A04,1A05
1B01,1B03,1B05
1B01,1B03,1B05;1A01,1A02,1
A03,1A04,1A05
Where saved
Default value
Create
Not applicable
configuration script
Section 7: Command reference
7-39

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents