Keithley 3700 series Reference Manual page 288

System switch/multimeter
Hide thumbs Also See for 3700 series:
Table of Contents

Advertisement

Section 9: Instrument Control Library (ICL)
lan.pingenable
Attribute
Usage
Example
lan.trigger[N].protocol
Attribute
Usage
Remarks
Example
lan.trigger[N].clear
Function
Usage
Remarks
9-144
Set or read the LAN ping state.
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).
To display the present LAN ping state:
print(lan.pingenable)
Sets LAN protocol to use for sending trigger messages.
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).
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.
To view LAN protocol to use for sending trigger messages for LAN event 1:
print(lan.trigger[1].protocol)
Clear the event detector for a trigger.
lan.trigger[N].clear()
N: The trigger packet over LAN to clear (1–8).
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.
Series 3700 System Switch/Multimeter Reference Manual
Document Number: 3700S-901-01 Rev. A / August 2007

Advertisement

Table of Contents
loading

Table of Contents