Second build sold out. Message will appear here when store is ready for third build ordering.
lsb mode not working with kiwirecorder
I am trying to record one or more 40 meter LSB stations with the kiwirecorder, but it's not working. I can record the other modes fine, but not lsb. Thanks in advance for any help.
Jon
Comments
Here's the script I use. For recmode, anything other than lsb records correctly.
#!/usr/bin/env bash
ctrl_c() { kill %%; exit; }
set -u # Show usage of unset variables as an error to help catch typos
#common to all
kiwirec=~/kiwiclient/kiwirecorder.py
kiwi_port=8073
DL=~/Desktop/Jon_tests
rec1freq=7255
recmode=lsb
min=1
c_min=1
#------------------------------------
#-------------------------------------
kiwi_IP1=mauisdr.wsprdaemon.org
ID1=rec1
#-----------------------------------
echo Armed, ctl-C to quit
min=$(date +%M)
c_min=$min
while [ $c_min -eq $min ] ; do
sleep 1s
c_min=$(date +%M)
done
trap ctrl_c INT
for (( ; ; ))
do
min=$(date +%M)
if [ $min -eq 54 ] ;then
echo Recording, ctl-C to quit
$kiwirec -s $kiwi_IP1 -p $kiwi_port -f $rec1freq -m $recmode --tlimit=60 -d $DL --station=$ID1
fi
echo ""
c_min=$min
while [ $c_min -eq $min ] ; do
sleep 1s
c_min=$(date +%M)
done
done
Worked fine when I tried it. Make sure you have the most recent version installed. Add to the command options
--log-level=debug
and make sure an lsb passband is being sent to the Kiwi. In the log output below this is thelow_cut=-2700 high_cut=-300
part in addition tomod=lsb
2022-05-27 07:20:00,008 pid 98391 send SET (SND) "SET AR OK in=12000 out=44100"
2022-05-27 07:20:00,008 pid 98391 recv MSG (SND) sample_rate: 12001.097068
2022-05-27 07:20:00,008 pid 98391 send SET (SND) "SET squelch=0 max=0"
2022-05-27 07:20:00,008 pid 98391 send SET (SND) "SET genattn=0"
2022-05-27 07:20:00,008 pid 98391 send SET (SND) "SET gen=0 mix=-1"
2022-05-27 07:20:00,009 pid 98391 send SET (SND) "SET ident_user=kiwirecorder.py"
2022-05-27 07:20:00,009 pid 98391 set_mod: IQ_or_DRM_or_stereo=0 num_channels=1
2022-05-27 07:20:00,009 pid 98391 send SET (SND) "SET mod=lsb low_cut=-2700 high_cut=-300 freq=7200.000"
2022-05-27 07:20:00,009 pid 98391 set_agc: on=True hang=False thresh=-100 slope=6 decay=1000 gain=50
2022-05-27 07:20:00,009 pid 98391 send SET (SND) "SET agc=1 hang=0 thresh=-100 slope=6 decay=1000 manGain=50"
2022-05-27 07:20:00,837 pid 98391 recv MSG (SND) max_thr: 90