Section 11: TSP command reference Model 2601B-PULSE System SourceMeter Instrument Reference Manual
11-134 2601B-PULSE-901-01A April 2020
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
Digital I/O (on page 6-36)
TSP-Link system expansion interface (on page 10-45)
lan.trigger[N].overrun
This attribute contains the overrun status of the LAN event detector.
LAN trigger N clear
LAN trigger N reset
Instrument reset
Recall setup
Usage
overrun = lan.trigger[N].overrun
The trigger overrun state for the specified LAN packet (true or false)
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.
It also is not an indication of an output trigger overrun. Output trigger overrun indications are provided
in the status model.
Example
overrun = lan.trigger[5].overrun
print(overrun)
Checks the overrun status of a trigger on LAN5 and outputs the
value, such as:
false
Also see
lan.trigger[N].assert() (on page 11-129)
lan.trigger[N].clear() (on page 11-129)
lan.trigger[N].stimulus (on page 11-136)
lan.trigger[N].wait() (on page 11-137)