24. Enable the MXA's
LXI Output LAN
Events
25. Determine master
clock
26. Query PTP time.
27. Calculate the
measurement's start
times
28. Configure the
MXG's alarm
Chapter 3
:LXI:EVENt:OUTPut:LAN:ENABled
"WaitingForTrigger",1
:LXI:EVENt:OUTPut:LAN:ENABled
"OperationComplete",1
:LXI:CLOCk:SYNC:MASTer?
:LXI:CLOCk:TIME:SEConds?
<startTime> = <dblTimeSeconds> +
60.0
: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
Measurement Synchronization with LXI-B
Setting Up and Executing a List Sweep Measurement
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.
This query is sent to
each instrument.
Whichever
instrument returns 1
is the master clock.
This query is sent to
the master. It's
response will be
referred to as
<dblTimeSeconds>.
The measurement
will start a minute
after Task 26 was
executed.
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.
103