User manual

Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-203
lan.status.reset()
Function
Resets the LAN interface.
Usage
lan.status.reset()
Remarks
This function performs a lan.restoredefaults() (on page 13-198) followed by a
lan.applysettings() (on page 13-190). To restore the LAN settings without applying
them, use lan.restoredefaults().
Example
To reset the LAN interface:
lan.status.reset()
lan.status.speed
Attribute
Reads present LAN speed.
Usage
speed = lan.status.speed
speed: LAN speed given in Mbps. It will be either 10 or 100.
Remarks
This attribute indicates the transmission speed currently in use by the LAN interface.
Example
To display the Series 3700 transmission speed presently in use:
print(lan.status.speed)
1.000000000e+002
lan.status.subnetmask
Attribute
Reads present LAN subnet mask.
Usage
mask = lan.status.subnetmask
mask: A string specifying the subnet mask in dotted decimal notation.
Remarks
This attribute indicates the LAN subnet mask currently in use.
Example
To display the Series 3700 subnet mask presently in use:
print(lan.status.subnetmask)
255.255.255.0
lan.trigger[N].assert()
Function
Simulates the occurrence of the trigger and generates the corresponding event id.
Usage
lan.trigger[N].assert()
N: The trigger packet over LAN to assert (18).
Remarks
This function will generate a trigger for the specified LAN packet.
Also see
lan.trigger[N].clear() (on page 13-204)
lan.trigger[N].mode (on page 13-205)
lan.trigger[N].overrun (on page 13-206)
lan.trigger[N].stimulus (on page 13-208)
lan.trigger[N].wait() (on page 13-209)