Setting up rigctld for multiple programs

4 posts / 0 new
Last post
DL2KI
Setting up rigctld for multiple programs

Hi,

i have set up the "rigctld" according to the manual "Setting up rigctld for multiple programs" for my K3. But since I alternately run my K2 with CQRLOG, I have the question, how can I change the RIGs with this method.

Can I start "rigctld" for two different RIGs simultaneously so that I can use the RIG selection in CQRLOG?
Is it possible to "Setting up rigctld for multiple programs and two rigs"?

73, Wolfgang
DL2KI

oh1kh
Setting up rigctld for multiple programs

HI Wolfgang!

Yes. You are on the track. Just start 2x rigctld with different port assigned. Then change port also at cqrlog's radio1 and radio2 to connect your rigctlds.

I use default port "-t 4532" with ic7300 and another rigctld with port "-t 14532" for ic706. Cqrlog radio1 port is 4532 and radio2 is 14532

Just choose a port that is not used by any other program.

--
Saku
OH1KH

DL2KI
Setting up rigctld for multiple programs

Hi,

ok, I tried that once.

But I think that this requires an adjustment of the script in the manual "Setting up rigctld for multiple programs".

There is another problem.

I operate the K3 via a regular serial interface "/dev/ttyS0". The device is permanently present in the list "/dev".

But if the K3 is not switched on when "rigctld" is started, "the daemon aborts with the error message "rig_open: error = Communication timed out".

The K2 is connected via a USB-RS232 adapter. If this is not connected, however, the device "/dev/ttyUSB0" is missing, and "rigctld" also aborts with the error message "rig_open: error = IO error".

If the K3 were also connected via a USB-RS232 adapter, the same problem would arise here.

Both cases would have to be considered when starting via "crontab", otherwise it only works if both transceivers are connected / switched on when "rigctld" is started.

73, Wolfgang
DL2KI

oh1kh
Setting up rigctld for multiple programs

Yes!
You need to duplicate the line of script where you start rigctld. First line for K3 and second line for K2 with usual parameters, but different port ("-t") settings.
It is normal that rigctrld fails if rig is not found behind serial port. Or if the serial port (usb converter) is missing.

For that case you just have to start script again (manual) or make script so that it checks if rigctld is running and if not it starts again (crontab / check every minute).
If you have to restart rigctld while cqrlog is running you must refresh connection there also. I use TRXControl: just switch radio1 - radio2 (even if no radio2) - radio1 and cqrlog will refresh connection to rigctld.

--
Saku
OH1KH