- Joined
- Jan 18, 2005
- Messages
- 725
Another batch file. It allows me to enter the SDR - Antenna connection and Frequency
and starts DSDPlus and the FMPx it needs. You would need to enter your serial numbers
of course. Just change the serial numbers, copy and paste into notepad, save
as whatevernameyouwant.bat into your dsdplus directory. You can run it manually or use
DSDPlusUI.exe with BAT Loader to select it and run. I've attached it as freq.txt, just
change name to freq.bat if you want. Any suggestions or corrections please.
======================================================================
@Echo off
title My SDR Menu
:home
cls
echo.
echo Select a SDR - Antenna
echo ================================================================
echo.
echo.
echo.
echo SDR Serial Number Antenna -i? FMPx
echo 1 Airspy 573064DC316D33C1 Outside -i1 first in FMPA.cfg FMPA
echo 2 Airspy 644064DC354A1DCD Inside -i2 second in FMPA.cfg FMPA
echo 3 Noolec 00000001 None -i"00000001" FMP24
echo 4 Noolec 00000002 Outside -i"00000002" FMP24
echo 5 SDRPlay 1710004020 None -i1 FMPP
echo.
echo.
set /p sdrnum=---Enter the number for the SDR you want to use--
echo.
set /p freq=---Enter the Frequency XXX.XXXX--
echo.
;
if "%sdrnum%"=="1" goto a1
if "%sdrnum%"=="2" goto a2
if "%sdrnum%"=="3" goto a3
if "%sdrnum%"=="4" goto a4
if "%sdrnum%"=="5" goto a5
goto exit
:a1
set a="-i1"
goto dsdfmpa
:a2
set a="-i2"
goto dsdfmpa
:a3
set a=-i"00000001"
goto dsdfmp24
:a4
set a=-i"00000002"
goto dsdfmp24
:a5
set a="-i1"
goto fmpp
;
:dsdfmpa
start FMPA %a% -o20030 -f%freq% -b12.5
start DSDPlus -F1 -r1 -e -m1 -i20030 -OM NUL
goto exit
;
:dsdfmp24
echo %a%
pause
start FMP24 %a% -o20031 -f%freq% -b12.5
start DSDPlus -F2 -r1 -e -m1 -i20031 -OM NUL
goto exit
;
:fmpp
start FMPP -i1 -o20032 -f%freq% -L5 -b12.5
start DSDPlus -F3 -r1 -e -m1 -i20032 -OM NUL
goto exit
:exit
exit
==============================================================
and starts DSDPlus and the FMPx it needs. You would need to enter your serial numbers
of course. Just change the serial numbers, copy and paste into notepad, save
as whatevernameyouwant.bat into your dsdplus directory. You can run it manually or use
DSDPlusUI.exe with BAT Loader to select it and run. I've attached it as freq.txt, just
change name to freq.bat if you want. Any suggestions or corrections please.
======================================================================
@Echo off
title My SDR Menu
:home
cls
echo.
echo Select a SDR - Antenna
echo ================================================================
echo.
echo.
echo.
echo SDR Serial Number Antenna -i? FMPx
echo 1 Airspy 573064DC316D33C1 Outside -i1 first in FMPA.cfg FMPA
echo 2 Airspy 644064DC354A1DCD Inside -i2 second in FMPA.cfg FMPA
echo 3 Noolec 00000001 None -i"00000001" FMP24
echo 4 Noolec 00000002 Outside -i"00000002" FMP24
echo 5 SDRPlay 1710004020 None -i1 FMPP
echo.
echo.
set /p sdrnum=---Enter the number for the SDR you want to use--
echo.
set /p freq=---Enter the Frequency XXX.XXXX--
echo.
;
if "%sdrnum%"=="1" goto a1
if "%sdrnum%"=="2" goto a2
if "%sdrnum%"=="3" goto a3
if "%sdrnum%"=="4" goto a4
if "%sdrnum%"=="5" goto a5
goto exit
:a1
set a="-i1"
goto dsdfmpa
:a2
set a="-i2"
goto dsdfmpa
:a3
set a=-i"00000001"
goto dsdfmp24
:a4
set a=-i"00000002"
goto dsdfmp24
:a5
set a="-i1"
goto fmpp
;
:dsdfmpa
start FMPA %a% -o20030 -f%freq% -b12.5
start DSDPlus -F1 -r1 -e -m1 -i20030 -OM NUL
goto exit
;
:dsdfmp24
echo %a%
pause
start FMP24 %a% -o20031 -f%freq% -b12.5
start DSDPlus -F2 -r1 -e -m1 -i20031 -OM NUL
goto exit
;
:fmpp
start FMPP -i1 -o20032 -f%freq% -L5 -b12.5
start DSDPlus -F3 -r1 -e -m1 -i20032 -OM NUL
goto exit
:exit
exit
==============================================================