¿ªÔÆÌåÓý

USB control in signal generator mode


 

Hi everyone,
? I ran into some trouble while developing a PC app to control the TinySA Ultra in signal generator mode via USB.? I had the output on/off control and output level working but when I went to set the frequency it failed, and even the stuff that was working stopped working.
?
It took me a day but I tracked the problem back to a mismatch between the wiki documentation and the actual implementation.? From the wiki it looks like you send something like "freq 145000000" but the actual code only does a pause_sweep(), breaking the output and level commands, while the call set_frequency(freq) is only calling a stub, not actually setting the frequency.
?
I found a post that solved my problem using "sweep cw 145000000" instead.
?
I think, short term at least, the wiki should be updated to reflect current code.? I wasn't sure if I should raise this as code issue since the wiki is not part of the code repo.
?
Cheers
? David - ZL2DAA

Join [email protected] to automatically receive all group messages.