Section 7: TSP command reference
2606B System SourceMeter® Instrument Reference Manual
7-134
2606B-901-01 Rev. B / May 2018
LAN trigger mode values
Mode
Number
Trigger packets detected as
input
LAN trigger packet generated
for output with a…
lan.TRIG_EITHER
0
Rising or falling edge (positive
or negative state)
negative state
lan.TRIG_FALLING
1
Falling edge (negative state)
negative state
lan.TRIG_RISING
2
Rising edge (positive state)
positive state
lan.TRIG_RISINGA
3
Rising edge (positive state)
positive state
lan.TRIG_RISINGM
4
Rising edge (positive state)
positive state
lan.TRIG_SYNCHRONOUS
5
Falling edge (negative state)
positive state
lan.TRIG_SYNCHRONOUSA
6
Falling edge (negative state)
positive state
lan.TRIG_SYNCHRONOUSM
7
Rising edge (positive state)
negative state
lan.TRIG_RISING
and
lan.TRIG_RISINGA
are the same.
lan.TRIG_RISING
and
lan.TRIG_RISINGM
are the same.
Use of either
lan.TRIG_SYNCHRONOUSA
or
lan.TRIG_SYNCHRONOUSM
over
lan.TRIG_SYNCHRONOUS
is preferred, as
lan.TRIG_SYNCHRONOUS
is provided for compatibility
with older firmware.
Example
print(lan.trigger[1].mode)
Outputs the present LAN trigger mode of LAN
event 1.
Also see
(on page 3-78)
TSP-Link system expansion interface
(on page 6-46)
lan.trigger[N].overrun
This attribute contains the overrun status of the LAN event detector.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
LAN trigger N clear
LAN trigger N reset
Instrument reset
Recall setup
Not applicable
Not applicable
Usage
overrun
= lan.trigger[
N
].overrun
overrun
The trigger overrun state for the specified LAN packet (
true
or
false
)
N
The LAN event number (1 to 8)
Details
This command indicates whether an event has been ignored because the event detector was already
in the detected state when the event occurred.
This is an indication of the state of the event detector built into the synchronization line itself. It does
not indicate if an overrun occurred in any other part of the trigger model, or in any other construct that
is monitoring the event.