Set the LAN trigger mode to configure the edge detection method in incoming LXI trigger packets.
The mode that is selected also determines the hardware value in outgoing LXI trigger packets. The
following table lists the LAN trigger modes.
The programming example below illustrates how to configure the LAN trigger mode.
-- Set LAN trigger 2 to falling edge.
lan.trigger[2].mode = lan.TRIG_FALLING
Understanding LXI trigger event designations
LAN trigger objects generate LXI trigger events, which are LAN0 to LAN7 (zero based). In the
command table, the LXI trigger events can be accessed using lan.trigger[1] through
lan.trigger[8].
lan.trigger[1] corresponds to LXI trigger event LAN0 and lan.trigger[8] corresponds to LXI
trigger event LAN7.
Generating LXI trigger packets
You can configure the 2600B to output an LXI trigger packet to other LXI instruments.
To generate LXI trigger packets:
1. Call the lan.trigger[N].connect() function.
2. Select the event that triggers the outgoing LXI trigger packet by assigning the specific event ID to
the LAN stimulus input.
Make sure to use the same LXI domain on both the 2600B instrument and the other instrument. If the
2600B has a different LXI domain than the instrument at the other end of the trigger connection, the
LXI trigger packets are ignored by both instruments.