¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

FLDIG Question


 

Is there anyway to capture the S/N of a station when they check into a net? I use FLnet to log stations. I could also record them in a log for FLdigi. The current macro I am using is:

<CALL> <INFO1>

Then I have to cut and paste into notepad or something like that.

Thank you,

--
Bruce WA1YZN


 

Bruce, I use the same macro.? When I'm trying to capture it for a log I copy the S/N into the fldigi log. A couple of us have looked at this and have not found an automated means.? If anyone has an answer, I'd love to hear it too.
--
73, Lem W1LEM


 

¿ªÔÆÌåÓý

Lem/Bruce

I launch a fldigi-shell flrig-shell bash script as needed to log various parameters, including s/n. The script is is very untidy/rough. I'll streamline it one day hi.

Partial;

while [ -f /home/user/snlog.flg ] ; do
?? ?touch /home/user/snlog.active
?? ?# check fldigi process and self kill
?? ?if [ "`ps -C fldigi --no-headers`" = "" ] ; then
?? ???? pkill -f snrlogstream
?? ???? rm -f /home/user/snlog.active
?? ???? exit 0
?? ?fi

?? ?DSTRING=`date --rfc-3339=seconds -u`
?? ?FREQ=`fldigi-shell -c "rig.get_frequency"`
?? ?BWDTH=`fldigi-shell -c "rig.get_bandwidth"`
??? SMETER=`flrig-shell -c "rig.get_Sunits"|tail -n 1|grep -v Error|grep -v rig|tr -d " "`
?? ?MODEM=`fldigi-shell -c "modem.get_name"`
?? ?CALL=`fldigi-shell -c "log.get_call"`
?? ?SNR=`fldigi-shell -c "main.get_status1"|tr -d "s/n: "`
?? ?if [ "$CALL" = "" ] ; then
?? ???? CALL=NONE
?? ???? echo $DSTRING $FREQ $BWDTH $MODEM $CALL $SNR $SMETER >>/home/user/.fldigi/snr3.log
?? ???? echo $CALL $SNR $SMETER >>/home/user/.fldigi/snr3n.log
?? ?else
?? ???? echo $DSTRING $FREQ $BWDTH $MODEM $CALL $SNR $SMETER >>/home/user/.fldigi/snr3.log
?? ???? echo $CALL $SNR $SMETER >>/home/user/.fldigi/snr3n.log
??? fi

?? ?sleep 6
??? #6 is about 10 secs
?? ???? STATE=`fldigi-shell -c "main.get_trx_state"`
?? ?while [ "$STATE" = "TX" ] ; do
?? ???? STATE=`fldigi-shell -c "main.get_trx_state"`
?? ???? echo $STATE >>/tmp/logsn.tmp
?? ???? sleep 5
?? ?done
done

Logfile;

Date,Time,Freq,Bwidth,Modem,Callsign,S/N,Smeter
2024-07-11 07:20:54+00:00 14071000.000000 500 OLIVIA-8/250 KF7KKR -2.3dB S0
2024-07-11 07:21:06+00:00 14071000.000000 500 OLIVIA-8/250 KF7KKR -6.5dB S0
2024-07-11 07:21:18+00:00 14071000.000000 500 OLIVIA-8/250 KF7KKR -3.2dB S0
2024-07-11 07:21:29+00:00 14071000.000000 500 OLIVIA-8/250 KF7KKR -3.1dB S0
2024-07-11 07:21:40+00:00 14071000.000000 500 OLIVIA-8/250 KF7KKR -3.1dB S0

Cheers Bob VK2YQA

On 19/7/24 23:42, W1LEM wrote:

Bruce, I use the same macro.? When I'm trying to capture it for a log I copy the S/N into the fldigi log. A couple of us have looked at this and have not found an automated means.? If anyone has an answer, I'd love to hear it too.
--
73, Lem W1LEM
_._,_._,_