100 Chapter 3
Measurement Synchronization with LXI-B
Setting Up and Executing a List Sweep Measurement
Synchronizing Using Alarm Triggers
A second method of synchronization uses alarm triggers to step each
instrument through their lists at predetermined times. Using this
method, the instruments never have to communicate their states.
Instead, the controller determines a schedule for execution, and each
instrument carries out its actions with the assumption that the other is
keeping up with its schedule. The following example illustrates a
method for setting up a list sweep using alarms for synchronization.
31. Begin the MXAâs list
sweep
:INIT:LIST This command is sent
to the MXA.
This will cause the
MXA to take a
measurement at the
first frequency in its
list. It will also begin
waiting for the alarm to
fire before moving on to
the next measurement.
32. Wait for the
âOperationCompleteâ
instrument event
Detect the peer to peer traffic
using Interactive LXI. To
programmatically listen for LXI
peer to peer messages, use the
IOLibraries TMFramework LXI
library.
When the MXA has
completed its list, it will
send the peer to peer
message
âOperationCompleteâ
with a rising edge.
33. Read measurement
results.
:FETCH:LIST? This query is sent to
the MXA.
Task Action Notes
1. Disable LXI Output
LAN Events on the
MXG
:LXI:EVENt:OUTPut:LAN:DISable:ALL This command is sent
to the MXG
2. Reset the MXG *RST This command is sent
to the MXG
3. Choose the MXGâs
PTP domain
:LXI:CLOCk:PTP:DOMain 0 This command is sent
to the MXG.
The parameter may
be any integer 0-255.