Hello Guenter, you raise a very good point, that of the granularity of the frequency generated by the external LO. Presently, you can change the LO frequency by two means. You can do that from inside Winrad, changing the value on the screen. Winrad will then send that value to the DLL, and forgets completely the matter. It doesn't ask the DLL what the actual value of the frequency set is, supposing that the DLL did obey to its command...:-) Or you can change the LO frequency from inside the GUI of the DLL, and in such a case the DLL sends an asynchronous alert to Winrad, telling it what the new frequency is. In this latter case Winrad just takes that value, displays it on the screen, and uses it to compute what the actual reception frequency is.
It is apparent from the above that, if the LO is capable only of discrete jumps greater than 1 Hz, the first of the two methods can lead to errors. So I have decided to modify the SetHWLO call so that the return value from the DLL is no more an indication of the success of the operation, but it is instead the actual value of the frequency that has been set on the LO. Before doing that, I will await for comments and further suggestions. Thanks for the raising the issue. 73 Alberto I2PHD ---------------------------------- Koellner, Guenter wrote: > Hello Alberto, > > I have two questions about the interface DLL: > > - When you set the frequency of the external L.O., do you immediatly read > back the value before it becomes displayed? > I am asking because if the external PLL might not provide the resolution, > there will result an offset. > For example, your external L.O. is working in 25kHz steps, but the user > wants to set a frequency not matching this. > > - How often does winrad read this value? Only in case of setting or more > frequent. > This question because it might be that the external L.O. becomes changed > with external functions. > > 73, Günter, DL4MEA _______________________________________________ Winrad mailing list [email protected] http://winrad.org/mailman/listinfo/winrad_winrad.org
