Section 9
:
Instrument Control Library (ICL)
Series 3700 System Switch/Multimeter Reference Manual
9-144
Document Number: 3700S-901-01 Rev. A / August 2007
lan.pingenable
Attribute
Set or read the LAN ping state.
Usage
To read the LAN ping state:
pingstate = lan.pingenable
To write the LAN ping state:
lan.pingenable = pingstate
pingstate:
Enable or disable ping (0 disables, or 1 enables).
Example
To display the present LAN ping state:
print(lan.pingenable)
lan.trigger[N].protocol
Attribute
Sets LAN protocol to use for sending trigger messages.
Usage
To read present LAN protocol:
protocol = lan.trigger[lanevent].protocol
To write present LAN protocol:
lan.trigger[lanevent].protocol = protocol
lanevent:
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].clear
Function
Clear the event detector for a trigger.
Usage
lan.trigger[N].clear()
N
: The trigger packet over LAN to clear (1
–8).
Remarks
A trigger‘s event detector remembers if an event has been detected since the last
lan.trigger[packet].wait call. This function clears a trigger‘s event detector and discards
the previous history of the trigger packet.