Go to the Home page
Go to the About section
Go to the Projects section
Go to the Clients section
Go to the Products section
Go to the Links section

Interfacing MacLoggerDX and Digital programs

We try to make it easy for any program to interface with MacLoggerDX.

Besides being able to import ADIF log files from any program, MacLoggerDX has been a standard Apple scriptable application since Version 5.0 was released.

MacLoggerDX supports an open and documented AppleScript interface for logging which cocoaModem integrates with seamlessly and has done so for years.

AppleScript is the standard for Mac interprocess communication and even though Fldigi does not provide this capabilty it can pass information to an AppleScript with the EXEC macro.

This is the entire AppleScript that cocoaModem uses to lookup and log a QSO...

 

UDP Broadcast

MacLoggerDX also broadcasts UDP packets over your LAN when the connected radio VFO changes or a QSO is logged (Enable UDP Broadcast check box in Station Prefs). The udp_listener application (a sample application provided for illustration) in the Download Extras folder will display radio report packets that MacLoggerDX transmits on UDP Port 9932 whenever the connected radio VFO changes. Source code for udp_listener is available here.


Fldigi logs QSO to MacLoggerDX

Note from Dave Rogers NR5K:The functionality to do this is built in to Fldigi via the <EXEC> macro. Any Fldigi QSO value like <FREQ>, <CALL>, <NAME> etc. can be sent to an AppleScript which invokes MacLoggerDX to log the QSO. Everything you need to know to do this is in the Fldigi and MacLoggerDX documentation.

Blog Post from Marc Pauls DJ7AQ on live transfer: fldigi to MacLoggerDX – live transfer


Sample script from Dale Puckett K0HYD: "This fully functioning, self-documenting Applescript may be used to log QSOs from FLDIGI directly into MacLoggerDX. To get this to work required solving five puzzles. Those puzzles, or questions, along with their answers are explain in detail in the embedded documentation. Additionally, each section of the Applescript itself is fully document. I believe it will help other hams that need to set up an Applescript to send QSO information to MacLoggerDX from any other software that supports Applescript."

YouTube Video by Mike Greb AC2RK- fldigi logging to MacLogger DX.


MacLoggerDX UDP broadcast to Fldigi

No two applications can control the same Mac serial port, but if MacLoggerDX owns the radio CAT port then Fldigi can ask MacLoggerDX to key the PTT line.

Note from Dave Wright K3DCW on MacHamRadio

The Fl* development team has released version 3.23.08 of Fldigi. This is a major release for fans of MacLoggerDX as this version contains support for the UDP feed from MacLoggerDX's DX Cluster:

  • Added UDP interface to read data exported by MacLogger

The latest version can be downloaded from:

https://sourceforge.net/projects/fldigi/files/fldigi/

In this configuration, MacLoggerDX owns the CAT connection to the radio and broadcasts the VFO values to Fldigi through UDP on your LAN. This allows click and tune operation of Fldigi from DX Cluster Spots in the MacLoggerDX feed.(don’t run udp_listener at the same time as fldigi, it can steal the packets).

To configure this option, first you need to download the latest version of Fldigi. Once installed and started, go to the Configure menu and select "User Interface", navigate to the "Log" tab and the "MacLogger" sub-tab to find the single check box "Connect to MacLogger". Once enabled, make sure the UDP feed is enabled in MacLoggerDX's preferences and you're good to go)

More on the MacLoggerDX Yahoo Group.


Fldigi sends PTT to MacLoggerDX - manual

K3DCW: Both of the scripts (mldx5Key.scpt and mldx5Unkey.scpt from the Extras/V5 Scripts/cocoaModem Scripts folder) work just fine with the PTT between Fldigi and MLDX.

I copied them to the Scripts folder under the .fldigi folder, made them executable from the Terminal (chmod +x mldx5*.scpt), and set up the appropriate macro command:

<EXEC>/usr/bin/osascript $HOME/.fldigi/scripts/mldx5Key.scpt &</EXEC>
<EXEC>/usr/bin/osascript $HOME/.fldigi/scripts/mldx5Unkey.scpt &</EXEC>

... for each of two buttons, labeled PTT ON and PTT OFF.

It works perfectly, at least with my K3 - the PTT method in MacLoggerDX depends on your radio and interface.

To fully automate the process, the user needs to address both scripts in the macro; the PTT on at the beginning and the PTT off at the end.

They also need to use the <TX> macro command to start sending text AFTER the PTT is keyed on, and the <RX> macro command to stop sending text before the PTT is released.

For example, to automatically send a CQ call using something like PSK31, the macro would look like this:

<EXEC>/usr/bin/osascript $HOME/.fldigi/scripts/mldx5Key.scpt &</EXEC>
<TX>
CQ CQ CQ de AB1CD AB1CD AB1C
CQ CQ CQ de AB1CD AB1CD AB1CD pse k
<RX>
<EXEC>/usr/bin/osascript $HOME/.fldigi/scripts/mldx5Unkey.scpt &</EXEC>

 


Fldigi sends PTT to MacLoggerDX - auto

Fldigi PTT script from Marc Pauls DJ7AQ

As there is no way to use the EXEC command somehow inline I built a "dirty workaround". This AppleScript just runs the whole time fldigi is opened in the background and detects fldigi's RX/TX status through the XMLRPC interface. According to this status it sends the RX/TX commands to MacLoggerDX.

Fldigi_PTT_DJ7AQ.scpt in MacLoggerDX Extras / Sample Files / Scripts / fldigi scripts / folder.


MacLoggerDX and WSJT-X

JT-Bridge by Anders Östlund SM0THU displays CQs from the WSJT-X activity file.The CQ callers are looked up in the MacLoggerDX database to see if they or the DXCC entity have been worked or confirmed before. It can also log QSOs from WSJT-X to MacLoggerDX.