Section 7: TSP command reference
Models 707B and 708B Switching Matrix Reference Manual
7-40
707B-901-01 Rev. B / January 2015
Issuing this function on an existing pattern invalidates the existing scan list (the pattern may or may
not be used in the current scan list). Creating a new pattern does not invalidate the existing scan list.
Channel patterns are stored when you run the
createconfigscript()
command or
setup.save()
command.
Channel patterns are lost when power is cycled. Use
setup.recall()
or a script created with
createconfigscript()
to restore them.
If you change a pole setting for a channel that is associated with a channel pattern, the channel
pattern is deleted. Be sure to configure the pole setting for channels (
channel.setpole
) before
creating a channel pattern.
Example
channel.pattern.snapshot("voltagePath")
Creates a pattern named
voltagePath
that
contains the presently closed channels.
Also see
(on page 7-47)
(on page 7-35)
(on page 7-36)
(on page 7-36)
(on page 7-37)
channel.reset()
This function resets the specified channel list items to factory default settings.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
channel.reset(
channelList
)
channelList
A string that lists the items to reset; the string can include:
•
allslots
•
slot
X
, where
X
is the slot number
•
channel patterns
•
channels, including a range of channels
Details
For the items specified in
channelList
, the following actions occur:
•
Any closed channels open
•
Additional user delay is set to zero (0)
•
Labels are removed
•
If the channel is forbidden to close, it is cleared from being forbidden to close
•
If the channels are used in channel patterns, the channel patterns that contain the channels are deleted.
Using this function to reset a channel involved in scanning invalidates the existing scan list. The list
has to be recreated before scanning again.
The rest of the instrument settings are unaffected. To reset the entire system to factory default
settings, use the
reset()
command.