Andrew, Marco and everyone,
The weekend has finally arrived and I have been able to put in some more time into this project.
I got it switched to integer numbers like we discussed. I wasn't that hard to do once I got going again.
It definitely looks much better that my previous attempt. As expected it eliminated the floating point conversion problem I was having.
I had it all fancy where the frequency limits that you could enter was based on the vhf/uhf lower and upper limits set on the Other tab. It was pretty cool but it could get in trouble if you changed the band setting without keying in the appropriate frequency. I think that problem would go away if you could use the entered frequency to automatically set the correct band.
If you don't mind, take a look at it and let me know if there is anything else I should do or if anything is missing. This it the trickiest thing I've done so far and I want to make sure it is right before I submit it to Dan.
Thanks,
Jim
Marco,
I'll see if I can't give this another look this weekend.
JimOn Mon, Jan 28, 2013 at 7:16 AM, IZ3GME Marco <iz3gme.marco@gmail.com> wrote:
Right!
in other words Jim:
- use RadioSettingValueInteger to store freq as tens of Hz
- remove / 100000.0 from convert_bytes_to_freq
- remove whole real_freq = int(freq * 100000) line from
convert_freq_to_bytes
73 de IZ3GME Marco
P.S.
Sorry I don't have the time to write and test code myself today