lan

The lan commands module.

These commands are used in the following models: SMU2601B, SMU2602B, SMU2604B, SMU2606B, SMU2611B, SMU2612B, SMU2614B, SMU2634B, SMU2635B, SMU2636B, SMU2651A, SMU2657A

THIS FILE IS AUTO-GENERATED, IT SHOULD NOT BE MANUALLY MODIFIED.

Please report an issue if one is found.

Attributes and Functions
- lan.applysettings()
- lan.autoconnect
- lan.config.dns.address[N]
- lan.config.dns.domain
- lan.config.dns.dynamic
- lan.config.dns.hostname
- lan.config.dns.verify
- lan.config.duplex
- lan.config.gateway
- lan.config.ipaddress
- lan.config.method
- lan.config.speed
- lan.config.subnetmask
- lan.linktimeout
- lan.lxidomain
- lan.nagle
- lan.reset()
- lan.restoredefaults()
- lan.status.dns.address[N]
- lan.status.dns.name
- lan.status.duplex
- lan.status.gateway
- lan.status.ipaddress
- lan.status.macaddress
- lan.status.port.dst
- lan.status.port.rawsocket
- lan.status.port.telnet
- lan.status.port.vxi11
- lan.status.speed
- lan.status.subnetmask
- lan.timedwait
- lan.trigger[N].assert()
- lan.trigger[N].clear()
- lan.trigger[N].connect()
- lan.trigger[N].connected
- lan.trigger[N].disconnect()
- lan.trigger[N].ipaddress
- lan.trigger[N].mode
- lan.trigger[N].overrun
- lan.trigger[N].protocol
- lan.trigger[N].pseudostate
- lan.trigger[N].stimulus
- lan.trigger[N].wait()

Lan

Bases: BaseTSPCmd

The lan command tree.

Constants
  • .AUTO: Selects automatic sequencing of configuration.
  • .DISABLE: Disables automatic link reconnection and monitoring.
  • .ENABLE: Enables automatic link reconnection and monitoring.
  • .FULL: Full-duplex operation.
  • .HALF: Half-duplex operation.
  • .MANUAL: Use only manually specified configuration settings.
  • .MULTICAST: Sets the LAN protocol to use for sending trigger messages to multicast.
  • .TCP: Use TCP protocol.
  • .TRIG_EITHER: Sets the trigger operation and detection mode of the specified LAN event to rising or falling edge (positive or negative state).
  • .TRIG_FALLING: Sets the trigger operation and detection mode of the specified LAN event to falling edge (negative state).
  • .TRIG_RISING: Sets the trigger operation and detection mode of the specified LAN event to rising edge (positive state).
  • .TRIG_RISINGA: Sets the trigger operation and detection mode of the specified LAN event to rising edge (positive state).
  • .TRIG_RISINGM: Sets the trigger operation and detection mode of the specified LAN event to rising edge (positive state).
  • .TRIG_SYNCHRONOUS: Use for compatibility with older instruments; sets the trigger operation and detection mode of the specified LAN event to falling edge (negative state).
  • .TRIG_SYNCHRONOUSA: Sets the trigger operation and detection mode of the specified LAN event to falling edge (negative state).
  • .TRIG_SYNCHRONOUSM: Sets the trigger operation and detection mode of the specified LAN event to rising edge (positive state).
  • .UDP: Use UDP protocol.
Properties and methods
  • .applysettings(): The lan.applysettings() function.
  • .autoconnect: The lan.autoconnect attribute.
  • .config: The lan.config command tree.
  • .linktimeout: The lan.linktimeout attribute.
  • .lxidomain: The lan.lxidomain attribute.
  • .nagle: The lan.nagle attribute.
  • .reset(): The lan.reset() function.
  • .restoredefaults(): The lan.restoredefaults() function.
  • .status: The lan.status command tree.
  • .timedwait: The lan.timedwait attribute.
  • .trigger: The lan.trigger[N] command tree.

AUTO class-attribute instance-attribute

AUTO = 'lan.AUTO'

DISABLE class-attribute instance-attribute

DISABLE = 'lan.DISABLE'

ENABLE class-attribute instance-attribute

ENABLE = 'lan.ENABLE'

FULL class-attribute instance-attribute

FULL = 'lan.FULL'

HALF class-attribute instance-attribute

HALF = 'lan.HALF'

MANUAL class-attribute instance-attribute

MANUAL = 'lan.MANUAL'

MULTICAST class-attribute instance-attribute

MULTICAST = 'lan.MULTICAST'

TCP class-attribute instance-attribute

TCP = 'lan.TCP'

TRIG_EITHER class-attribute instance-attribute

TRIG_EITHER = 'lan.TRIG_EITHER'

TRIG_FALLING class-attribute instance-attribute

TRIG_FALLING = 'lan.TRIG_FALLING'

TRIG_RISING class-attribute instance-attribute

TRIG_RISING = 'lan.TRIG_RISING'

TRIG_RISINGA class-attribute instance-attribute

TRIG_RISINGA = 'lan.TRIG_RISINGA'

TRIG_RISINGM class-attribute instance-attribute

TRIG_RISINGM = 'lan.TRIG_RISINGM'

TRIG_SYNCHRONOUS class-attribute instance-attribute

TRIG_SYNCHRONOUS = 'lan.TRIG_SYNCHRONOUS'

TRIG_SYNCHRONOUSA class-attribute instance-attribute

TRIG_SYNCHRONOUSA = 'lan.TRIG_SYNCHRONOUSA'

TRIG_SYNCHRONOUSM class-attribute instance-attribute

TRIG_SYNCHRONOUSM = 'lan.TRIG_SYNCHRONOUSM'

UDP class-attribute instance-attribute

UDP = 'lan.UDP'

autoconnect property writable

autoconnect: str

Access the lan.autoconnect attribute.

Description
  • This attribute is used to enable or disable link monitoring.
Usage
  • Accessing this property will send the print(lan.autoconnect) query.
  • Setting this property to a value will send the lan.autoconnect = value command.
TSP Syntax
- lan.autoconnect = value
- print(lan.autoconnect)
Raises:

config property

config: LanConfig

Return the lan.config command tree.

Sub-properties and sub-methods
  • .dns: The lan.config.dns command tree.
  • .duplex: The lan.config.duplex attribute.
  • .gateway: The lan.config.gateway attribute.
  • .ipaddress: The lan.config.ipaddress attribute.
  • .method: The lan.config.method attribute.
  • .speed: The lan.config.speed attribute.
  • .subnetmask: The lan.config.subnetmask attribute.

linktimeout property writable

linktimeout: str

Access the lan.linktimeout attribute.

Description
  • This attribute contains the LAN link timeout period.
Usage
  • Accessing this property will send the print(lan.linktimeout) query.
  • Setting this property to a value will send the lan.linktimeout = value command.
TSP Syntax
- lan.linktimeout = value
- print(lan.linktimeout)
Info
  • timeout, the LAN link monitor time-out period (in seconds).
Raises:

lxidomain property writable

lxidomain: str

Access the lan.lxidomain attribute.

Description
  • This attribute contains the LXI domain.
Usage
  • Accessing this property will send the print(lan.lxidomain) query.
  • Setting this property to a value will send the lan.lxidomain = value command.
TSP Syntax
- lan.lxidomain = value
- print(lan.lxidomain)
Info
  • domain, the LXI domain number (0 to 255).
Raises:

nagle property writable

nagle: str

Access the lan.nagle attribute.

Description
  • This attribute controls the state of the LAN Nagle algorithm.
Usage
  • Accessing this property will send the print(lan.nagle) query.
  • Setting this property to a value will send the lan.nagle = value command.
TSP Syntax
- lan.nagle = value
- print(lan.nagle)
Raises:

status property

status: LanStatus

Return the lan.status command tree.

Sub-properties and sub-methods
  • .dns: The lan.status.dns command tree.
  • .duplex: The lan.status.duplex attribute.
  • .gateway: The lan.status.gateway attribute.
  • .ipaddress: The lan.status.ipaddress attribute.
  • .macaddress: The lan.status.macaddress attribute.
  • .port: The lan.status.port command tree.
  • .speed: The lan.status.speed attribute.
  • .subnetmask: The lan.status.subnetmask attribute.

timedwait property writable

timedwait: str

Access the lan.timedwait attribute.

Description
  • This attribute contains the LAN timed-wait state interval.
Usage
  • Accessing this property will send the print(lan.timedwait) query.
  • Setting this property to a value will send the lan.timedwait = value command.
TSP Syntax
- lan.timedwait = value
- print(lan.timedwait)
Raises:

trigger property

trigger: dict[int, LanTriggerItem]

Return the lan.trigger[N] command tree.

Info
  • N, the LAN event number (1 to 8).
Constants
  • .EVENT_ID: The event identifier used to route the LAN trigger to other subsystems (using stimulus properties).
Sub-properties and sub-methods
  • .assert(): The lan.trigger[N].assert() function.
  • .clear(): The lan.trigger[N].clear() function.
  • .connect(): The lan.trigger[N].connect() function.
  • .connected: The lan.trigger[N].connected attribute.
  • .disconnect(): The lan.trigger[N].disconnect() function.
  • .ipaddress: The lan.trigger[N].ipaddress attribute.
  • .mode: The lan.trigger[N].mode attribute.
  • .overrun: The lan.trigger[N].overrun attribute.
  • .protocol: The lan.trigger[N].protocol attribute.
  • .pseudostate: The lan.trigger[N].pseudostate attribute.
  • .stimulus: The lan.trigger[N].stimulus attribute.
  • .wait(): The lan.trigger[N].wait() function.

applysettings

applysettings() -> None

Run the lan.applysettings() function.

Description
  • This function re-initializes the LAN interface with new settings.
TSP Syntax
- lan.applysettings()
Raises:

reset

reset() -> None

Run the lan.reset() function.

Description
  • This function resets the LAN interface.
TSP Syntax
- lan.reset()
Raises:

restoredefaults

restoredefaults() -> None

Run the lan.restoredefaults() function.

Description
  • This function resets LAN settings to default values.
TSP Syntax
- lan.restoredefaults()
Raises:

LanConfig

Bases: BaseTSPCmd

The lan.config command tree.

Properties and methods
  • .dns: The lan.config.dns command tree.
  • .duplex: The lan.config.duplex attribute.
  • .gateway: The lan.config.gateway attribute.
  • .ipaddress: The lan.config.ipaddress attribute.
  • .method: The lan.config.method attribute.
  • .speed: The lan.config.speed attribute.
  • .subnetmask: The lan.config.subnetmask attribute.

dns property

Return the lan.config.dns command tree.

Sub-properties and sub-methods
  • .address: The lan.config.dns.address[N] attribute.
  • .domain: The lan.config.dns.domain attribute.
  • .dynamic: The lan.config.dns.dynamic attribute.
  • .hostname: The lan.config.dns.hostname attribute.
  • .verify: The lan.config.dns.verify attribute.

duplex property writable

duplex: str

Access the lan.config.duplex attribute.

Description
  • This attribute defines the LAN duplex mode.
Usage
  • Accessing this property will send the print(lan.config.duplex) query.
  • Setting this property to a value will send the lan.config.duplex = value command.
TSP Syntax
- lan.config.duplex = value
- print(lan.config.duplex)
Raises:

gateway property writable

gateway: str

Access the lan.config.gateway attribute.

Description
  • This attribute contains the LAN default gateway address.
Usage
  • Accessing this property will send the print(lan.config.gateway) query.
  • Setting this property to a value will send the lan.config.gateway = value command.
TSP Syntax
- lan.config.gateway = value
- print(lan.config.gateway)
Raises:

ipaddress property writable

ipaddress: str

Access the lan.config.ipaddress attribute.

Description
  • This command specifies the LAN IP address.
Usage
  • Accessing this property will send the print(lan.config.ipaddress) query.
  • Setting this property to a value will send the lan.config.ipaddress = value command.
TSP Syntax
- lan.config.ipaddress = value
- print(lan.config.ipaddress)
Raises:

method property writable

method: str

Access the lan.config.method attribute.

Description
  • This attribute contains the LAN settings configuration method.
Usage
  • Accessing this property will send the print(lan.config.method) query.
  • Setting this property to a value will send the lan.config.method = value command.
TSP Syntax
- lan.config.method = value
- print(lan.config.method)
Raises:

speed property writable

speed: str

Access the lan.config.speed attribute.

Description
  • This attribute contains the LAN speed used when restarting in manual configuration mode.
Usage
  • Accessing this property will send the print(lan.config.speed) query.
  • Setting this property to a value will send the lan.config.speed = value command.
TSP Syntax
- lan.config.speed = value
- print(lan.config.speed)
Raises:

subnetmask property writable

subnetmask: str

Access the lan.config.subnetmask attribute.

Description
  • This attribute contains the LAN subnet mask.
Usage
  • Accessing this property will send the print(lan.config.subnetmask) query.
  • Setting this property to a value will send the lan.config.subnetmask = value command.
TSP Syntax
- lan.config.subnetmask = value
- print(lan.config.subnetmask)
Info
  • mask, the string that specifies the LAN subnet mask value in dotted decimal notation.
Raises:

LanConfigDns

Bases: BaseTSPCmd

The lan.config.dns command tree.

Properties and methods
  • .address: The lan.config.dns.address[N] attribute.
  • .domain: The lan.config.dns.domain attribute.
  • .dynamic: The lan.config.dns.dynamic attribute.
  • .hostname: The lan.config.dns.hostname attribute.
  • .verify: The lan.config.dns.verify attribute.

address property

address: dict[int, str | float]

Access the lan.config.dns.address[N] attribute.

Description
  • Configures DNS server IP addresses.
Usage
  • Accessing an item from this property will send the print(lan.config.dns.address[N]) query.
  • Setting an item from this property to a value will send the lan.config.dns.address[N] = value command.
TSP Syntax
- lan.config.dns.address[N] = value
- print(lan.config.dns.address[N])
Info
  • N, the entry index (1 or 2).
Raises:

domain property writable

domain: str

Access the lan.config.dns.domain attribute.

Description
  • Configures the dynamic DNS domain.
Usage
  • Accessing this property will send the print(lan.config.dns.domain) query.
  • Setting this property to a value will send the lan.config.dns.domain = value command.
TSP Syntax
- lan.config.dns.domain = value
- print(lan.config.dns.domain)
Raises:

dynamic property writable

dynamic: str

Access the lan.config.dns.dynamic attribute.

Description
  • Enables or disables the dynamic DNS registration.
Usage
  • Accessing this property will send the print(lan.config.dns.dynamic) query.
  • Setting this property to a value will send the lan.config.dns.dynamic = value command.
TSP Syntax
- lan.config.dns.dynamic = value
- print(lan.config.dns.dynamic)
Raises:

hostname property writable

hostname: str

Access the lan.config.dns.hostname attribute.

Description
  • This attribute defines the dynamic DNS host name.
Usage
  • Accessing this property will send the print(lan.config.dns.hostname) query.
  • Setting this property to a value will send the lan.config.dns.hostname = value command.
TSP Syntax
- lan.config.dns.hostname = value
- print(lan.config.dns.hostname)
Raises:

verify property writable

verify: str

Access the lan.config.dns.verify attribute.

Description
  • This attribute defines the DNS host name verification state.
Usage
  • Accessing this property will send the print(lan.config.dns.verify) query.
  • Setting this property to a value will send the lan.config.dns.verify = value command.
TSP Syntax
- lan.config.dns.verify = value
- print(lan.config.dns.verify)
Raises:

LanStatus

Bases: BaseTSPCmd

The lan.status command tree.

Properties and methods
  • .dns: The lan.status.dns command tree.
  • .duplex: The lan.status.duplex attribute.
  • .gateway: The lan.status.gateway attribute.
  • .ipaddress: The lan.status.ipaddress attribute.
  • .macaddress: The lan.status.macaddress attribute.
  • .port: The lan.status.port command tree.
  • .speed: The lan.status.speed attribute.
  • .subnetmask: The lan.status.subnetmask attribute.

dns property

Return the lan.status.dns command tree.

Sub-properties and sub-methods
  • .address: The lan.status.dns.address[N] attribute.
  • .name: The lan.status.dns.name attribute.

duplex property

duplex: str

Access the lan.status.duplex attribute.

Description
  • This attribute contains the duplex mode presently in use by the LAN interface.
Usage
  • Accessing this property will send the print(lan.status.duplex) query.
TSP Syntax
- print(lan.status.duplex)
Raises:

gateway property

gateway: str

Access the lan.status.gateway attribute.

Description
  • This attribute contains the gateway address presently in use by the LAN interface.
Usage
  • Accessing this property will send the print(lan.status.gateway) query.
TSP Syntax
- print(lan.status.gateway)
Raises:

ipaddress property

ipaddress: str

Access the lan.status.ipaddress attribute.

Description
  • This attribute contains the LAN IP address presently in use by the LAN interface.
Usage
  • Accessing this property will send the print(lan.status.ipaddress) query.
TSP Syntax
- print(lan.status.ipaddress)
Raises:

macaddress property

macaddress: str

Access the lan.status.macaddress attribute.

Description
  • This attribute contains the LAN MAC address.
Usage
  • Accessing this property will send the print(lan.status.macaddress) query.
TSP Syntax
- print(lan.status.macaddress)
Raises:

port property

Return the lan.status.port command tree.

Info
  • port, the dead socket termination socket port number.
Sub-properties and sub-methods
  • .dst: The lan.status.port.dst attribute.
  • .rawsocket: The lan.status.port.rawsocket attribute.
  • .telnet: The lan.status.port.telnet attribute.
  • .vxi11: The lan.status.port.vxi11 attribute.

speed property

speed: str

Access the lan.status.speed attribute.

Description
  • This attribute contains the LAN speed.
Usage
  • Accessing this property will send the print(lan.status.speed) query.
TSP Syntax
- print(lan.status.speed)
Raises:

subnetmask property

subnetmask: str

Access the lan.status.subnetmask attribute.

Description
  • This attribute contains the LAN subnet mask that is presently in use by the LAN interface.
Usage
  • Accessing this property will send the print(lan.status.subnetmask) query.
TSP Syntax
- print(lan.status.subnetmask)
Info
  • mask, a string specifying the subnet mask in dotted decimal notation.
Raises:

LanStatusDns

Bases: BaseTSPCmd

The lan.status.dns command tree.

Properties and methods
  • .address: The lan.status.dns.address[N] attribute.
  • .name: The lan.status.dns.name attribute.

address property

address: dict[int, str | float]

Access the lan.status.dns.address[N] attribute.

Description
  • This attribute contains the DNS server IP addresses.
Usage
  • Accessing an item from this property will send the print(lan.status.dns.address[N]) query.
TSP Syntax
- print(lan.status.dns.address[N])
Info
  • N, the entry index (1, 2, or 3).
Raises:

name property

name: str

Access the lan.status.dns.name attribute.

Description
  • This attribute contains the present DNS fully qualified host name.
Usage
  • Accessing this property will send the print(lan.status.dns.name) query.
TSP Syntax
- print(lan.status.dns.name)
Raises:

LanStatusPort

Bases: BaseTSPCmd

The lan.status.port command tree.

Info
  • port, the dead socket termination socket port number.
Properties and methods
  • .dst: The lan.status.port.dst attribute.
  • .rawsocket: The lan.status.port.rawsocket attribute.
  • .telnet: The lan.status.port.telnet attribute.
  • .vxi11: The lan.status.port.vxi11 attribute.

dst property

dst: str

Access the lan.status.port.dst attribute.

Description
  • This attribute contains the LAN dead socket termination port number.
Usage
  • Accessing this property will send the print(lan.status.port.dst) query.
TSP Syntax
- print(lan.status.port.dst)
Info
  • port, the dead socket termination socket port number.
Raises:

rawsocket property

rawsocket: str

Access the lan.status.port.rawsocket attribute.

Description
  • This attribute contains the LAN raw socket connection port number.
Usage
  • Accessing this property will send the print(lan.status.port.rawsocket) query.
TSP Syntax
- print(lan.status.port.rawsocket)
Info
  • port, the raw socket port number.
Raises:

telnet property

telnet: str

Access the lan.status.port.telnet attribute.

Description
  • This attribute contains the LAN Telnet connection port number.
Usage
  • Accessing this property will send the print(lan.status.port.telnet) query.
TSP Syntax
- print(lan.status.port.telnet)
Info
  • port, the telnet port number.
Raises:

vxi11 property

vxi11: str

Access the lan.status.port.vxi11 attribute.

Description
  • This attribute contains the LAN VXI-11 connection port number.
Usage
  • Accessing this property will send the print(lan.status.port.vxi11) query.
TSP Syntax
- print(lan.status.port.vxi11)
Info
  • port, the lAN VXI-11 port number.
Raises:

LanTriggerItem

Bases: ValidatedDynamicNumberCmd, BaseTSPCmd

The lan.trigger[N] command tree.

Info
  • N, the LAN event number (1 to 8).
Constants
  • .EVENT_ID: The event identifier used to route the LAN trigger to other subsystems (using stimulus properties).
Properties and methods
  • .assert(): The lan.trigger[N].assert() function.
  • .clear(): The lan.trigger[N].clear() function.
  • .connect(): The lan.trigger[N].connect() function.
  • .connected: The lan.trigger[N].connected attribute.
  • .disconnect(): The lan.trigger[N].disconnect() function.
  • .ipaddress: The lan.trigger[N].ipaddress attribute.
  • .mode: The lan.trigger[N].mode attribute.
  • .overrun: The lan.trigger[N].overrun attribute.
  • .protocol: The lan.trigger[N].protocol attribute.
  • .pseudostate: The lan.trigger[N].pseudostate attribute.
  • .stimulus: The lan.trigger[N].stimulus attribute.
  • .wait(): The lan.trigger[N].wait() function.

EVENT_ID class-attribute instance-attribute

EVENT_ID = replace('[N]', f'[{split(']', maxsplit=1)[0]}]')

connected property

connected: str

Access the lan.trigger[N].connected attribute.

Description
  • This attribute stores the LAN event connection state.
Usage
  • Accessing this property will send the print(lan.trigger[N].connected) query.
TSP Syntax
- print(lan.trigger[N].connected)
Info
  • N, the LAN event number (1 to 8).
Raises:

ipaddress property writable

ipaddress: str

Access the lan.trigger[N].ipaddress attribute.

Description
  • This attribute specifies the address (in dotted-decimal format) of UDP or TCP listeners.
Usage
  • Accessing this property will send the print(lan.trigger[N].ipaddress) query.
  • Setting this property to a value will send the lan.trigger[N].ipaddress = value command.
TSP Syntax
- lan.trigger[N].ipaddress = value
- print(lan.trigger[N].ipaddress)
Info
  • N, the LAN event number (1 to 8).
Raises:

mode property writable

mode: str

Access the lan.trigger[N].mode attribute.

Description
  • This attribute sets the trigger operation and detection mode of the specified LAN event.
Usage
  • Accessing this property will send the print(lan.trigger[N].mode) query.
  • Setting this property to a value will send the lan.trigger[N].mode = value command.
TSP Syntax
- lan.trigger[N].mode = value
- print(lan.trigger[N].mode)
Info
  • N, a number representing the LAN event number (1 to 8).
Raises:

overrun property

overrun: str

Access the lan.trigger[N].overrun attribute.

Description
  • This attribute contains the overrun status of the LAN event detector.
Usage
  • Accessing this property will send the print(lan.trigger[N].overrun) query.
TSP Syntax
- print(lan.trigger[N].overrun)
Info
  • N, the LAN event number (1 to 8).
Raises:

protocol property writable

protocol: str

Access the lan.trigger[N].protocol attribute.

Description
  • This attribute sets the LAN protocol to use for sending trigger messages.
Usage
  • Accessing this property will send the print(lan.trigger[N].protocol) query.
  • Setting this property to a value will send the lan.trigger[N].protocol = value command.
TSP Syntax
- lan.trigger[N].protocol = value
- print(lan.trigger[N].protocol)
Info
  • N, the LAN event number (1 to 8).
Raises:

pseudostate property writable

pseudostate: str

Access the lan.trigger[N].pseudostate attribute.

Description
  • This attribute sets the simulated line state for the LAN trigger.
Usage
  • Accessing this property will send the print(lan.trigger[N].pseudostate) query.
  • Setting this property to a value will send the lan.trigger[N].pseudostate = value command.
TSP Syntax
- lan.trigger[N].pseudostate = value
- print(lan.trigger[N].pseudostate)
Info
  • N, a number representing the LAN event number (1 to 8).
Raises:

stimulus property writable

stimulus: str

Access the lan.trigger[N].stimulus attribute.

Description
  • This attribute specifies events that cause this trigger to assert.
Usage
  • Accessing this property will send the print(lan.trigger[N].stimulus) query.
  • Setting this property to a value will send the lan.trigger[N].stimulus = value command.
TSP Syntax
- lan.trigger[N].stimulus = value
- print(lan.trigger[N].stimulus)
Info
  • N, a number specifying the trigger packet over the LAN for which to set or query the trigger source (1 to 8).
Raises:

assert_

assert_() -> None

Run the lan.trigger[N].assert() function.

Description
  • This function simulates the occurrence of the trigger and generates the corresponding event ID.
TSP Syntax
- lan.trigger[N].assert()
Info
  • N, the LAN event number (1 to 8).
Raises:

clear

clear() -> None

Run the lan.trigger[N].clear() function.

Description
  • This function clears the event detector for a LAN trigger.
TSP Syntax
- lan.trigger[N].clear()
Info
  • N, the LAN event number (1 to 8) to clear.
Raises:

connect

connect() -> None

Run the lan.trigger[N].connect() function.

Description
  • This function prepares the event generator for outgoing trigger events.
TSP Syntax
- lan.trigger[N].connect()
Info
  • N, the LAN event number (1 to 8).
Raises:

disconnect

disconnect() -> None

Run the lan.trigger[N].disconnect() function.

Description
  • This function disconnects the LAN trigger.
TSP Syntax
- lan.trigger[N].disconnect()
Info
  • N, the LAN event number (1 to 8).
Raises:

wait

wait(timeout: float) -> str

Run the lan.trigger[N].wait() function.

Description
  • This function waits for an input trigger.
TSP Syntax
- lan.trigger[N].wait()
Parameters:
  • timeout (float) –

    Maximum amount of time in seconds to wait for the trigger event.

Returns:
  • str

    The result of the function call.

Raises: