C. Command language
The
protocol
for
communicating
with
an
ARF/XRF
is
described
in
chapter 3, and the host software provided to interface with the unit
is detailed in chapter 4. The protocol follows a request/reply archi-
tecture: after sending a command, it is important to always wait for
the response before sending the next command.
Please note:
The command language is being continuously updated across firmware
releases to improve functionality and add features. When upgrading firmware, please
refer to the most recent version of the manual available at
http://www.moglabs.com
In
particular,
code
written
for
firmware
before
v1.0
may
need
up-
dating
to
be
compatible
with
newer
releases;
please
refer
to
the
individual commands below.
C.1
Arguments
Most commands require a channel number “
ch
” (either 1 or 2), and
accept a comma-separated list of parameters.
Parameters shown in
square
brackets
are
optional,
and
most
commands
are
treated
as
queries when called without a value.
All commands respond with a string that begins with either “OK” or
“ERR” to indicate whether it was successful.
It is strongly recom-
mended that the response be checked for success.
Units can be specified for values associated with frequency, power,
phase and time:
Frequency
Hz, kHz, MHz (default)
Power
dBm (default), dB, mW, W
Phase
deg (default), rad
Time
ns, us (default), ms, s
99
Содержание ARF021
Страница 1: ...Agile RF Synthesizer AOM driver ARF021 ARF421 XRF021 XRF421 Version 1 5 0 Rev 6 ...
Страница 4: ...ii ...
Страница 10: ...viii Contents ...
Страница 26: ...16 Chapter 3 Communications ...
Страница 44: ...34 Chapter 5 External modulation ...
Страница 50: ...40 Chapter 6 PID stabilisation ...
Страница 64: ...54 Chapter 7 Digital I O ...
Страница 100: ...90 Chapter 9 Advanced table mode XRF ...
Страница 128: ...118 Appendix C Command language ...
Страница 133: ......