Channel.trigger[N].Set() - 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.trigger[N].set()

This function sets the channel status trigger model to watch the state of a specific channel.
Type
TSP-Link accessible
Function
Yes
Usage
channel.trigger[N].set("channelList", stateMatch)
N
channelList
stateMatch
Details
If the channel list contains more than one channel, the trigger acts as a logical OR. When any one of
the channels in the list matches the specified state, a trigger event is generated. Therefore, if an
indicator is present in both the match and the actual state, an event is triggered. If the match contains
more than one state indicator, only one of those indicators needs to be present to trigger the event.
There are a total of eight channel trigger events for each Series 3700A, defined by N. Using this
mechanism, a trigger can be generated when a pattern is matched on an I/O, a totalizer matches a
defined count, or an I/O has an overcurrent condition.
Latching functionality is not supported.
This command works for DAC, digital I/O and totalizer channels. Switch channels are not supported.
To clear a trigger that is no longer needed, pass an empty channel list ("" or " ") .
Example 1
channel.trigger[1].set("1001", channel.IND_MATCH)
Assuming a 3750, defines a channel trigger event 1 to occur when digital I/O channel 1 matches its defined
match value.
Example 2
channel.trigger[5].set("6003, 6005", channel.IND_MATCH)
print(channel.trigger[5].get())
channel.trigger[5].set(" ", channel.IND_MATCH)
print(channel.trigger[5].get())
Assuming a 3750 card, define channel trigger event 5 to occur when either digital I/O channel 3 or 5 on slot 6
match their defined values.
View the trigger information associated with channel trigger 5.
Clear the trigger information associated with channel trigger 5.
View the trigger information associated with channel trigger 5.
Output:
6003,6005
Also see
channel.trigger[N].get()
3700AS-901-01 Rev. D/June 2018
Affected by
Instrument reset
Channel reset
Recall setup
Number indicating the channel trigger to set (1 to 8)
The channels to set, using standard channel naming
Value specifying the status to match when triggering an event
4.000000000e+000
0.000000000e+000
(on page 11-102)
Section 11: TSP command reference
Where saved
Default value
Create configuration script
Empty channel list
Save setup
State match 0
11-103

Advertisement

Table of Contents
loading

Table of Contents