Repeatable Problem with OnniRig and SmartCat

  • 1
  • Problem
  • Updated 4 weeks ago
When starting Log4om which engages OmniRig to connect to SmartCat registered com port, Communications is lost on the next band change. Log4om will loose contact and not display current frequency. Frequency/Band changes are done via profiles. This issue is cured by stoping SmartCat and restarting SmartCat. After which all communications over OmniRig and SmartCat is restored until the next shut down of computer/radio. Problem repeats on the next computer and application startup.

Equipment - Computer i5 NUC, WINDOWS 7, Flex 6500
Software - Log4om latest version, running Communicator/OmniRig 2.0, SmartSDR. 2.5.1, WSJT-x 2.1.0

This is a bug report.
Photo of Pat - WH6HI

Pat - WH6HI

  • 405 Posts
  • 77 Reply Likes

Posted 1 month ago

  • 1
Photo of Michael Walker

Michael Walker, Employee

  • 948 Posts
  • 272 Reply Likes
Official Response
Hi Pat

There are few players in this that can contribute and we need to figure out a way to debug it.  Is the problem with CAT, Onmi Rig, or SmartSDR?

What you can do is open SmartSDR CAT and then highlight the Com port in question.

On the bottom of the screen there is a Log... button.  

Open that and watch closely.  When you change bands, does the radio send the command out the COM port to Omni Rig?

If it does, then you may want to reach out to the author of Omni Rig.  If not, then we can help debug it and get it to Engineering to review.  

Mike




(Edited)
Photo of Pat - WH6HI

Pat - WH6HI

  • 405 Posts
  • 77 Reply Likes
I captured the log to show the frequency that was transferred by Smart CAT to OmniRig on startup. When I attempt to change frequency via my profile in SmartSDR, The log does not change. And Log4om does not receive the new frequency. Restarting SmartCAT fixes the problem.


The second log image shows the change after restart and a profile frequency change. And will now work until the radio is turned off.

(Edited)
Photo of Michael Walker

Michael Walker, Employee

  • 948 Posts
  • 272 Reply Likes
Pat, can you highlight in the screen shots where you changed bands so that we can see where it failed?  

You may want to give Greenshot a try as a screen shotting tool as it makes it easy to draw on the picture you captured.   https://getgreenshot.org/

I use it so much, I purchased it for my work computer.  :)

Mike
Photo of Pat - WH6HI

Pat - WH6HI

  • 405 Posts
  • 77 Reply Likes
Log does not change,. The first log is after band change from 14 meg to 7 meg. Second log shown is after reset of SmartCAT. Hard to show something that does not happen. One needs to see the code execution to see what is going on. I have no way to do that. When the problem happens the log is updating but shows no change when commanded to change bands.
Photo of Pat - WH6HI

Pat - WH6HI

  • 405 Posts
  • 77 Reply Likes
Ok, the swquance:

OmniRig. Sends. PT Reply is. 600 from SmartSDR/SmartCAT

OmniRig. Sends. ZZIF AND ZZFA Reply is ZZIF000070740001.... and ZZFA00007074000;

This will repeat even though I am changing frequency in SmartSDR PROFILES.
Photo of Pat - WH6HI

Pat - WH6HI

  • 405 Posts
  • 77 Reply Likes
ZZFI AND ZZFA only change AFTER RESTART of SmartCAT. And will continue to work correctly after the restart of CAT.
Photo of Pat - WH6HI

Pat - WH6HI

  • 405 Posts
  • 77 Reply Likes
Has Flex lost interest in this problem?
Photo of Michael Walker

Michael Walker, Employee

  • 948 Posts
  • 272 Reply Likes
Hi Pat

Not at all.  However, before I can involve engineering I do need to be able to recreate it in a Lab environment and I have not been able to do so.  

In parallel, you may want to open a support case for this as well.  It is best that you do it so that you are directly involved in the diagnostics.

I  did see that you had mentioned that CAT did not start correctly at times.  Can you determine when it does work and when it does not?  Can you relate it to something in your PC that might be impacting it?

Mike
Photo of Pat - WH6HI

Pat - WH6HI

  • 405 Posts
  • 77 Reply Likes
Hi Mike, there are a couple of problems that only occur randomly, the CAT start fail, and the occasional freezing of SmartSDR, which I find happens if the radio is kept running with out use for long periods of time. Problem does not require a computer restart. In the order of 4 or more hours. My computer runs Windows 7, and had run very reliably. I used to have com port selection problems, with phantom Ports . But clearing out the unused CAT ports from SmartCAT, cloned that up. I also clean the registry on a regular basis. Only com port related problem is the one we are currently working on. Once I get SmartCAT restarted, all is fine. I have tried changing the order of startup of Log4om and SmartSDR, with no change in the startup com failure on first requested band change. Again corrected by SmartCAT restart. SmartCAT Autostarts with SmartSDR. It almost seems like SmartCAT wants to be started last.

List of apps: SmartSDR, CAT, DAX (auto started), Log4om using communicator and OmniRig. wsjt-x, JTAlert, Pstrotator .

SmartCAT: TCP port for wsjt-x. And. Com port com5

All other apps Pstrotator, JTAlert, wsjt-x. Use local host port addressing.

So. SmartSDR communicants directly with wsjt-x and Log4om

I will open a trouble ticket....

Thanks,

Pat
Photo of Pat - WH6HI

Pat - WH6HI

  • 405 Posts
  • 77 Reply Likes
Equipment: Intel® CoreTM i5-4250U computer. 8K RAM, Windows 7 w/ all th most recent updates. Connected via Ethernet via IP switch.
Photo of Pat - WH6HI

Pat - WH6HI

  • 405 Posts
  • 77 Reply Likes
Planning to do so..... just extra background. Had this happening in versions 1.16, 1.19 and 2.0 of OmniRig. To best recollection was not a problem prior to SmartSDR 2.5 and 2.5.1. I will post logs next. Thanks for your quick reply.
Photo of K3DCW

K3DCW

  • 94 Posts
  • 36 Reply Likes
FWIW, and I may be misremembering as it has been a while since I used Log4OM with my Flex, but I recall that there was an issue with the OmniRig SmartSDR definitions included with Log4OM. Again, if I recall correctly, the solution was to go to the OmniRig site and download the latest and greatest definitions and to overwrite the old ones.

Again, I may be remembering incorrectly. If I'm totally off-base here, feel free to disregard.


(Edited)
Photo of Pat - WH6HI

Pat - WH6HI

  • 405 Posts
  • 77 Reply Likes
That was part of my upgrade to OmniRig v2... thanks for he sujestion.
Photo of Pat - WH6HI

Pat - WH6HI

  • 405 Posts
  • 77 Reply Likes
I have proper definitions.
Photo of EA4GLI - 8P9EH - Salvador

EA4GLI - 8P9EH - Salvador

  • 1782 Posts
  • 547 Reply Likes
Make sure you match the port speeds.
Photo of Pat - WH6HI

Pat - WH6HI

  • 405 Posts
  • 77 Reply Likes
I believe that SmartCAT auto syncs the port speed. I have on occasion, changed the app ‘s port speed and SmartCAT remained in communication, with no problems.
Photo of Pat - WH6HI

Pat - WH6HI

  • 405 Posts
  • 77 Reply Likes
Or is there a default port speed on startup?
Photo of Pat - WH6HI

Pat - WH6HI

  • 405 Posts
  • 77 Reply Likes
Ok, “A Funny thing Happened on the way to the Forum”. Well in the process of trying to capture the logs to show the com disconnection problem, it got fixed. Did not do anything specific, just did one more flush of the Registry..... then all was happy, so far. I wish Microsoft would fix the comport registry. Comport config s don’t seem be cleared or maintained by Windows. So for now all is happy, thanks to all that made suggestions. Much appreciated.
Photo of Pat - WH6HI

Pat - WH6HI

  • 405 Posts
  • 77 Reply Likes
This only happened during this activity period, problem has come back. But have screen shots now. Need to process pictures to make data better. Will convey that soon.
Photo of EA4GLI - 8P9EH - Salvador

EA4GLI - 8P9EH - Salvador

  • 1782 Posts
  • 547 Reply Likes
Excellent news.
Photo of Pat - WH6HI

Pat - WH6HI

  • 405 Posts
  • 77 Reply Likes
Update note: On occasion, SmartCAT will not start properly. CAT window comes up but indicates not connected. In this case all connected apps are not connected. Only solution is restart of SmartCAT.