Models 707B and 708B Switching Matrix Reference Manual
Section 7: TSP command reference
707B-901-01 Rev. B / January 2015
7-39
Also see
(on page 7-47)
(on page 7-35)
(on page 7-36)
(on page 7-36)
(on page 7-39)
channel.pattern.snapshot()
This function creates a channel pattern.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Instrument reset
Channel reset
Recall setup
Pole setting change
Create configuration script
Save setup
Not applicable
Usage
channel.pattern.snapshot(
name
)
name
A string representing the name to associate with the present state of channels
Details
This command stores an image of presently closed channels and associates them with the
name
parameter.
If
name
is already used for an existing channel pattern, that pattern is overwritten with the new pattern
channel image (if no errors occur).
The following restrictions exist when naming a channel pattern:
•
The name must contain only letters, numbers, or underscores
•
The name must start with a letter
•
The name is case sensitive
Examples of valid names:
•
Channels
•
Chans
•
chans
•
Path1
•
Path20
•
path_3
Examples of invalid names:
•
1path
(invalid because it starts with a number)
•
my chans
(invalid because it contains a space)
•
My,chans
(invalid because it contains a comma)
•
Path1:10
( invalid because it contains a colon)
An error is generated if:
•
The
name
parameter already exists as a label
•
Insufficient memory exists to save the channel pattern and name in persistent memory
•
The pattern name exceeds 19 characters or contains a space