Channel.gettype() - Keithley 3700A Series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700A Series:
Table of Contents

Advertisement

Series 3700A System Switch/Multimeter Reference Manual

channel.gettype()

This function returns the type associated with a channel.
Type
TSP-Link accessible
Function
Yes
Usage
type = channel.gettype("channelList")
type
channelList
Details
The channel type is defined by the physical hardware of the card on which the channel exists. The
following are valid channel types:
channel.TYPE_SWITCH or 1
channel.TYPE_BACKPLANE or 2
channel.TYPE_DAC or 8
channel.TYPE_DIGITAL or 4
channel.TYPE_TOTALIZER or 16
Refer to the card-specific documentation for more information about the channel types available for
your card.
Example 1
print(channel.gettype("1001, 1911"))
Example 2
print(channel.gettype("slot6"))
Also see
None
3700AS-901-01 Rev. D/June 2018
Affected by
Where saved
Returns a comma-delimited list of the type of channels in channelList
String specifying the channels to query, using normal channelList syntax
Section 11: TSP command reference
Default value
Query the channel type of channel 1 and
analog backplane relay 1 of bank 1 in slot 1,
assuming a 3720.
Output:
1,2
Query the channel types on slot 6, assuming
a 3750.
Output:
4,4,4,4,4,16,16,16,16,8,8
This shows that channels 1 to 5 are digital
I/O types, channels 6 to 9 are totalizer types,
and channels 10 and 11 are DAC types.
11-75

Advertisement

Table of Contents
loading

Table of Contents