Hi,
I have read https://www.cqrlog.com/node/3462 and it says:
Most common reasons that come in to my mind are that your script has no exec bit, but if you can run it from command line and it works, then next is your rig is not on phone mode.
Or at least Cqrlog does not know it.Do you have right mode at NewQSO mode, and also TRXControl has red text in some of phone mode buttons?
Start Cqrlog from console:
cqrlog --debug=1
And you should find these lines when you press a F-key:AProcess.Executable: bash Parameters: /home/saku/.config/cqrlog/voice_keyer/voice_keyer.sh
F1
I do *not* see the line that looks like:
AProcess.Executable: bash Parameters: /home/saku/.config/cqrlog/voice_keyer/voice_keyer.sh
and I do not know why.
I am running Debian 12 on x86.
I have built my own cqrlog program using git sources to get more up to date support for hamlib rig control.
I used the build instructions posted in this forum and everything compiled with no issue at all.
The git log says the newest commit I have is:
commit e67487946ebe057cd15562550a15505bd61f5a20
Merge: dcf8956 174dd53
Author: Petr Hlozek
Date: Sun Aug 18 13:32:51 2024 +0200
I am using 'cqrlog --debug=1' which helped me debug the hamlib issue.
Now I do have CW keying working correctly via hamlib, but not voice keying.
I do set the mode to SSB in the New QSO screen and hit the F keys and see nothing different in the debug output.
I also open the memory keys window and hit the keys and see nothing when in SSB mode but they work in CW mode.
I do have ~/.config/cqrlog/voice_keyer/voice_keyer.sh and it is executable.
Feel free to contact me at the email address in my profile or at qrz.com if you want more info.
Thanks,
Dave, N1AI
Ok, I found the problem.
I need to have 'Send rig voice' unchecked to use the voice keyer script instead of sending voice commands via hamlib rigctl.
I found this by searching for 'voice' in the source code then reading the code to figure out that it only uses the script when this box is not checked.
I haven't read Pascal code in a very, very long time but I was able to figure it out.
I must tell you that I first learned to code in Pascal back in 1984. I had a very nice college internship at IBM and worked on compilers, assemblers, linkers and loaders written in Pascal for a product that almost no one knows about that had the Motorola 68000 as its CPU. That internship was a major turning point in my life. It turned me into a confident computer scientist and led to another 40 years of programming, 35 as a professional, the last five in retirement. I'm pretty sure the last time I would have looked at Pascal code would have been 1988 or so.
Thanks for working on such a great program! So many things these days for me are about how life completes the circle, and reading code in Pascal again completes a very big circle!
Regards,
Dave, N1AI
Hi Dave!
Just checked the help files of Cqrlog Alpha and found that "Send rig voice" was missing. I must add it.
Well, Pascal seems to be like bike riding. You can not forget it. Although Lazarus is so far from plain Pascal because of GUI handling is not part of standard Pascal.
My first Pascal contact was a course in technical school 1982. Mainframe computer with 300baud tty (paper printing) terminals and so small user quota that you could not store several programs to it. All must be punched to paper stripe and loaded from that before use.
I remember my VHF contest score counting and log printing program had quite big paper reel to load every time when needed.
Since those days I have used Pascal every now and then along with Basic, Z80 machine code, Perl, Php, C etc. But I must say that playing with Cqrlog has learned a lot more than those school days in "stone age".
--
Saku
OH1KH
Yes, please do update the help pages. I am using them quite a lot to figure out all the features the program has.
I am glad you are enjoying working on cqrlog. I have used it for a few years now just for logging and now I am using it for rig control and sending pre-recorded voice and CW too. All this is working now.
As a teenager in the 1970s, I did a LOT with ham radio. Then I went to college to study electrical engineering, but while there I discovered that computer science was very rewarding so I changed my major. After school, work and family took over so I put my radios away. Now I am retired and have re-entered the hobby. So much is different! I am really enjoying working with ham radio software and software defined radio. All the things I learned in 35 years of professional programming are pretty handy now!
Thanks again!
Regards,
Dave, N1AI