Chapter 3
95
Measurement Synchronization with LXI-B
Setting Up and Executing a List Sweep Measurement
Setting Up and Executing a List Sweep
Measurement
The following example will illustrate procedures for setting up and
executing a list sweep measurement using an MXA and an MXG
synchronized with LXI-B.
Before launching into the procedure, it is important to understand the
theory behind the method. The MXA and MXG use their LXI Output
LAN Events to communicate internal state changes to each other. In
the following synchronization, the rising edge of the
“WaitingForTrigger” instrument event will be used to communicate to
the other device that the next step may be executed.
For clarity, the MXG’s “WaitingForTrigger” instrument event is mapped
to the “LAN0” output event. Likewise, the MXA’s “WaitingForTrigger”
instrument event is mapped to the “LAN1” output event. The MXA is
configured to trigger when it receives the “LAN0” event with a rising
edge. The MXG is configured to trigger when it receives the “LAN1”
event with a rising edge. Also, the “OperationComplete” output event is
enabled, which has the “OperationComplete” instrument event mapped
to it by default.
The MXG’s list sweep is started first, causing it to source the first signal
in its list. We then start the MXA’s list sweep. The “OperationComplete”
instrument event transitions low, causing an “OperationComplete”
output event to go out on the LAN with a falling edge. The MXA takes a
measurement at the first frequency in its list. When the MXA has
finished its measurement, it moves on to the next entry in its list. The
“WaitingForTrigger” instrument event transitions high, causing a
“LAN1” output event to go out onto the LAN with a rising edge, and the
MXA waits for its next trigger.
The MXG receives the “LAN1” event and triggers. The MXG’s
“WaitingForTrigger” instrument event transitions low, and a “LAN0”
output event goes onto the LAN with a falling edge. The MXA takes no
action, since it is configured to trigger only on rising edges. The MXG is
now sourcing the next signal in its list. Once that signal has settled, it
prepares to move on to its list’s next entry. The MXG’s
“WaitingForTrigger” instrument event transitions high, and a “LAN0”
output event goes onto the LAN with a rising edge. The MXG waits for
its next trigger.
The MXA receives the “LAN0” event and triggers. The MXA’s
“WaitingForTrigger” instrument event transitions low, and a “LAN1”
output event goes onto the LAN with a falling edge. The MXG takes no
action, since it is configured to trigger only on rising edges. The MXA
completes its measurement and prepares to move on to the next