
Series 3700A System Switch/Multimeter Reference Manual
Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018
11-95
Changing the mode setting can impact the power consumption of the card. The instrument verifies
that power is available before changing the mode. If an insufficient power capability exists, the
command generates an error.
Consult the card-specific documentation for more detailed information on mode settings and
functionality.
For digital I/O channels, changing the mode from input to output adds an additional channel delay if
the
channel.setdelay()
function was used to set a user delay.
For switch and backplane channels, there is no valid mode setting. Setting a mode on a specific
switch or backplane channel generates an error. If the switch or backplane channel is in the range of
channels, the switch or backplane channel is ignored.
The specified channel list must use only one channel type. For example, channel list
"1001:1004"
is only valid if channels 1, 2, 3, and 4 are of the same type. If channel 3 is a different type of channel,
the channel list is invalid and an error is generated.
Example
channel.setmode("6003:6005", channel.MODE_OUTPUT)
channel.setmode("6007", channel.MODE_FALLING_TTL_EDGE)
Assuming a 3750, set digital I/O
channels 3 to 5 to be configured
for output on slot 6.
Set the totalizer channel 7 on slot
6 to count the falling edges of a
TTL signal.
Also see
channel.setoutputenable()
This function sets the output enable attribute on a channel.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Instrument reset
Channel reset
Recall setup
Create configuration script
Save setup
0 (channel.OFF)
Usage
channel.setoutputenable("
channelList
",
state
)
channelList
String specifying the channels to set, using normal channel list syntax
state
A value representing the state of the output of the channel
Details
For DAC channels, output enable indicates whether or not the DAC is driving the output. The
following possible states are supported:
•
channel.ON
•
channel.OFF
(default)