Re: [Hamlib-developer] Setting frequency in split mode using hamlib
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Stefano S. <s.s...@is...> - 2011-10-28 08:27:21
|
I downloaded the latest version of GPredict for Windows from Sourceforge a couple of days ago and it works well with the ICOM 910. Here is a log of what GPredict does to read main and sub VFO frequencies: rigctl(d): V '0xb77908e9' 'Main' '' '' TX 7 bytes 0000 fe fe 60 e0 07 d0 fd ..`.... RX 7 characters 0000 fe fe 60 e0 07 d0 fd ..`.... RX 6 characters 0000 fe fe e0 60 fb fd ...`.. fscanf: Success rigctl(d): f '0xb77908e9' '' '' '' TX 6 bytes 0000 fe fe 60 e0 03 fd ..`... RX 6 characters 0000 fe fe 60 e0 03 fd ..`... RX 11 characters 0000 fe fe e0 60 03 00 00 89 45 01 fd ...`....E.. fscanf: Success rigctl(d): V '0xb77908e9' 'Sub' '' '' TX 7 bytes 0000 fe fe 60 e0 07 d1 fd ..`.... RX 7 characters 0000 fe fe 60 e0 07 d1 fd ..`.... RX 6 characters 0000 fe fe e0 60 fb fd ...`.. rigctl(d): f '0xb77908e9' '' '' '' TX 6 bytes 0000 fe fe 60 e0 03 fd ..`... fscanf: Success RX 6 characters 0000 fe fe 60 e0 03 fd ..`... RX 11 characters 0000 fe fe e0 60 03 40 72 55 35 04 fd ...`.@rU5.. fscanf: Success rigctl(d): V '0xb77908e9' 'Main' '' '' TX 7 bytes 0000 fe fe 60 e0 07 d0 fd ..`.... RX 7 characters 0000 fe fe 60 e0 07 d0 fd ..`.... RX 6 characters 0000 fe fe e0 60 fb fd ...`.. fscanf: Success GPredict is sending manually all the commands, in particular selecting the VFO, without doing a double swaps (as it is done in the read_split_frequency command in Hamlib) and the reception can continue without interruptions. I do not know if the VFO exchange does the same thing on all the other ICOM radios, but on the 910 this interrupts reception. Stefano On 10/26/2011 7:48 PM, Alexandru Csete wrote: > Actually, this code has been changed in Gpredict since version 1.3 in > order to make it work with the FT-847, so it could be broken there as > well. > > Alex > > On Wed, Oct 26, 2011 at 10:48 AM, Stefano Speretta > <s.s...@is...> wrote: >> Here is a log from rigctld (rigctld -m 344 -r COM2 -s 9600 -vvvvv). >> >> Here I am doing a frequency readout: >> >> rigctl(d): i 'currVFO' '' '' '' >> TX 7 bytes >> 0000 fe fe 60 e0 07 b0 fd ..`.... >> RX 7 characters >> 0000 fe fe 60 e0 07 b0 fd ..`.... >> RX 6 characters >> 0000 fe fe e0 60 fb fd ...`.. >> TX 6 bytes >> 0000 fe fe 60 e0 03 fd ..`... >> RX 6 characters >> 0000 fe fe 60 e0 03 fd ..`... >> RX 11 characters >> 0000 fe fe e0 60 03 40 28 80 35 04 fd ...`.@(.5.. >> TX 7 bytes >> 0000 fe fe 60 e0 07 b0 fd ..`.... >> RX 7 characters >> 0000 fe fe 60 e0 07 b0 fd ..`.... >> RX 6 characters >> 0000 fe fe e0 60 fb fd ...`.. >> >> and here is a frequency set: >> >> rigctl(d): I 'currVFO' '435500000' '' '' >> TX 7 bytes >> 0000 fe fe 60 e0 07 b0 fd ..`.... >> RX 7 characters >> 0000 fe fe 60 e0 07 b0 fd ..`.... >> RX 6 characters >> 0000 fe fe e0 60 fb fd ...`.. >> TX 11 bytes >> 0000 fe fe 60 e0 05 00 00 50 35 04 fd ..`....P5.. >> RX 11 characters >> 0000 fe fe 60 e0 05 00 00 50 35 04 fd ..`....P5.. >> RX 6 characters >> 0000 fe fe e0 60 fb fd ...`.. >> TX 7 bytes >> 0000 fe fe 60 e0 07 b0 fd ..`.... >> RX 7 characters >> 0000 fe fe 60 e0 07 b0 fd ..`.... >> RX 6 characters >> 0000 fe fe e0 60 fb fd ...`.. >> Command ' ' not found! >> Command '▌' not found! >> >> The first command sent to the radio is a "switch VFO" which swaps the >> frequency on the 2 VFOs, >> then the frequency of the receive VFO is set to the uplink desired value and >> at the end, the VFOs >> are swapped again. This properly sets the frequency on the uplink VFO but >> the switch disrupts >> reception for a fraction of second at every switch. >> >> The proper command would be "select VFO" which is what GPredict is doing to >> set the uplink frequency >> but this is done manually. >> >> If I comment the if statement in icom/icom.c at line 1529, then the split >> frequency is set properly without >> swapping the VFOs. This way alre reception can be performed 100% of the >> time. >> >> Stefano >> >> >> On 10/25/2011 9:25 PM, Charles Suprin wrote: >> >> Stefano, >> >> Does the same radio work under Linux for you? >> >> Also could you post a log of the output of rigctld with the -vvvvv option, >> please. >> >> Thanks, >> Charles >> Aa1vs >> >> On Oct 25, 2011 11:41 AM, "Stefano Speretta"<s.s...@is...> wrote: >>> Hello everybody, >>> >>> I am trying to control an ICOM 910 through Hamlib (1.2.14 under Windows) >>> for tracking a satellite. >>> >>> Downlink frequency is set without problems but I cannot properly set the >>> uplink frequency. >>> The radio is not set in Satellite mode (as it is done in Gpredict). >>> >>> I am trying to set the split_mode frequency using the command "I >>> frequency_in_Hz\n" and >>> I actually get as output the correct frequency from Hamlib. The problem >>> is that to do that >>> Hamlib performs a switch between the two VFO (see icom/icom.c at line >>> 1529) which actually >>> swaps the VFO, interrupting the reception for a fraction of second. >>> >>> Is there a way to avoid this problem (skipping the if statement at the >>> previous mentioned line)? >>> GPredict is doing it manually, by selecting the other VFO, reading the >>> frequency and then setting >>> the VFO back. >>> >>> >>> Thanks >>> Stefano >>> > ------------------------------------------------------------------------------ > The demand for IT networking professionals continues to grow, and the > demand for specialized networking skills is growing even more rapidly. > Take a complimentary Learning@Cisco Self-Assessment and learn > about Cisco certifications, training, and career opportunities. > http://p.sf.net/sfu/cisco-dev2dev > _______________________________________________ > Hamlib-developer mailing list > Ham...@li... > https://lists.sourceforge.net/lists/listinfo/hamlib-developer |