grig (1) - Linux Manuals
grig: graphical user interface for the Ham Radio Control Libraries (hamlib)
NAME
grig - graphical user interface for the Ham Radio Control Libraries (hamlib)
SYNOPSIS
grig [OPTION]...DESCRIPTION
Grig is a simple Ham Radio control (CAT) program based on the Ham Radio Control Libraries. It is intended to be highly generic presenting the user to the same graphical user interface regardless of which radio is being controlled.
Grig does not store any radio configuration, instead it takes a number of command line options.
- -m, --model=ID
- select radio model number; see --list
- -r, --rig-file=DEVICE
- set device of the radio, eg. /dev/ttyS0
- -s, --speed=BAUD
- set transfer rate (serial port only)
- -c, --civ-addr=ID
- set CI-V address (decimal, ICOM only)
- -C, --set-conf=par=val[,par2=val2]
- set additiional configuration parameters
- -d, --debug=LEVEL
- set hamlib debug level (0..5)
- -D, --delay=VALUE
- set delay between commands in msec (see below)
- -n, --nothread
- use timeout calls instead of thread (see below)
- -l, --list
- list supported radios and exit
- -p, --enable-ptt
- enable ptt control
- -P, --enable-pwr
- enable power status control
- -h, --help
- show a brief help message and exit
- -v, --version
- show version information and exit
Example: Start grig using YAESU FT-990 connected to the first serial port, using 4800 baud and debug level set to warning:
or if you prefer the long options:
It is usually enough to specify the model ID and the DEVICE.
If you start grig without any options it will use the Dummy backend
and set the debug level to 0 (RIG_DEBUG_NONE). If you do not specify
the transfer rate for the serial port, the default serial speed will
be used by the backend and even if you specify a value, it can be
overridden by the backend. If you omit the radio device (port)
grig will use /dev/ttyS0 or localhost if the selected
radio is RPC-rig.
Grig has its own debug message handler, which will manage messages from hamlib too.
The messages are printed to STDERR by default but they can be redirected to a file.
In bash shell you would write something like:
You can then use the Message Window in the View menu to view these messages. The
debug messages printed by grig a formatted in a structured way with each line
containing both time, source and level of the message. Each field is separated
with ;; so you can also import the log file into a spread sheet for further analysis.
Grig 0.7.2 supports the most commonly used CAT command implemented by hamlib. These
include frequency, mode, filter and various level settings. Please note that not all
features have been thoroughly tested since I don't have access to any modern high-end
radios. Therefore, comments regarding success or failure in using grig will be highly
appreciated.
DEBUG LEVELS
0 No debug, keep quiet.
1 Serious bug.
2 Error case (e.g. protocol, memory allocation).
3 Warnings.
4 Verbose information.
5 Trace.
FEATURES
KNOWN BUGS AND LIMITATIONS
AUTHOR
Written by Alexandru Csete, OZ9AEC.
REPORTING BUGS
Report bugs to <groundstation-developer [at] lists.sourcforge.net>.
Bugs related to hamlib should be reported directly to the hamlib developers at
<hamlib-developer [at] lists.sourceforge.net>.
COPYRIGHT
Copyright © 2001-2006 Alexandru Csete.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.