¿ªÔÆÌåÓý

Web Interface Band Selection Buttons #zbitx


 

Hello,
?
At the web interface at the first row there are placed the band select buttons.
Here I can see at the 10m Button under the 10M text the number 4.
Funny thing is that this is only at the 10m Band button.
When I added a 60m button => means one more Band Button at this row, the digit 4 disapears from 10m button and is now at the 12m button visible.
?
Anyone else with this "digit 4" at 10m Band button?
?
73
Michael


 

Michael,

The "4" underneath the band button indicates the band stack. This is like setting memories for each band that allows you to access a particular, frequency, and mode with a press of a button. For example, you can set the first stack on 10M to USB set to your local 10M QRP watering hole, the second stack for FT8 on 28.074, the third stack on CW set to 28.010, and fourth stack to DIGI on 28.100 and so on.

?
73,
Ragav


 

Hello Ragav,
?
thank you for your reply. I was not precise enough.
?
On the external monitor all is fine and I understand the function of this numbers.
Band 10 - 80m underneath 1 1 1 1 2 1 2 3 1
?
When I connect from extern notebook via web browser, there it shows left to right 80m - 10m.
In index.html is missing there the 60M band.
I see instead of the numbers only a dot ".", but underneath 10M the number 4.
?
When I add in index.html the parts for 60m There is now one more band in the row.? (All works fine concerning controlling the radio itself)
Situation as above - everywhere dots => but number 4 changed from underneath 10m to 12m
So it kept the "indexed position" in the row.
?
I checked the script in index.html concerning "bandsel". Is the coding there completed or just in a prelimlinary stage?
If yes - where could be or is the fault?
If no - I will examine it deeper and try to finish.
?
73,
Michael
?


 

Hello
?
The code in index.html needs some correction to have the same info at the band selection buttons at connection via browser as you can see at the interface at the external monitor => band stack info.
?
function show_selected_band_store(args) {
??? const elts = document.querySelectorAll('.selband');
??? var strvalue = 0;
??? var strtext = "xx";
?
??? for (let i = 0; i < elts.length; i++) {
??????? strtext = elts[i].id.substr(1,2) + "M";
??????? strvalue = document.getElementById(strtext).value %10;
??????? elts[i].innerHTML = "<br>&nbsp;" + strvalue;
??? }
}
?
Reason is that args delivered from "SELBAND" is always "73" independend what band and stack is selected.
Therefor it is necessary to find the stack info somewhere else.
?
73,
Michael
?