Model 2657A High Power System SourceMeter® Instrument Reference Manual Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012 7-131
lan.trigger[N].overrun
This attribute contains the event detector's overrun status.
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
A number representing the LAN event number (1 to 8)
Details
This attribute 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 7-125)
lan.trigger[N].clear()
(on page 7-126)
lan.trigger[N].stimulus
(on page 7-132)
lan.trigger[N].wait()
(on page 7-134)
lan.trigger[N].protocol
This attribute sets the LAN protocol to use for sending trigger messages.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) Yes Instrument reset
LAN trigger N reset
Recall setup
Not saved
0 (lan.TCP)
Usage
protocol = lan.trigger[N].protocol
lan.trigger[N].protocol = protocol
protocol
The protocol to use for the trigger's messages:
• 0 or lan.TCP
• 1 or lan.UDP
• 2 or lan.MULTICAST
N
A number representing the LAN event number (1 to 8)