Closing the TRX control window kills rigctld

7 posts / 0 new
Last post
kg8iu
Closing the TRX control window kills rigctld

Hello,

New install of CQRLOG 2.0.1 into Ubuntu 16.04 64-bit from the PPA.

Here's the scenario. I start the program. Everything loads fine, including transceiver control. I go to Windows -> TRX control. The TRX control window loads. It also works. I close the TRX control window. CQRLOG's ability to talk to the radio ceases, because rigctld is no longer running.

To restore it, I go to File -> Refresh TRX/ROT control. This restores rigctld and all is well.

I do use "Run rigctld when program starts", if that is relevant.

- Jeff KG8IU

dl7vea
Re: Closing the TRX control window kills rigctld

Hello all,

I do confirm this issue. Same behaviour here on Raspbian Stretch with CQRLOG 2.0.1. If I start the rigctld outside CQRLOG and configure CQRLOG to use this, it gets not killed but the communication stops working after closing the TRX control window as well.

I tried a lot of analysis, but I did not found any hint on what happens. I already took away the settings for bandwidths per mode as suggested in another post...

Any idea on that?

Axel, DL7VEA

oh1kh
Re: Closing the TRX control window kills rigctld

Hi
May I ask why you do use 2.0.1 when there is 2.3.0 at download page?

--
Saku
OH1KH

dl7vea
Re: Closing the TRX control window kills rigctld

Hi Saku,

I'm sorry. That was a typo. It should have been 2.3.0-1. Sorry for this confusion. I'm using the binary from the package:
https://www.cqrlog.com/files/cqrlog_2.3.0/cqrlog_2.3.0-1_armhf.deb

Best regards, Axel, DL7VEA

oh1kh
Re: Closing the TRX control window kills rigctld

Hi
Ok.
Made a quck peek into source and (with tabet, not best terminal for programming).
There seems to be thrig.terminate called when window closes. It sure kills rig connect, but his should be seen with all versions, not just raspberry.
So this needs more study when Im at my PC.

--
Saku
OH1KH

oh1kh
Re: Closing the TRX control window kills rigctld

Hi!

Yep. You are right. And this bug exist in all versions, not just raspberry.

In source file fTRXControl.pas there is:


procedure TfrmTRXControl.FormClose(Sender: TObject;
var CloseAction: TCloseAction);
begin
if Assigned(thRig) then
thRig.Terminate;
dmUtils.SaveWindowPos(frmTRXControl);
end;

And thrig.terminate really kills connect. Funny that nobody has reported it before (with other versions that rasp).
Commenting out "thrig.Terminate" could help if you can compile the source.

Unfortunately I can not spend long times behind my PC now due my back (just few minutes of sitting), so I can not try to make a fix and test it.

--
Saku
OH1KH

oh1kh
Re: Closing the TRX control window kills rigctld

Hi!

Just a very quick test. Commenting out "thrig,terminate" does not thelp. There is something else that needs further investigations.

--
Saku
OH1KH