Models 707B and 708B Switching Matrix Reference Manual
Section 7: TSP command reference
707B-901-01 Rev. B / January 2015
7-47
Example 4
channel.setlabelrow("2B01", "Row2")
print(channel.getlabelrow("slot2"))
This example assumes a 7072 in slot 2.
Set the label to be Row2, which assigns the label
to all channels in the row. The output is now :
,,,,,,,,,,,,Row2,Row2,Row2,Row2,Row2
,Row2,Row2,Row2,Row2,Row2,Row2,Ro
w2,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
,,,,,,,,
Also see
(on page 7-31)
createconfigscript()
This function creates a setup file that captures most of the present settings of the instrument.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
No
Usage
createconfigscript(
scriptName
)
scriptName
A string that represents the name of the script that will be created
Details
If
scriptName
is set to
autoexec
, the autoexec script in the instrument is replaced by the new
configuration script.
If
scriptName
is set to the name of an existing script, the existing script is overwritten.
Once created, the script that contains the settings can be run and edited like any other script.
Example
createconfigscript("August2013")
Captures the present settings of the instrument
into a script named
August2013
.
Also see
(on page 2-100)
Save the present configuration
(on page 2-98)