-
Notifications
You must be signed in to change notification settings - Fork 3
/
startup3
53 lines (42 loc) · 1.17 KB
/
startup3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
#! /usr/bin/tcsh
# Script to startup everything for normal operation
# Single radio, dual VFO
# The SO2V bridge controls the rig, and a copy of fldigi and a copy of wsjt
# talk through it. Fldigi is listening to the radio & wsjtx is listening to
# the SDR
set RIG="DIRECT"
set FS=48
set FOLLOW="-so2v -bfo 1000"
set FOLLOW="-bfo 1000"
set LOOPBACK="-loopback -no_hamlib"
set PY_SDR = "~/Python/pySDR/pySDR.py"
set FLDIGI="~/fldigi-4.0.18/src/fldigi"
# Kill stale stuff
pkill bridge.py
pkill pySDR.py
pkill bandmap
pkill rigctld
# Start the bridge
cd ~/Python/bridge
#bridge.py &
bridge.py >& /tmp/BRIDGE &
sleep 2
#exit
# Start SDR
cd ~/Python/pySDR
$PY_SDR -mode USB -fsout $FS -af_bw 10 -vid_bw 45 -ant B -pan -pan_bw 10 $LOOPBACK -rig HAMLIB $FOLLOW -no_rigctl -port 4732 &
sleep 1
#exit
# Start FLDIGI & FLLOG
#~/fllog-1.2.5/src/fllog >& /tmp/FLLOG &
sleep 1
$FLDIGI --config-dir ~/.fldigi5 --xmlrpc-server-port 7363 >& /tmp/FLDIGI5 &
#$FLDIGI --config-dir ~/.fldigi6 --xmlrpc-server-port 7364 >& /tmp/FLDIGI6 &
sleep 1
wsjtx -r VFOB >& /tmp/WSJTX &
exit
# This seems too slow things up too much
sleep 2
pushd ../bandmap
bandmap.py -rig HAMLIB -port 4633 >& /tmp/BANDMAP &
popd