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

Reply via email to