I am not making myself clear. The cw_poll nor modem_poll has any use of reading the keyer.
I hope it is clear. None of the polling routines are used expect to start the transmission.
The keyer is sensed by the isr routine that updates the global variables with the current state of the paddles.
It is the key_poll that reads and returns the state of the paddle 96,000 times a second.
I repeat, nothing to do with either the ui_tick nor modem_poll nor cw_poll.
It would be best if everyone read the detailed email I posted with reference to the exact line numbers of the code. We can then discuss the code.
- f
On Thu, Apr 3, 2025, 9:28 PM Gordon Gibby KX4Z via <docvacuumtubes=[email protected]> wrote:
Calling anywhere from 5 to 10 times more frequently would probably result in significant improvement.? ? In the sBitx software, he increased it to 20 times more frequently and it was amazing.?
> On Apr 3, 2025, at 10:40, Mike Johnshoy via <mike.johnshoy=[email protected]> wrote:
>
> ?Ashar, no not cw_poll(), it is modem_poll() that is not getting called often enough.? In sbitx_gtk.c this call is at line #4257 inside of ui_tick().? modem_poll() in turn decides what to do for each of the modes, but in the case of CW modem_poll only gets called ~once per 20 milliseconds, so no matter how fresh the key_poll data is it doesn't get looked at enough.?
> --
> Mike KB2ML
>
>
>
>
>
I’m no expert. If I was in your situation, I would probably get another SD card. Download the image, burn a new SD card and put that into the radio to give it a try.?
You would still have the original SD card available if needed..
On Apr 3, 2025, at 12:53?PM, Jim via groups.io <jlckansas@...> wrote:
I just ordered my ZBitX.? ?Have a couple of questions.
?
1.? ?What would I need to do to run WSPR on it to see how my setup is working?? ?I live in an apartment and would not be able to mount a permanent antenna out side but have to rig something up either inside or stealth.
?
2.? ?What about using a buck converter?? ? I have 12V batteries to use but was wondering is anyone was using one to run their Z.
I just ordered my ZBitX.? ?Have a couple of questions.
?
1.? ?What would I need to do to run WSPR on it to see how my setup is working?? ?I live in an apartment and would not be able to mount a permanent antenna out side but have to rig something up either inside or stealth.
?
2.? ?What about using a buck converter?? ? I have 12V batteries to use but was wondering is anyone was using one to run their Z.
I ran into the same issue. v3.051 is currently the latest version. In my case, the git branch was set to "farhandev" instead of "main". This also seems to be the difference between the ./update and ./update_zbitx script - the former does not explicitly set a branch, while the latter sets the branch to "farhandev" after running the git pull. In the ~/sbitx folder, I had to manually run "git checkout main", then ran the ./update script. This brought me to v3.051 and now I get proper readings both via HDMI and on the "head unit" (previously, the "head unit" kept displaying the voltage/S-meter and power/SWR remained at 0/1.0 via HDMI despite appropriate power output).
Calling anywhere from 5 to 10 times more frequently would probably result in significant improvement. In the sBitx software, he increased it to 20 times more frequently and it was amazing.
On Apr 3, 2025, at 10:40, Mike Johnshoy via groups.io <mike.johnshoy@...> wrote:
?Ashar, no not cw_poll(), it is modem_poll() that is not getting called often enough. In sbitx_gtk.c this call is at line #4257 inside of ui_tick(). modem_poll() in turn decides what to do for each of the modes, but in the case of CW modem_poll only gets called ~once per 20 milliseconds, so no matter how fresh the key_poll data is it doesn't get looked at enough. -- Mike KB2ML
On Thu, Apr 3, 2025, 8:29 PM Doug W via <dougwilner=[email protected]> wrote:
Even if you did not know who Mike was, you know his work.? Mike was a key developer of hamlib in addition to many, many other contributions to our hobby.? I only had the privilege of a few email exchanges with him but you would be hard pressed to find a kinder, more helpful ham anywhere.
Double check your positive lead, I think I see some bare copper in your picture . Possibly a nick from stripping outer insulation, mine had both leads nicked.?
On Thu, Apr 3, 2025 at 8:21?AM Vince d'Eon VE6LK/AI7LK via <vincedeon=[email protected]> wrote:
Even if you did not know who Mike was, you know his work.? Mike was a key developer of hamlib in addition to many, many other contributions to our hobby.? I only had the privilege of a few email exchanges with him but you would be hard pressed to find a kinder, more helpful ham anywhere.
Ashar, no not cw_poll(), it is modem_poll() that is not getting called often enough. In sbitx_gtk.c this call is at line #4257 inside of ui_tick(). modem_poll() in turn decides what to do for each of the modes, but in the case of CW modem_poll only gets called ~once per 20 milliseconds, so no matter how fresh the key_poll data is it doesn't get looked at enough. -- Mike KB2ML
Re: #zbitx I am intereted in CAT control of the zBitx.
#zbitx
On Thu, Apr 3, 2025, 7:58 PM Robert Fairbairn via <bobfa=[email protected]> wrote:
My radio does not arrive till Monday! ? I am interested in some modes that are not installed on the radio.? I want to test with DigiPi too. ?(YES, adding another Pi)
?
What radio does the CAT port respond to?? For Hamlib as an example.
?
?
73 KE9A
?
?
Re: #zbitx I would really like a formal way to shut down the software gracefully
#zbitx
Chris,
This is an interesting aside, but the logbook saves all the qsos in an sqlite3 database. It is in a file called sbitx.db3 under ~/sbitx/data
You might want to poke around and see what is in it.
There is an easter egg in that database. Every decode of received ft8 is stored!
- f
My radio does not arrive till Monday! ? I am interested in some modes that are not installed on the radio. ?I want to test with DigiPi too. ?(YES, adding another Pi)
?
What radio does the CAT port respond to? ?For Hamlib as an example.