FLDIGI RIGCAT Macro (not RigCat xml)

  • 1
  • Question
  • Updated 2 years ago
  • Answered
This question is about the RIGCAT macro, not the .xml file.

There is a macro definition in fldigi:
  <RIGCAT:["text"][hex ...]:ret        send CAT cmd

I'd like to be able to use this to send some commands to the Flex-6500. For instance, I'd like to create a macro for PSK-31 that sets the rig to DIGU, sets the FLDIGI modem to BPSK31, sets the rig filter to 3000 Hz, sets AGC to FAST, sets power to 30 watts. And then come up with similar ones for other modes I use often.

Setting mode and modem is easy:

   <RIGMODE:DIGU><MODEM:BPSK31>

Setting other rig parameters is what I'm not getting. I have tried a few different ways:

   <RIGCAT:"filt 0 0 3000>
   <RIGCAT:30 35>   <-- from SmartSDCXDR_SliceA.xml filter 1x3
   <RIGCAT:"ZZFA 00014150000;">    <-- A TS-2000 command for setting frequency

None of the above has an effect on the rig. This tells me that maybe I'm using the macro wrong. Has anyone come up with some simple macros in FLDIGI I could see as an example?

I posted a similar question to the fldigi community but no answer yet.

Thanks,
Kevin K4VD
macrophobic
Photo of Kevin K4VD, Elroy

Kevin K4VD, Elroy

  • 775 Posts
  • 171 Reply Likes

Posted 2 years ago

  • 1
Photo of Kevin K4VD, Elroy

Kevin K4VD, Elroy

  • 775 Posts
  • 171 Reply Likes
Making progress...

<RIGCAT:"ZZFI08;"> sets the filter depending on the mode.
CW: 50 Hz
DIGU: 100 Hz
RTTY: 270 Hz

<RIGCAT:"ZZFA00014070000;"> sets the frequency to 14.070 MHz.

For AGC:
<RIGCAT:"ZZGT0;"> = off
<RIGCAT:"ZZGT1;"> = ?
<RIGCAT:"ZZGT2;"> = slow
<RIGCAT:"ZZGT3;"> = med
<RIGCAT:"ZZGT4;"> = fast

I still don't know how to send native Flex codes. Only the Kenwood codes.

Kev
Photo of Kevin K4VD, Elroy

Kevin K4VD, Elroy

  • 775 Posts
  • 171 Reply Likes
:) I know, I'm talking to myself. I need to get a parrot. My pug just twists her head when I go off on an explanation.

Here's some fldigi macros I made. Simple stuff. Still want to figure out how to send native commands but this will do for now.

PSK-31
<MODEM:BPSK31> <COMMENT: set fldigi to BPSK31>
<RIGCAT:"ZZMD07;"> <COMMENT: set VFO-A DSP mode to DIGU>
<RIGCAT:"ZZGT4;">  <COMMENT: set VFO-A AGC fast>
<RIGCAT:"ZZFI01;">  <COMMENT: set VFO-A DSP Filter 3000 Hz>
<RIGCAT:"ZZPC030;> <COMMENT: set RF Power Drive Level 30 watts>

CW
<MODEM:CW> <COMMENT: set fldigi to CW>
<RIGCAT:"ZZMD04;"> <COMMENT: set VFO-A DSP mode to CWU>
<RIGCAT:"ZZGT2;">  <COMMENT: set VFO-A AGC slow>
<RIGCAT:"ZZFI04;">  <COMMENT: set VFO-A DSP Filter 400 Hz>
<RIGCAT:"ZZPC050;> <COMMENT: set RF Power Drive Level 50 watts>

RTTY
<MODEM:RTTY> <COMMENT: set fldigi to RTTY>
<RIGCAT:"ZZMD30;"> <COMMENT: set VFO-A DSP mode to RTTY>
<RIGCAT:"ZZGT4;">  <COMMENT: set VFO-A AGC fast>
<RIGCAT:"ZZFI00;">  <COMMENT: set VFO-A DSP Filter 3000 Hz>
<RIGCAT:"ZZPC050;> <COMMENT: set RF Power Drive Level 50 watts>

I'm just displaying a second row of macro buttons and assigning modes there.


I think I need to add something that will load a different set of macros for each mode. I'm not sure where fldigi saves macros but I'll figure it out. 

Kev
(Edited)
Photo of Jay / NO5J

Jay / NO5J

  • 1406 Posts
  • 209 Reply Likes
Kevin 
Check and see if, Fldigi might be storing it's macro definitions in "c:\%userprofile%\fldigi.files\macros\macros.mdf" which is just a normal text file.

 SDRgadgets

73, Jay - NO5J

Photo of Kevin K4VD, Elroy

Kevin K4VD, Elroy

  • 775 Posts
  • 171 Reply Likes
That's it Jay. Got it. Thanks.
Photo of Jay / NO5J

Jay / NO5J

  • 1406 Posts
  • 209 Reply Likes
Some might find this a useful reference, ...

https://en.wikipedia.org/wiki/Environment_variable#Windows

I bookmarked it on Chrome's Bookmark toolbar, when I stumbled on to it.
Now I don't need to remember so many of them. I let wikipedia do it for me.
 
 SDRgadgets

73, Jay - NO5J

Photo of Jay / NO5J

Jay / NO5J

  • 1406 Posts
  • 209 Reply Likes
Also, Fldigi's macro editor window has the path to the current macro file in it's window titlebar, I never noticed it before either.  I'm denser than I think I am.

 SDRgadgets

73, Jay - NO5J