Hello Tobias, just a question, maybe I am simply missing something from the user manual: How do you change Winrad L.O. frequency by, e.g. 25kHz. I only found the method of tuning with the mouse wheel, while havign the mouse pointer above the digits of the L.O. display. So one can change by 10kHz, but this will be rounded down and so no actual change will happen. Maybe I have missed some possibility.
73, Günter -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Tobias G. Finger / DG3LV Gesendet: 17 March 2007 12:12 An: winrad discussion list Betreff: Re: [Winrad] Interface DLL Koellner, Guenter DL4MEA schrieb: >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 > > > Hallo Günter ! Just a matter of strategy : When the user wants to change the LO by any amount, you (=the DLL) change the VFO(the hardware) by at least one step (e.g.=25kHz) in the intended direction. Then you call the callback-function with parameters of (-1,101, .....). WinRad in turn will ask the actual frequency by the use of the GetHWLO function, which is answered by your DLL with the actual value of the VFO. This value will be displayed in WinRad and the tunedfrequency will change accordingly and is sent back to the DLL (maybe for a frequency-display). For larger steps above the step-width the strategy is similar : calculate the nearest step-frequency and send it back to WinRad. The DLL does not need a GUI. This is the way I implemented my DLL for the Cypress Blueberry chip CY27EE16. If your VFO has a tuning knob or else, the use of the callback function, too, is the answer. 73 de dg3lv Tobias _______________________________________________ Winrad mailing list [email protected] http://winrad.org/mailman/listinfo/winrad_winrad.org _______________________________________________ Winrad mailing list [email protected] http://winrad.org/mailman/listinfo/winrad_winrad.org
