
Series 3700A System Switch/Multimeter Reference Manual
Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018
11-51
channel.createspecifier()
This function creates a string channel descriptor from a series of card-dependent integer arguments.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
specifier
= channel.createspecifier(slot
X
,
bank
,
row
,
column
)
specifier
= channel.createspecifier(slot
X
,
bank
,
column
)
specifier
= channel.createspecifier(slot
X
,
bank
,
index
)
specifier
= channel.createspecifier(slot
X
,
index
)
specifier
= channel.createspecifier(slot
X
,
backplane
)
X
The slot number (
1
to
6
)
bank
The bank number (if applicable)
row
The row number
column
The column number
index
The index
backplane
The backplane
Details
The arguments are dependent upon the card type in the specified slot. This command can only create
valid channel descriptors; if an illegal argument is sent for the type of card in the specified slot, an
error is generated.
Example 1
cd = channel.createspecifier(3, 1, 2, 101)
print(cd)
Creates a channel descriptor on the Model
3732 card configured as a single 4x112
matrix in slot 3, bank 1, row 2, column 101.
Output:
312A1
Example 2
for row = 1,8 do
for col = 1,28 do
ch = channel.createspecifier(1,1,row,col)
channel.setpole(ch, 2)
end
end
Sets the pole setting to 2 for all
channels in bank 1 on a Model
3732 card configured as a dual
8x28 matrix in slot 1.
Example 3
cd = createspecifier(2, 2, 1)
print(cd)
Creates a channel descriptor on the Model
3724 multiplexer card in slot 2, bank 2, index
1.
Output:
2031