Chapter 3 103
Measurement Synchronization with LXI-B
Setting Up and Executing a List Sweep Measurement
24. Enable the MXAâs
LXI Output LAN
Events
:LXI:EVENt:OUTPut:LAN:ENABled
âWaitingForTriggerâ,1
:LXI:EVENt:OUTPut:LAN:ENABled
âOperationCompleteâ,1
These commands are
sent to the MXA.
The MXA will send a
âWaitingForTriggerâ
peer to peer message
when the
âWaitingForTriggerâ
instrument event
changes state.
The MXA will send an
âOperationCompleteâ
peer to peer message
when the
âOperationCompleteâ
instrument event
changes state.
25. Determine master
clock
:LXI:CLOCk:SYNC:MASTer? This query is sent to
each instrument.
Whichever
instrument returns 1
is the master clock.
26. Query PTP time. :LXI:CLOCk:TIME:SEConds? This query is sent to
the master. Itâs
response will be
referred to as
<dblTimeSeconds>.
27. Calculate the
measurementâs start
times
<startTime> = <dblTimeSeconds> +
60.0
The measurement
will start a minute
after Task 26 was
executed.
28. Configure the
MXGâs alarm
:TRIGger:LXI:ALARm:PERiod
âALARM0â,1.0
:TRIGger:LXI:ALARm:REPeat
âALARM0â,5
:TRIGger:LXI:ALARm:TIME
âALARM0â,<startTime>,0.0
:TRIGger:LXI:ALARM:ENABled
âALARM0â,1
These commands are
sent to the MXG.
The repeat parameter
should match the
number of frequencies
in the list.
A new alarm will fire
every second.