Chapter 8. Simple table mode
58
TABLE,INSERT
TABLE,INSERT,ch,num,freq,pow,phas,dur,flags
Insert the specified entry into the table at the specified index, and
shift all other entries down.
TABLE,DELETE
TABLE,DELETE,ch,num
Remove only the specified entry from the table.
TABLE,CLEAR
TABLE,CLEAR,ch
Deletes the entire table from memory and resets any state variables.
TABLE,ENTRY
Listing 8.1 shows basic operation of table mode using the
command to define the instructions. Entries are loaded in individu-
TABLE,ENTRIES
ally then the total number is set with
. The table is
TABLE,START
armed and executed using
, resulting in typical output
shown in Figure 8.1.
The last instruction is held after the table completes, so it is good
practice to include a final instruction that sets the output power to
0x0 if it is desired for the
RF
to be off after execution finishes.
# Example of table output
MODE,1,TSB
# Begin table
TABLE,ENTRY,1,1,100MHz,-10dBm,0,100us
TABLE,ENTRY,1,2,100MHz,0dBm,0,100us
TABLE,ENTRY,1,3,80MHz,-5dBm,0,100us
TABLE,ENTRY,1,4,80MHz,-15.0dBm,0,100us
TABLE,ENTRY,1,5,100MHz,-2.0dBm,0,100us
TABLE,ENTRY,1,6,100MHz,0x0C00,0,100us
TABLE,ENTRY,1,7,100MHz,0x0200,0,100us
TABLE,ENTRY,1,8,100MHz,0x0,0,100us
TABLE,ENTRIES,1,8
TABLE,START,1
Listing 8.1: Simple table mode demonstration.
Need help?
Do you have a question about the ARF021 and is the answer not in the manual?