Section: Hamlib Utilities (1)
rigmem - backup and restore memory of radio transceivers and receivers
[ -m id
[ -r device
[ -s baud
[ -c id
[ -C parm=val
[ -p sep
Backup and restore memory of radio transceivers and receivers.
from the command line only.
Keep in mind that Hamlib is BETA level software. While a lot of backend
libraries lack complete radio support, the basic functions are usually well
Please report bugs and provide feedback at the e-mail address given in the
section below. Patches and code enhancements sent to the same address are
This program follows the usual GNU command line syntax. Short options that
take an argument may have the value follow immediately or be separated by a
space. Long options starting with two dashes ('-') require an
'=' between the option and any argument.
Here is a summary of the supported options:
- -m, --model=id
Select radio model number.
See model list (use "rigctl -l").
- -r, --rig-file=device
as the file name of the port connected to the radio.
Often a serial port, but could be a USB to serial adapter. Typically
/dev/ttyS0, /dev/ttyS1, /dev/ttyUSB0,
etc. on Linux,
etc. on MS Windows. The BSD flavors and Mac OS/X have their own designations.
See your system's documentation.
- -s, --serial-speed=baud
Set radio serial speed to
Uses maximum serial speed from radio backend capabilities as the default.
- -c, --civaddr=id
as the CI-V address to communicate with the radio.
Only useful for Icom and some Ten-Tec radios.
is in decimal notation, unless prefixed by
in which case it is hexadecimal.
- -C, --set-conf=parm=val[,parm=val]
Set radio configuration parameter(s), e.g.
for a list of configuration parameters for a given model number.
- -p, --set-separator=sep
Set character as column separator instead of the CSV comma.
Some common alternatives are the vertical bar (pipe), '|', semicolon,
';', and colon, ':'.
- -a, --all
Bypass mem_caps, apply to all fields of channel_t.
- -x, --xml
Use XML format instead of CSV, if libxml2 is available.
- -v, --verbose
Set verbose mode, cumulative (see
- -h, --help
Show a summary of these options and exit.
- -V, --version
Show version of
Some options may not be implemented by a given backend and will return an
error. This is most likely to occur with the
Backup and restore are supported for basic CSV file and XML format where
Please note that the backend for the radio to be controlled, or the radio
itself may not support some commands. In that case, the operation will fail
Here is a summary of the supported commands:
- save file
Save all the content of memory in a CSV (or XML) file given as an argument to
- load file
Load the content into all the memory from a CSV (or XML) file given as an
argument to the command.
- save_parm file
Save all the parameters of the radio in a CSV (or XML) file given as an
argument to the command.
- load_parm file
Load the parameters of the radio from a CSV (or XML) file given as an argument
to the command.
This is a very
command, as it will completely clear out everything you have programmed in the
memory of your radio.
ALL DATA WILL BE LOST.
Use at your own risk!
option allows different levels of diagnostics to be output to
and correspond to -v for
or -vvvvv for
A given verbose level is useful for providing needed debugging information to
the email address below. For example, TRACE output shows all of the values
sent to and received from the radio which is very useful for radio backend
library development and may be requested by the developers.
if all operations completed normally;
if there was an invalid command line option or argument;
if an error was returned by
backend has no memory support implemented and/or the radio has no memory access
Report bugs to:
Hamlib Developer mailing list
This file is part of Hamlib, a project to develop a library that simplifies
radio and rotator control functions for developers of software primarily of
interest to radio amateurs and those interested in radio communications.
Copyright © 2003-2011 Stephane Fillod
Copyright © 2007,2018 Nate Bargmann
This is free software; see the file COPYING for copying conditions. There is
NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Links to the Hamlib Wiki, Git repository, release archives, and daily snapshot