
Section 11: TSP command reference
Series 3700A System Switch/Multimeter Reference Manual
11-102
3700AS-901-01 Rev. D/June 2018
channel.trigger[N].get()
This function gets the channel status trigger information that is used to watch the state of a specific channel.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Instrument reset
Channel reset
Recall setup
Create configuration script
Save setup
Empty channel list
State match 0
Usage
channelList
,
stateMatch
= channel.trigger[
N
].get()
channelList
Returns a string specifying the channels watched by this trigger
stateMatch
Returns a value specifying the state to match when triggering an event
N
Number indicating the channel trigger to get (1 to 8)
Details
This command is available for DAC, digital I/O, and totalizer channels. Switch channels are not
supported.
Example 1
channel.trigger[1].set("1010", channel.IND_MATCH)
chan_list, state_match = channel.trigger[1].get()
print(chan_list, state_match)
Assuming a 3750, defines channel trigger event 1 to occur when totalizer channel 10 matches its defined match
value.
Query for the channels and state conditions associated with channel trigger 1.
Output:
1010 4.00000
Example 2
channel.trigger[5].set("6003, 6005", channel.IND_MATCH)
print(channel.trigger[5].get())
Assuming a Model 3750 card, define a 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.
Output:
6003,6005 4.00000
Also see