Re: [Hamlib-developer] Tuner frontend functions
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Stephane F. <f8...@fr...> - 2003-03-24 23:15:56
|
On Mon, Mar 24, 2003, Nate Bargmann wrote:
> > What about creating RIG_FUNC_TUNE to turn the auto-tuner on and off, and
> > a RIG_OP_TUNE to start the tuner?
>
> That's what I forgot. State constants.
>
> I'm guessing these will be used in new functions for the purpose, or
> will they be used with a set of existing functions?
rig_set_func(rig, vfo, RIG_FUNC_TUNER, 1); /* enable auto-tuner */
...
rig_set_func(rig, vfo, RIG_FUNC_TUNER, 0); /* disable auto-tuner */
..
rig_vfo_op(rig, vfo, RIG_OP_TUNE); /* "user"-start tune */
..
It's in the cvs repository.
Note (not related):
I've made a cleanup: RIG_FUNC_LMP is gone, use RIG_PARM_BACKLIGHT instead.
Cheers,
Stephane
|