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.