Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
connection to jAlert lost
06-09-2020, 12:23 AM, (This post was last modified: 06-09-2020, 09:07 AM by EA3GCV.)
#12
RE: connection to jAlert lost
Hello Erik,

Seems the UDP connection is unstable in such case. But I'm unabled to reproduce this issue here. I use JTDX everyday with no problems. The only issue I experience from very time to time is the UDP link broken suddenly and I need to restart Swisslog. But when this happen there is no communication at all, is not as you related which seems a partial link failure. 

This is how the WSJT-X works:

- When the QSO Entry window is started (either at Swisslog atartup or when closing and open the QSO Entry window again) I need to read the following settings (user parameters) :
- Realtime entry
- Do not set transceiver mode

After linking to WSJT-X and receiving a callsign clicked in WSJT-X (that is, DX Call filled out) Swisslog enables the "Do not set transceiver mode" automatically (if not checked). This is mandatory if using transceiver control to set the current WSJT-X mode. Callsing and Locator is set in the QSO entry as well. If you are reading the locator from callbook databases and maidenhead matches from the one read from WSJT-X, Swisslog will set the 6 digits locator. If maidenhead doesn't match then the locator from WSJT-X is set.

When Log QSO button is pressed in WSJT-X or QSO is saved automatically in JTDX, Swisslog sets the Realtime entry off to allow set date/time from WSJT-X. Then all other fields are filled out then QSO is saved. After QSO has been saved, Swisslog restores the "user parameters" read when the QSO Entry is started (see my first explanation). This way Swisslog is set again with the initial user parameters even if the UDP link is active. That's why the mode field reads the transceiver mode again (if user have the Do not set mode from transceiver unchecked normally) and in your case shows RTTY because it should be the radio mode.if RTTY is not your radio mode, make sure you don't have checked the "Set mode according QRG Otherwise it will read mode according to band plan! 

It hay happen sometimes that these settings remain enabled (specially the Do not set mode from transceiver) in the next Swisslog session. The solution is, simple: uncheck this option, close and open, again the QSo entry window. This is the way to tell Swisslog: this is, my default setting to restore it when the UDP link if deactivated or after saving a QSO from WSJT-X. 

During status changes of WSJT- Swisslog reads Callsing, mode and locator from WSJT-X. When logging QSO Swisslog always read callsign,mode, date, time, QRG, Mode, RSTS, RSTR, Comments from WSJT-X then saves the QSO. This is all what happens if the UDP communication is right. That's why is very very important to add exceptions to Swisslog and WSJT-X (or JTDX) in your antivirus, firewall and similar programs. This is the only way to ensure these programs are not supervising and interfering the normal functioning of these programs and their communications. Otherwise there will be unexpected results.

Now I want to explain how the logging process works in Swisslog when saving a QSO, either when user press the Save QSO button or when it receives this order from external programs:

Swisslog starts all saving procedures but before finishing the save procedure, needs to process the realtime saving to the selected online services. At this point, I use multi-threading to speed up this process: Swisslog runs a separate thread for every online service enabled by the user. This means that even if you save in realtime in all online services supported by Swisslog, these operations are performed at once, because every online services uses a different thread. 
But before finishing the logging procedure, Swisslog needs to received the reply for every enabled online service to set the appropiated fields. If internet connection is slow or not consistent, the timeout defined on every online service comes into scene! If an error occurs or timeout is expired then Swisslog won't set the appropiated fields informing the QSO has not been saved in the affected online service. So if your internet connection is not stable or fast, I suggest to:

- Always disable error messages from all online services. This is a must when working linked to externañ programs such WSJT-X, to avoid dialogs which will interfere the logging process. I'm planning to display these error messages (if any) in a separate window instead a dialog window. This will show error messages without inteefering the logging process.
 - Set a, low, timeout value on the enabled online services. 15 seconds is the default value. 
- Disable realtime logging and upload your QSOs at the end of your session. This will speed up the saving procedure and maybe is the best way to know whether this is causing this issue or not. 

Excuse me for the long message but I wanted to explain how all processes work internally. Maybe this will help you to find out the source of this issue. Unfortunately I haven't received reports like this from other users and myself I use Swisslog with JTDX with no issues. If I can't reproduce here the reported issues, it's very difficult to me  to solve them. That's why I have explained you how the whole thing works. Maybe it will help. 

Some things are out of my control (such adding exceptions in antivirus) and must be performed manually by the user to ensure none of these programs are interfering the normal functioning of Swisslog and all programs linked with it. 

73
Jordi, EA3GCV
Current developer of Swisslog
Reply


Messages In This Thread
connection to jAlert lost - by dk4rh - 28-08-2020, 11:33 AM
RE: connection to jAlert lost - by EA3GCV - 28-08-2020, 11:51 AM
RE: connection to jAlert lost - by dk4rh - 28-08-2020, 12:59 PM
RE: connection to jAlert lost - by dk4rh - 30-08-2020, 07:45 PM
RE: connection to jAlert lost - by EA3GCV - 31-08-2020, 12:06 AM
RE: connection to jAlert lost - by dk4rh - 31-08-2020, 12:26 PM
RE: connection to jAlert lost - by dk4rh - 01-09-2020, 11:24 PM
RE: connection to jAlert lost - by EA3GCV - 02-09-2020, 02:28 AM
RE: connection to jAlert lost - by dk4rh - 05-09-2020, 12:57 AM
RE: connection to jAlert lost - by EA3GCV - 05-09-2020, 12:49 PM
RE: connection to jAlert lost - by EI4KF - 05-09-2020, 03:10 PM
RE: connection to jAlert lost - by EA3GCV - 06-09-2020, 12:23 AM
RE: connection to jAlert lost - by EI4KF - 06-09-2020, 09:50 AM
RE: connection to jAlert lost - by EA3GCV - 06-09-2020, 11:54 AM
RE: connection to jAlert lost - by EI4KF - 06-09-2020, 12:32 PM
RE: connection to jAlert lost - by EA3GCV - 06-09-2020, 02:02 PM
RE: connection to jAlert lost - by EA3GCV - 06-09-2020, 03:51 PM
RE: connection to jAlert lost - by EI4KF - 06-09-2020, 06:45 PM
RE: connection to jAlert lost - by dk4rh - 08-09-2020, 08:20 PM
RE: connection to jAlert lost - by EI4KF - 10-09-2020, 12:05 PM
RE: connection to jAlert lost - by EA3GCV - 12-09-2020, 01:05 AM
RE: connection to jAlert lost - by EI4KF - 12-09-2020, 10:19 AM
RE: connection to jAlert lost - by DL1IP - 12-09-2020, 11:46 AM
RE: connection to jAlert lost - by EA3GCV - 12-09-2020, 02:09 PM
RE: connection to jAlert lost - by EI4KF - 12-09-2020, 03:05 PM
RE: connection to jAlert lost - by EA3GCV - 12-09-2020, 04:35 PM
RE: connection to jAlert lost - by EI4KF - 12-09-2020, 05:35 PM
RE: connection to jAlert lost - by EA3GCV - 12-09-2020, 06:18 PM
RE: connection to jAlert lost - by EI4KF - 12-09-2020, 10:12 PM
RE: connection to jAlert lost - by dk4rh - 12-09-2020, 11:41 PM
RE: connection to jAlert lost - by EA3GCV - 13-09-2020, 04:33 PM
RE: connection to jAlert lost - by dk4rh - 15-09-2020, 01:09 AM
RE: connection to jAlert lost - by EI4KF - 15-09-2020, 10:34 AM
RE: connection to jAlert lost - by dk4rh - 15-09-2020, 01:43 PM
RE: connection to jAlert lost - by EA3GCV - 15-09-2020, 09:43 PM
RE: connection to jAlert lost - by dk4rh - 15-09-2020, 11:47 PM
RE: connection to jAlert lost - by dk4rh - 16-09-2020, 07:22 PM
RE: connection to jAlert lost - by EA3GCV - 16-09-2020, 09:08 PM
RE: connection to jAlert lost - by dk4rh - 16-09-2020, 10:03 PM
RE: connection to jAlert lost - by dk4rh - 22-09-2020, 08:42 PM
RE: connection to jAlert lost - by EA3GCV - 23-09-2020, 05:50 PM
RE: connection to jAlert lost - by EI4KF - 24-09-2020, 10:59 AM
RE: connection to jAlert lost - by EA3GCV - 24-09-2020, 12:42 PM
RE: connection to jAlert lost - by EI4KF - 24-09-2020, 06:08 PM
RE: connection to jAlert lost - by EA3GCV - 25-09-2020, 11:19 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)