Model 2651A High Power System SourceMeter® Instrument Reference Manual
Section 3: Functions and features
2651A-901-01 Rev. A / March 2011
3-51
LXI trigger edge detection
Stateless event
flag
Hardware
value
Pseudo line state Falling edge
Rising edge
0 0
0 Detected
Detected
0 1
0 - Detected
0 0
1 Detected
-
0
1
1 Detected
Detected
1 -
- Detected
Detected
Set the LAN trigger mode to configure edge detection method in incoming LXI trigger packets. The
mode selected also determines the hardware value in outgoing LXI trigger packets. The following
table lists the LAN trigger modes.
LAN trigger modes
Trigger mode
Input detected
Output generated
Notes
Either edge
Either
Negative
Falling edge
Falling
Negative
Rising edge
Rising
Positive
RisingA
Rising
Positive
Same as Rising
RisingM
Rising
Positive
Same as Rising
Synchronous
Falling
Positive
Same as SynchronousA
SynchronousA Falling
Positive
SynchronousM Rising
Negative
The programming example below illustrates how to configure the LAN trigger mode:
-- Set LAN trigger 2 to have falling-edge mode.
lan.trigger[2].mode = lan.TRIG_FALLING
Understanding LXI trigger event designations
LAN trigger objects generate LXI trigger events. The LXI standard designates trigger events as 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
The Model 2651A can be configured to output an LXI trigger packet to other LXI instruments. To
generate LXI trigger packets, you must first call the
lan.trigger[
N
].connect()
function. Select
the event that triggers the outgoing LXI trigger packet by assigning the specific event ID to the LAN
stimulus input.