Hamlib 4.0

w9mdb
Old Man
Posts: 434
Joined: 13 Jul 2014, 12:05

Re: Hamlib 4.0

Post by w9mdb »

Tried to contact you on Skype -- give me a buzz. mdblack98
w9mdb
Old Man
Posts: 434
Joined: 13 Jul 2014, 12:05

Re: Hamlib 4.0

Post by w9mdb »

rigctld --vfo
rigctl -m 2
Rig command: F VFOB 146000000
VFO:
Rig command: f VFOA
VFO: Frequency: 145000000

Rig command: f VFOB
VFO: Frequency: 146000000
User avatar
G4POP
Log4OM Alpha Team
Posts: 10750
Joined: 21 Jan 2013, 14:55
Location: Burnham on Crouch, Essex UK

Re: Hamlib 4.0

Post by G4POP »

w9mdb wrote: 09 Jan 2021, 14:06 Tried to contact you on Skype -- give me a buzz. mdblack98
I only see people on my specific Skype list so that would be why I was not notified of your attempt to call me.

Busy today perhaps tomorrow
73 Terry G4POP
w9mdb
Old Man
Posts: 434
Joined: 13 Jul 2014, 12:05

Re: Hamlib 4.0

Post by w9mdb »

FYI...I'm going to add a new \getvfo command to rigctld so you can ask for A/B freq/mode/width on each vfo.

The idea would be to replace the "f" command with "\getvfo VFOA" or "\getvfo VFOB" as desired and you'll get 3 lines of answer freq/mode/width -- not sure we need any more info than that.

14074000
USB
24000
w9mdb
Old Man
Posts: 434
Joined: 13 Jul 2014, 12:05

Re: Hamlib 4.0

Post by w9mdb »

In the 4.2 github repo I've added two new commands

This function will tell you if you have to use VFOA/B or Main/Sub based on what VFOs the rig has (some rigs support both).
\get_vfo_list
VFOs: VFOA VFOB Sub Main MEM


And this one will return freq/mode/width by VFO
\get_vfo_info VFOA
14074000
USB
2400
\get_vfo_info VFOB
14074500
USB
2400

Some rigs don't behave well getting the alternate VFO frequency so I would put a checkbox on the hamlib screen to "Enable 2nd VFO" for those that want it.

Mike W9MDB
HB9BRJ
Old Man
Posts: 173
Joined: 23 Nov 2014, 10:46
Location: Schaffhausen

Re: Hamlib 4.0

Post by HB9BRJ »

> 4.0 Seems work fine...replaced the hamlib_riglist.csv with the attached.

Done that but Log4OM is still calling radio ID 229 (Elecraft K3)
Hamlib 4.0 new radio ID for K3 is 2029.
How do I make Log4OM using the new hamlib_riglist.csv?

73, Markus HB9BRJ
w9mdb
Old Man
Posts: 434
Joined: 13 Jul 2014, 12:05

Re: Hamlib 4.0

Post by w9mdb »

Replace the riglist.txt file with this one

https://www.dropbox.com/s/c6vexfg7psc45 ... t.txt?dl=0

Mike W9MDB
HB9BRJ
Old Man
Posts: 173
Joined: 23 Nov 2014, 10:46
Location: Schaffhausen

Re: Hamlib 4.0

Post by HB9BRJ »

Thanks Mike, but Log4OM still thinks my K3 is rig 229:

Code: Select all

2021-02-11 14:36:33.0071 INFO:        [#=zJ$k_$zX4tPd$1sUTRg==] : [HAMLIB] Starting Hamlib service 
2021-02-11 14:36:33.0150 INFO:        [#=zJ$k_$zX4tPd$1sUTRg==] : [HAMLIB] Using existing connection: False 
2021-02-11 14:36:33.1640 INFO:        [#=z6blQQuk=] : [HAMLIB] DAEMON STARTED: C:\PortableApps\Log4OM2\config\hamlib\rigctld.exe --model=229 --rig-file=COM1 --serial-speed=38400 --port=4532 --set-conf=stop_bits=1
2021-02-11 14:36:33.2240 INFO:        [#=z6blQQuk=] : [HAMLIB] Hamlib Process exit code: 2 
2021-02-11 14:36:33.2311 INFO:        [#=z6blQQuk=] : [HAMLIB] DAEMON STOPPED. Hamlib instance terminated 
2021-02-11 14:36:37.1121 ERROR:       [HamlibEngine][#=zy1OA7zNvdzdgSJhGk2WC0eI=] : [EXCEPTION] No connection could be made because the target machine actively refused it 127.0.0.1:4532 System.Net.Sockets.SocketException (0x80004005): No connection could be made because the target machine actively refused it 127.0.0.1:4532
   at System.Net.Sockets.TcpClient..ctor(String hostname, Int32 port)
   at L4ONG.BL.CAT.HamlibEngine.#=zy1OA7zNvdzdgSJhGk2WC0eI=()
w9mdb
Old Man
Posts: 434
Joined: 13 Jul 2014, 12:05

Re: Hamlib 4.0

Post by w9mdb »

Oops...wrong file...

https://www.dropbox.com/s/snqt80tg2u28b ... t.csv?dl=0

This one goes in Roaming\Log4OM2

Mike W9MDB
HB9BRJ
Old Man
Posts: 173
Joined: 23 Nov 2014, 10:46
Location: Schaffhausen

Re: Hamlib 4.0

Post by HB9BRJ »

Hamlib 4.1 win64 working fine now.
Forgot to re-select my rig in Log4OM's Connect > CAT > Show CAT interface screen:
K3_CAT.png
K3_CAT.png (7.19 KiB) Viewed 5556 times

73, Markus HB9BRJ
Post Reply