Series 3700A System Switch/Multimeter Reference Manual
Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018
11-277
lan.trigger[N].ipaddress
This attribute specifies the address (in dotted-decimal format) of UDP or TCP listeners.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Instrument reset
LAN trigger N reset
Recall setup
Create configuration script
Save setup
"0.0.0.0"
Usage
ipAddress
= lan.trigger[
N
].ipaddress
lan.trigger[
N
].ipaddress = "
ipAddress
"
ipAddress
The LAN address for this attribute as a string in dotted decimal notation
N
The LAN event number (1 to 8)
Details
Sets the IP address for outgoing trigger events.
Set to
"0.0.0.0"
for multicast.
After changing this setting, the
lan.trigger[
N
].connect()
command must be called before
outgoing messages can be sent.
Example
lan.trigger[3].protocol = lan.TCP
lan.trigger[3].ipaddress = "192.168.1.100"
lan.trigger[3].connect()
Set the protocol for LAN trigger 3 to be
lan.TCP
when sending LAN triggers.
Use IP address
"192.168.1.100"
to
connect the LAN trigger.
Also see
lan.trigger[N].mode
This attribute sets the trigger operation and detection mode of the specified LAN event.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Instrument reset
LAN trigger N reset
Recall setup
Create configuration script
Save setup
0 (lan.TRIG_EITHER)
Usage
mode
= lan.trigger[
N
].mode
lan.trigger[
N
].mode =
mode
mode
A number representing the trigger mode (0 to 7); see the
Details
section for
more information
N
A number representing the LAN event number (1 to 8)