Direct Access to Frequency List

25 posts / 0 new
Last post
DO1YHJ
Direct Access to Frequency List

Okay, we have a Frequency List (Memory) in the TRX-Control Window with M+ and M- Buttons, but it would be nice, to have a direct Access to the List for changing faster to a Frequency in the List.
I use my Rig also for SWL Broadcast Listening and changing to a wished Broadcast Station only by using the M+ and M- Buttons is, hmmm, Broadcast Lists could be very long. :-)
A Description Field in the List would be nice too and, maybe, support for more than one Frequency List?

73 de Heinz-Juergen DO1YHJ

oh1kh
Direct Access to Frequency List

Hi!
Frequency lists can be exported and imported from TRXcontrol/Preferences/Add/modify memory/More

Other wishes are good, but not implemented.
In test version 2.30-104 I have added an indicator that shows the current memory line when pressing up and dn buttons.

--
Saku
OH1KH

DO1YHJ
TNX for your answer. I hope

TNX for your answer. I hope for the future. :-)
And i use the Beta's a lot.

73 de Heinz-Juergen DO1YHJ

oh1kh
Direct Access to Frequency List

Hi!

I made a test version 230-106 where you can set rig by double clicking TRXControl's Add/Modify memory list.
Quite easy implementation.

You may find it comfortable with SWL Broadcast listening.

--
Saku
OH1KH

DO1YHJ
TNX. Worked.

TNX. Worked.

73 de Heinz-Juergen DO1YHJ

DO1YHJ
I don't know, how much work

I don't know, how much work it will be so there is no need to force things. As a final solution, the Frequency List should be a separate Window like the other Windows in the "New QSO/Window" Menu. Or as a new Button "M List" in the TRX Control Window. At the Moment, the List Access out of the Preference Part is blocking all other Functions. And a Description Field in the List is needed for better overview. I imported some Parts from the EIBI Frequency List and i miss the Description badly. :-)
As a, in German we say "Sahnehäubchen", the Description could be shown beneath the Frequency in the TRX Control Window.

But as i wrote before, no need to hurry. :-)

73 de Heinz-Juergen DO1YHJ

oh1kh
I don't know, how much work

Hi!

Lot more work.
This quick solution was made just the BC broadcast listening in mind. I am aware that keeping Add/Modify memory list open blocks other functions you need for logging ham qsos. It was just a Sunday afternoon project.

Also description column addition is not so easy. For some reason I did not manage to do additional column even for row number for list that is not kept in mysql, just created at window opening phase.

Adding a description would need also mysql database table altering and that would change a lot more.

--
Saku
OH1KH

DO1YHJ
TNX for your description. I'm

TNX for your description. I'm not a Coder, but i understood the problems that may arise by changing only a little part of the code.
As i said. It's a wish for the future. ;-)

73 de Heinz-Juergen DO1YHJ

DO1YHJ
Found a bug? in the 230-160

Found a bug? in the 230-160 Beta with writing Memory.
For Example: Freq is 3576.500 KHz on RIG and TRX-control.
M-Wri wrote 3577.000 into the Memory List. That happens to every Frequency that doesn't end on .000
Frequency is rounded to .000 in the Memory List when using M-wri Button.
Exporting to .csv, modifying the Freq and importing the Modified List shows the correct Frequency.

And a small glitch i noticed while playing around with the Memory's.
My TRX is a ELAD FDM-DUO SDR. It's not in Hamlib but uses the Kenwood TS-480 Command Set.
The TRX could go very low in Frequency on receiving. So i noticed, the lowest Frequency shown in the TRX-control Window is 20 KHz. Okay, most Rig's can't go deeper. The ELAD does. It goes down to 0, okay no real receiving, receiving starts around 10 Khz.
The RIG sends the Frequency to CQRLOG but the TRX-control Window shows the Frequency's only above 20 KHz.

73 de Heinz-Juergen DO1YHJ

oh1kh
Found a bug? in the 230-160

Hi Heinz-Juergen
Forgetting the decimal part of frequency might be property, not bug ( as they say in windows world).
I will check that next time I open the source.

It is very likely that frequency is either read as full MHz or that decimals are cutted after reading.
In normal ham radio usage It does not matter if you get 3567 or 3567,5 kHz from memory.

Whar comes to low frequency it ts very rare, as you say, that rigs go under 20kHz. I think most rigs become deaf before that limit.

Have you checked that hamlib shows under 20k?
While cqrlog is running give console command
telnet localhost 4532
When connected tune to 10k and type f (enter) to console. What it says? You can close console with q (enter).

This is because you are using ts480 plugin. While still having console telnet connection give \dump_caps (enter) to see what rigctld knows about ts480. There are frequency limits. Do they start from 0?

--
Saku
OH1KH

DO1YHJ
Hi,

Hi,

i checked Hamlib console output beneath 20 KHz. Setting the Rig to 10 KHz:
f
10000

And this is the output from \dump_caps. I see no limits:

Caps dump for model: 228
Model name: TS-480
Mfg name: Kenwood
Backend version: 1.0.5
Backend copyright: LGPL
Backend status: Untested
Rig type: Transceiver
PTT type: Rig capable (Mic/Data)
DCD type: Rig capable
Port type: RS-232
Serial speed: 4800..115200 bauds, 8N1
Write delay: 0mS, timeout 200mS, 10 retry
Post Write delay: 0mS
Has targetable VFO: Y
Has transceive: Y
Announce: 0x0
Max RIT: -9.990kHz/+9.990kHz
Max XIT: -9.990kHz/+9.990kHz
Max IF-SHIFT: -0.0kHz/+0.0kHz
Preamp: 12dB
Attenuator: 12dB
CTCSS: None
DCS: None
Get functions: NB COMP VOX NR BC
Set functions: NB COMP VOX NR BC
Get level: AF(0..0/0) RF(0..0/0) SQL(0..0/0) RFPOWER(0..0/0) AGC(0..0/0)
Set level: AF(0..0/0) RF(0..0/0) SQL(0..0/0) RFPOWER(0..0/0) AGC(0..0/0)
Extra levels:
Get parameters:
Set parameters:
Extra parameters:
Mode list: AM CW USB LSB RTTY FM CWR RTTYR
VFO list: VFOA VFOB
VFO Ops:
Scan Ops:
Number of banks: 0
Memory name desc size: 0
Memories: None
TX ranges status, region 1: OK (0)
RX ranges status, region 1: OK (0)
TX ranges status, region 2: OK (0)
RX ranges status, region 2: OK (0)
Tuning steps:
1 kHz: AM CW USB LSB RTTY FM CWR RTTYR
2.5 kHz: AM CW USB LSB RTTY FM CWR RTTYR
5 kHz: AM CW USB LSB RTTY FM CWR RTTYR
6.25 kHz: AM CW USB LSB RTTY FM CWR RTTYR
10 kHz: AM CW USB LSB RTTY FM CWR RTTYR
12.5 kHz: AM CW USB LSB RTTY FM CWR RTTYR
15 kHz: AM CW USB LSB RTTY FM CWR RTTYR
20 kHz: AM CW USB LSB RTTY FM CWR RTTYR
25 kHz: AM CW USB LSB RTTY FM CWR RTTYR
30 kHz: AM CW USB LSB RTTY FM CWR RTTYR
100 kHz: AM CW USB LSB RTTY FM CWR RTTYR
500 kHz: AM CW USB LSB RTTY FM CWR RTTYR
1 MHz: AM CW USB LSB RTTY FM CWR RTTYR
ANY: AM CW USB LSB RTTY FM CWR RTTYR
Tuning steps status: OK (0)
Filters:
2.4 kHz: USB LSB
200 Hz: CW
500 Hz: RTTY
9 kHz: AM
14 kHz: FM
Bandwidths:
AM Normal: 9 kHz, Narrow: 0 Hz, Wide: 0 Hz
CW Normal: 200 Hz, Narrow: 0 Hz, Wide: 0 Hz
USB Normal: 2.4 kHz, Narrow: 0 Hz, Wide: 0 Hz
LSB Normal: 2.4 kHz, Narrow: 0 Hz, Wide: 0 Hz
RTTY Normal: 500 Hz, Narrow: 0 Hz, Wide: 0 Hz
FM Normal: 14 kHz, Narrow: 0 Hz, Wide: 0 Hz
Has priv data: Y
Has Init: Y
Has Cleanup: Y
Has Open: N
Has Close: N
Can set Conf: N
Can get Conf: N
Can set Frequency: Y
Can get Frequency: Y
Can set Mode: Y
Can get Mode: Y
Can set VFO: Y
Can get VFO: Y
Can set PTT: Y
Can get PTT: Y
Can get DCD: Y
Can set Repeater Duplex: N
Can get Repeater Duplex: N
Can set Repeater Offset: N
Can get Repeater Offset: N
Can set Split Freq: E
Can get Split Freq: E
Can set Split Mode: E
Can get Split Mode: E
Can set Split VFO: Y
Can get Split VFO: Y
Can set Tuning Step: N
Can get Tuning Step: N
Can set RIT: Y
Can get RIT: Y
Can set XIT: Y
Can get XIT: Y
Can set CTCSS: N
Can get CTCSS: N
Can set DCS: N
Can get DCS: N
Can set CTCSS Squelch: N
Can get CTCSS Squelch: N
Can set DCS Squelch: N
Can get DCS Squelch: N
Can set Power Stat: Y
Can get Power Stat: Y
Can Reset: Y
Can get Ant: Y
Can set Ant: Y
Can set Transceive: E
Can get Transceive: N
Can set Func: Y
Can get Func: Y
Can set Level: Y
Can get Level: Y
Can set Param: N
Can get Param: N
Can send DTMF: N
Can recv DTMF: N
Can send Morse: N
Can decode Events: N
Can set Bank: N
Can set Mem: N
Can get Mem: N
Can set Channel: N
Can get Channel: N
Can ctl Mem/VFO: N
Can Scan: Y
Can get Info: Y
Can get power2mW: N
Can get mW2power: N

Overall backend warnings: 0
RPRT 0

73 de Heinz-Juergen

oh1kh
Direct Access to Frequency List

Hi Heinz-Juergen!

Please try beta-109. It has now separate memory list for frequencies that can be open while other operations are done with cqrlog.
It also has "info" field (25chr) for memory frequencies. (THIS ALTERS DATABASE, DO YOUR BACKUPS FIRST!).

Qso list scrolling problem fix (#2) by Andreas, DL7OAP, is also included.

See included readme file.

Please report bugs & what it feels like.

--
Saku
OH1KH

DO1YHJ
TNX.

TNX.

First look seems okay. Very nice.
Only one small glitch with the Info Field.
Switching between Memory's using M up and M dwn Button does change the content of the Info Field.
Using Double Click with open Memory List doesn't. Only the Frequency is changed.
The Info Field stays on the last Memory Info you changed to with the M+ and M- Button.
For Example: Changing Memory with the Buttons to M 112 (Memory List may be open or not). Now open Memory List (if not open yet) and do a Double Click on Memory M 110. The Frequency changes but the Info stays on M 112. Or whatever is written in the Info Fields.

73 de DO1YHJ Heinz-Juergen

oh1kh
TNX.

Ok!

Yep. At the moment small info field does not update when double click line is issued.
When clicking up dn buttons it should, always. But as memories are mode related with up dn buttons it was making test more complicated and I did not check it carefully enough.

Thanks for report I will check the info field update to be active always when change is done. Maybe also "MW ok" should appear there, not to frequency display (it disappears so fast if rig polling rate is high).

--
Saku
OH1KH

DO1YHJ
Hi

Hi

one more small glitch. The Mode is not set. I can switch Modes in the TRX Control Window, but M+, M- or Double Click in the Memory List does not set the Mode as written in the Memory List. It stays in the last Mode setten from the TRX Control Window.

73 de Heinz-Juergen

oh1kh
Hi

Im sure it works for me. That I have tested so many times. But I will chek again.
Yo could activate rig control debug messages from preferences and look if it tries to set mode.

I have to keep few days break for keyboard usage because of my hands. Just cheking messages with tablet.

--
Saku
OH1KH

oh1kh
Mode

Hi!
Just tested 109. Mode changes as set in memory list.

When double click list line freq and mode is changed as expected. With M-up M-dn buttons should be remembered that memories are categorized by mode. See revised help (with 109 zip) Operation/TRXControl/NOTE.

Even when editing bandwidth (AM in test case) too wide 100000Hz or too narrow 20Hz it did still change right frequency and mode with IC7300 when double clicked corresponding line.

--
Saku
OH1KH

DO1YHJ
I think its the communication

I think its the communication with my rig. It uses the TS-480 Protocol but not all of them is working as it will do with the TS-480. No big Deal.

Heinz-Juergen
DO1YHJ

DO1YHJ
From the Mode Buttons,

From the Mode Buttons, Communication is okay. Switching to AM, rig reports AM back. Switching to SSB from the the Memory List or from the M+, M- Buttons, rig stays in AM and report AM. Rig Protocol is TS-480. Rig is a Elad FDM-Duo. Maybe there is a difference in sending Mode alone or in combination with Frequency Change.

Heinz-Juergen
DO1YHJ

oh1kh
From the Mode Buttons,

>Switching to SSB from the the Memory

There is no mode "SSB" to select.


Sending: F 10113370

Sending: M AM 20

Msg from rig: RPRT 0
Msg from rig: RPRT 0
Sending: fmv

Msg from rig: 10113370
Msg from rig: AM
3000
RPRT -11

Sending: F 28430000

Sending: M USB 2400

Msg from rig: RPRT 0
Msg from rig: RPRT 0
Sending: fmv

Msg from rig: 28430000
Msg from rig: USB
2400
Msg from rig: RPRT -11

This dump is made when memory list is double clicked.
Note the fault bandwidth with AM (only 20Hz) still results ok.
And even if I manually edit mode to be SBB (that does not found from selection list) rig changes mode to USB (when freq goes to 28mhz).

--
Saku
OH1KH

DO1YHJ
Importing .csv

Hi,

there is a little problem with importing a Memory List from a .csv File. No Memory is set before importing the List.
The First Info Field stays empty (it isn't in the .csv File) and all other Info Fields are sorted + one.
That's my .csv:
16.4;USB;2800;JXN Marine Norway
18.2;USB;2800;VTX Indian Navy
18.3;USB;2800;HWU French Navy
19.6;USB;2800;GQD Anthorn

and in the Memory List after importing i got:
16.4 USB 2800
18.2 USB 2800 JXN Marine Norway
18.3 USB 2800 VTX Indian Navy
19.6 USB 2800 HWU French Navy

Error in my .csv List?

List is attached

Heinz-Juergen

File: 

oh1kh
Importing .csv

Hi!

Yes.
There was small typo causing info field shifted by one step.
I'll fix it during weekend.

Thanks!

--
Saku
OH1KH

DO1YHJ
Hi,

Hi,

by the way, is there a way to delete the Memory's in one scratch? I had a big Memory List and deleting them one by one was, uhmm, interesting. :-)
At the moment, it isn't possible to switch between different Memory Lists, using the Import function, correct? The Import adds them to the existing List and the List grows bigger and bigger. A "Delete all Memory's" Button would be nice if possible, so you can switch between different Lists using the Import Function.

Heinz-Juergen
DO1YHJ

oh1kh
Importing .csv

Yep!

Found out that same when testing latest fix. How ever button did not come in to my mind.
It must be added.

Meanwhile it can be done via QSO list/Filter/SQL console with command:
truncate table freqmem
See picture.

File: 

--
Saku
OH1KH

DO1YHJ
Hi,

Hi,

that SQL Sequence will help a lot. Thanks.

Heinz-Juergen
DO1YHJ