[DXLog.net - Support] Sending UDP on the network

markku.a.oksanen at kolumbus.fi markku.a.oksanen at kolumbus.fi
Mon Dec 12 10:47:29 CET 2016


Chris,

Thanks for this.

I will now first install DXlog at the station and test and then go on to station control based on below.
I have a visual basic station control UI on a separate PC so that SW focus is not changed when I have to click to change things.  This same SW has the UDP listener.  I will see how I could change things around so that I could integrate with DXlog as you state below!


Markku

From: 9A5K
Sent: Monday, December 12, 2016 11:27 AM
To: Markku Oksanen
Cc: SM5AJV; support at dxlog.net
Subject: Re: Sending UDP on the network

RR, of course it is possible.
This can be done on several different ways, one of them is custom script.
Also, you can make your own custom forms, which can be shown in DXLog main window,
and you can do anything you want from there as well.
In DXLog, there is UDPCommunicator object (part of DXLComm.dll).
You can use it to send/receive any UDP message in the network, so basically you can 
start new instance of it in your custom script and use separate UDP port for communication.
>From there, you can send/receive your custom messages, whenever it is needed.
Of course, you can hook this script to some shortcut, or you can run it based on event changes
in main code (or both methods same time). For example, you can hook it to radio frequency / band change event,
and when this happens, you can execute your own code which is fully under your control.
Small example of custom made form is available here: http://dxlog.net/sw/development/
If you build it, just copy DLL to DXLog.net CustomForms (in %APPDATA%\DXLog.net folder) and restart DXLog.
It will show any available Custom Form in menu selection and you can control any action also from there.

Regarding antenna and antenna controller switching, as of v2.3.10 there is DXL Antenna Server application available.
This application works as central antenna server and already knows how to communicate with DXL application.
So, you define your antenna setup in DXL Antenna Server configuration through xml file (you can have multiple xml files,
just load the one you need in application), and start a server. 
In DXL, there is new configuration tab, where you set connection to antenna server, and choose your station (radio) id in the network.
Now, DXL will connect to antenna server, and whenever band is changed, there are possible antenna selections visible in Antenna selector
form in DXL. You can select any of available antenna (if this one is not used on some other station in the network), and also if there
is some kind of controller attached to that antenna (for example stackmatch, 4 square etc.) you will get that control also visible in Antenna
controller screen.
Currently, there are two types of antenna switching supported, one custom made for K1LZ, and another one is MOAS II by K1XM.
Next one should be any custom made software, which should implement known interface, and user will be able to add it to the DXL ANTS folder.
When start, DXL ANTS app will use this custom made DLL to communicate with any possible switching system.
All this enables very easy and quick changes of station configuration (just load different configuration file on the server side).
More info follows after v.2.3.10 will be released.

73,
Chris - 9A5K




On Mon, Dec 12, 2016 at 10:02 AM, <markku.a.oksanen at kolumbus.fi> wrote:
Further, I had a Wintest driven setup working where I sent custom UDP packets to my own station controller to change antennas depending on the scenario (typically “work multiplier” made radio2 get all the antennas for quickly getting through).  It was a simple hack where the WT broadcast used and my own SW on a separate PC was listening to certain format packets and acted accordingly.  Ingo helped with this one too.
 
Also, this can be done with C# scripts I assume?  Not a critical need at all but if available, I will have quite a bit of interesting station programming coming…..
 
Markku
 
Ps
I just got the dxlog license…
 
From: 9A5K
Sent: Monday, December 12, 2016 10:52 AM
To: Markku Oksanen
Cc: SM5AJV; support at dxlog.net
Subject: Re: [DXLog.net - Support] SO2R key reassignments + multiple key questiont
 
Great.
Producing multiple actions isn't available through redefine key functionality.

However, this can be done with Custom C# scripts, which can be assigned to some shortcut and 
you can do anything you need in order to produce such multiple actions.
There are already couple of examples here: http://dxlog.net/sw/download/script_examples/
I will try to add new one, which will demonstrate multiple actions as you described in previous email.

73,
Chris - 9A5K
 
 
On Mon, Dec 12, 2016 at 9:33 AM, <markku.a.oksanen at kolumbus.fi> wrote:
Excellent dyslexia on my part!
 
Very good, looks like that done correctly the reassignments work.
The English language has a few ambivalent situations like this since word order nor prepositions tell you which direction things go…  Sorry for the confusion.
 
So far, radio RX control works, I work on the CW key reassignments.
 
By the way:  Can I make on key perform multiple action such as “change to dueling CQ scenario” (scenario2) + launch CQ on radio 1 + change CQ message to OH2RA OH2RA  TEST   (normal CQ would be a shorter one OH2RA TEST)
 
Thanks!
 
 
Markku
 
From: 9A5K
Sent: Monday, December 12, 2016 10:12 AM
To: SM5AJV
Cc: Markku Oksanen; support at dxlog.net
Subject: Re: [DXLog.net - Support] SO2R key reassignments
 
Hi all.
It seems that this info from docs need to be corrected/clarified a bit.
Actually, if you redefine F10 key to AltGr-A (ctrl+alt+A) in redefine keyboards window, DXL
will change F10 key to CTRL+ALT+A key in key processing routine, so the rest of the code 
will see CTRL+ALT+A when this key is processed.
Please note that when you're doing key redefinitions in key redefine screen, you first need to press
key which you want to redefine, and after that new key combination which will be sent to the application.
So, in Markku's case, first press should be "," , and second one should be CTRL+ALT+A.
This means, whenever user press "," key, interpret it as CTRL+ALT+A.
Very often, users are doing opposite way, which has different meaning, of course.

73,
Chris - 9A5K
 
 
On Sun, Dec 11, 2016 at 9:21 PM, SM5AJV <sm5ajv at qrq.se> wrote:
Hi!

According to:
http://dxlog.net/docs/index.php/Menu_Tools#Redefine_keyboard_keys

"NOTE: This function does not remove the DXL command from the original key
(or combination of keys),
so keys that are already mapped in the DXL coding cannot be used as a
redefined key (or combination of keys)."

I have assigned F10, F11, F12 to AltGr-A, AltGr-S  and AltGr-T)
For some unknown reason, the original functions is are NOT interfering,
i.e. F10 Check Multiplier
window is not toggled each time I push F10.

Maybe Chris can clarify on this?

73
Ingo SM5AJV



2016-12-11 19:36 GMT+01:00 <markku.a.oksanen at kolumbus.fi>:

> All,
>
> I am still using the test/trial version of the SW so perhaps that is the
> reason but here goes:
>
> I would like to reassign ,   .   and   -  to control what radio is heard,
> keyboard shortcuts ctrl-alt a, ctrl-alt s and ctrl-alt t .
>
> If I reassign ,  to send ctrl-alt-a.  However, I get the “add calls to
> stack” – narrow window, not change in R1/R2 RX.
>
> If I remove the reassignment, I find out that ctrl-Alt-a in fact leads to
> the call stack window, NOT to what the OPERATING menu shows.
>
> There are few other keys I would like to put near the return key such that
> “mycall”, “call+rpt” or “silent log” but the R1/R2 R1+R2 listening keys are
> pretty important.
>
> These reassignments work correctly in Wintest 😊.
>
> I *really* like the two keyboard implementation!
>
> Markku OH2RA/OG2A/WW1C
>
> _______________________________________________
> Support mailing list
> Support at dxlog.net
> http://www.dxlog.net/mailman/listinfo/support
>
_______________________________________________
Support mailing list
Support at dxlog.net
http://www.dxlog.net/mailman/listinfo/support
 
 
 
 




More information about the Support mailing list