table of contents
RIGSWR(1) | Radio SWR Measurement Tool | RIGSWR(1) |
NAME¶
rigswr - measure VSWR vs frequency using Hamlib.SYNOPSIS¶
rigswr [ OPTION]... start_freq stop_freq [freq_step]DESCRIPTION¶
rigswr uses Hamlib to control a rig to measure VSWR vs frequency:OPTIONS¶
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-').- -m, --model=id
- Select radio model number. See model list (use 'rigctl
-l').
- -r, --rig-file=device
- Use device as the file name of the port the radio is connected. Often a serial port, but could be a USB to serial adapter. Typically /dev/ttyS0, /dev/ttyS1, /dev/ttyUSB0, etc.
- -s, --serial-speed=baud
- Set serial speed to baud rate. Uses maximum serial speed from rig backend capabilities as the default.
- -c, --civaddr=id
- Use id as the CI-V address to communicate with the
rig. Only useful for Icom rigs.
- -p, --ptt-file=device
- Use device as the file name of the Push-To-Talk
device using a device file as described above.
- -p, --ptt-type=type
- Use type of Push-To-Talk device. Supported types are
RIG, DTR, RTS, PARALLEL, NONE.
- -C, --set-conf=parm=val[,parm=val]*
- Set config parameter. e.g. stop_bits=2
- -v, --verbose
- Set verbose mode, cumulative (see DIAGNOSTICS below).
- -h, --help
- Show summary of these options and exit.
- -V, --version
- Show version of rigswr and exit.
EXAMPLE¶
rigswr -m 209 -r /dev/ttyS1 14000000 14290000 50000 > cswr Scans frequencies between 14.000 MHz and 14.200 MHz with 50 kHz step on a TS-850 and records VSWR measurements in file cswr. After completion, cswr file contains the following lines:14000000 1.50
14050000 1.31
14100000 1.22
14150000 1.07
14200000 1.07
- Result could then be plotted with gnuplot:
-
DIAGNOSTICS¶
The -v, --version option allows different levels of diagnostics to be output to stderr and correspond to -v for BUG, -vv for ERR, -vvv for WARN, -vvvv for VERBOSE, or -vvvvv for TRACE.EXIT STATUS¶
rigswr exits with:BUGS¶
Depending on keyer/QSK setup, transmissions in CW mode may not be modulated thus possibly giving a wrong result. Please report this situation if it happens.REPORTING BUGS¶
Report bugs to <hamlib-developer@lists.sourceforge.net>.AUTHORS¶
Written by Thierry Leconte, Stephane Fillod, and the Hamlib GroupCOPYRIGHT¶
Copyright © 2004-2009 Thierry Leconte, Stephane Fillod, and the Hamlib Group.SEE ALSO¶
rigctl(1), gnuplot(1), hamlib(3)February 24, 2007 | Hamlib |