[Hamlib-developer] Re: RIG_SCAN_RESUME_ON/OFF
Library to control radio transceivers and receivers
Brought to you by:
n0nb
|
From: Francois R. <fgr...@su...> - 2002-03-02 22:12:32
|
Hello Stephane, Stephane Fillod wrote: > > On Thu, Feb 28, 2002, ham...@li... wrote: > > > > 1. CVS: hamlib/include/hamlib rig.h,1.60,1.61 (Francois Retief) > > [...] > > > *************** > > *** 360,363 **** > > --- 360,365 ---- > > #define RIG_SCAN_PROG (1L<<3) /* Programmed(edge) scan */ > > #define RIG_SCAN_DELTA (1L<<4) /* delta-f scan */ > > + #define RIG_SCAN_RESUME_ON (1L<<5) /* Scan resume ON (IC-910H) */ > > + #define RIG_SCAN_RESUME_OFF (1L<<6) /* Scan resume OFF (IC-910H) */ > > > > Francois, don't you think it should be RIG_FUNC_RESUME instead ? > I am not sure. The routine that uses this constant is rig_scan(..) But this routine has no extra variable to switch on/off the resume function. That is why I added the constants as it is above. Maybe we should change it to a function, ie. RIG_FUNC_SCAN_RESUME. Then we can use rig_set_func(..) to enable/disable the scan resume function. Quote from the manual: "Scan resume ON/OFF You can select the scan to resume or cancel when re- ceiving a signal, in the scan set mode. Scan resume ON/OFF must be set before operating a scan." What do you think? Cheers Francois Retief -- --------------------------------------------------------------------- Electronic Systems Laboratory (ESL) University of Stellenbosch South Africa Tel. +27-21-808-4472 ** Developers of the SUNSAT micro-satellite ** http://sunsat.ee.sun.ac.za |