8.5 Upload and download
67
8.5
Upload and download
The host software
mogrf
provides convenient functionality that ena-
bles upload and download of tables in both binary and
CSV
format.
This simplifies handling of tables, and allows simple generation of
sequences from scripting languages like
matlab
or
python
, and the
human-readable structure simplifies trouble-shooting.
Binary format enables direct upload of table data into non-volatile
memory
and
is
provided
for
fast
back-up
purposes.
The internal
binary representation of tables is likely to change between minor
firmware revisions
due to the implementation of new functionality
that
makes
old
binary
tables
incompatible
with
new
firmware.
It
is strongly recommended that all tables be stored in
ASCII
(human-
readable) format for long-term storage. An example of this format is
shown below.
100 MHz , -5 dBm ,
0 deg , 10 us
150 MHz ,
0 dBm , 90 deg , 2 us , I O D H
80 MHz ,
5 dBm ,
0 deg , 1 us , T R I G
100 MHz ,
0 dBm ,
0 deg , 5 us
Listing 8.4:
Example of table mode
CSV
file for use with
mogrf
.
A distinction should be made between
CSV
tables
and
scripts
.
In
this context,
CSV
tables contain only the table instructions directly,
whereas
scripts
may
contain
arbitrary
sequences
of
command
for
the device.
Listing 8.4 demonstrates the format of a
CSV
table.
The
intention is that such files are more easily generated by scripting
languages (such as
matlab
or
python
).
MODE,1,TSB
TABLE,CLEAR,1
TABLE,ENTRIES,1,4
TABLE,ENTRY,1,1,100MHz,-5dBm,0deg,10us
TABLE,ENTRY,1,2,150MHz,0dBm,90deg,2us,IODH
TABLE,ENTRY,1,3,80MHz,5dBm,0deg,1us,TRIG
TABLE,ENTRY,1,4,100MHz,0dBm,0deg,5us
Listing 8.5:
Script equivalent to Listing 8.4.
Summary of Contents for ARF021
Page 1: ...Agile RF Synthesizer AOM driver ARF021 ARF421 XRF021 XRF421 Version 1 5 0 Rev 6 ...
Page 4: ...ii ...
Page 10: ...viii Contents ...
Page 26: ...16 Chapter 3 Communications ...
Page 44: ...34 Chapter 5 External modulation ...
Page 50: ...40 Chapter 6 PID stabilisation ...
Page 64: ...54 Chapter 7 Digital I O ...
Page 100: ...90 Chapter 9 Advanced table mode XRF ...
Page 128: ...118 Appendix C Command language ...
Page 133: ......