User manual

Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-207
lan.trigger[N].overrun
Also see
lan.trigger[N].assert() (on page 13-203)
lan.trigger[N].clear() (on page 13-204)
lan.trigger[N].stimulus (on page 13-208)
lan.trigger[N].wait() (on page 13-209)
Example
To check the overrun status of a trigger with LAN packet 5:
overrun = lan.trigger[5].overrun
lan.trigger[N].protocol
Attribute
Sets LAN protocol to use for sending trigger messages.
Usage
To read present LAN protocol:
protocol = lan.trigger[N].protocol
To write present LAN protocol:
lan.trigger[N].protocol = protocol
N: The LAN event number (1-8).
protocol: The protocol to use for the trigger's messages (0, 1, or 2).
Remarks
This attribute selects which protocol will be used for sending trigger messages. The
LAN trigger will listen for trigger messages from either protocol but will use the
designated protocol for sending outgoing messages. Call lan.trigger[N].connect after
changing this setting before outgoing event messages can be sent.
protocol must be either lan.TCP (or 0), lan.UDP (or 01), or lan.MULTICAST (or 2).
The default value is lan.TCP. When the lan.MULTICAST protocol is selected, the
ipaddress attribute will be ignored and event messages will be sent to the multicast
address 224.0.23.159.
Example
To view LAN protocol to use for sending trigger messages for LAN event 1:
print(lan.trigger[1].protocol)
lan.trigger[N].pseudostate
Attribute
Sets the simulated line state for the LAN trigger.
Usage
To read the simulated line state for the LAN trigger:
pseudostate = lan.trigger[N].pseudostate
To write the simulated line state for the LAN trigger:
lan.trigger[N].pseudostate = pseudostate
N: The LAN event number (1-8).
pseudosate: The simulated line state (0 or 1).
Remarks
This attribute tracks the simulated line state of the LAN trigger. The value can be set to
initialize the pseudo state to known value. Setting this attribute will not cause the LAN
trigger to generate any events or output packets. ON or OFF cannot be used when
setting the pseudosate.