DSDPlus FMPx .bat file supporting multiple control channels

Status
Not open for further replies.

W4KRR

Member
Premium Subscriber
Joined
Apr 1, 2001
Messages
3,485
Location
Coconut Creek
I'm trying to create a .bat file that has multiple control channels, in the event that the control channel changes, or it has changed since the last time I launched the program. I.E., it should try the first channel listed, and if that isn't the control channel, it should move on to the next one in the list. Is this possible?

I have tried the below .bat file, but it doesn't work:

start FMPA -i1 -rc -o20003 -f935.4625 -f935.4875 -f937.8875 -f937.9125 -f938.175 -f938.500 -f939.400 -_1 -wsl15.43
start DSDPlus -i20003 -rc -O NUL -wes400.800
start FMPA -i2 -rv -o20002 -wsl240.43
start DSDPlus -rv -i20002 -O NUL -wes400.800
 

Reconrider

Inside the Galaxy
Joined
Sep 26, 2017
Messages
1,933
Location
Radio Galaxy
If it’s a p25 system you don’t need to. P25 gives a band plan, it will know what frequencies to scan through. Put the current cc and the system will scan for it if/when it changes
 

GTR8000

NY/NJ Database Guy
Database Admin
Joined
Oct 4, 2007
Messages
16,027
Location
BEE00
If it’s a p25 system you don’t need to. P25 gives a band plan, it will know what frequencies to scan through. Put the current cc and the system will scan for it if/when it changes
It's not the band plan that comes into play with that, but rather the other frequencies that are flagged as control-capable. The site should be broadcasting those alternate control channels a few times per second, and so if a control channel rolls, DSD+ would have already written those alternate control frequencies to DSDPlus.P25data, and would start to search those as long as Hunt for Lost Control Channels is enabled.
 

a417

Active Member
Joined
Mar 14, 2004
Messages
4,669
Your idea is making the wrong program try to solve the problem. DSD+ does the thinking, it just points FMPx to where it thinks the C/C should be. The first -f will give it a starting point, any successive ones will just reset the "initial frequency" to the next subsequent value that's passed by subsequent-f

tack f.png

as you can see I passed it two initial frequencies, and it just kept resetting the initial one. There clearly isn't a sanity check in the program that prevents it from trying to repetitively set an initial freq more than once, and obviously no error message associated with it. As @GTR8000 pointed out, the listing of alternates in DSDPlus.P25data, makes DSD+ do what you thought FMPx should be doing.
 

W4KRR

Member
Premium Subscriber
Joined
Apr 1, 2001
Messages
3,485
Location
Coconut Creek
It's not the band plan that comes into play with that, but rather the other frequencies that are flagged as control-capable. The site should be broadcasting those alternate control channels a few times per second, and so if a control channel rolls, DSD+ would have already written those alternate control frequencies to DSDPlus.P25data, and would start to search those as long as Hunt for Lost Control Channels is enabled.
The particular system in my example is a Harris P25 system. I checked my DSDPlus.P25data file, and all frequencies are listed, and all are listed as being control channel capable. I also have "Hunt for Lost Control Channels" checked, but it doesn't search for any frequencies. I have to manually enter the correct control channel in FMPx.
 

Reconrider

Inside the Galaxy
Joined
Sep 26, 2017
Messages
1,933
Location
Radio Galaxy
It's not the band plan that comes into play with that, but rather the other frequencies that are flagged as control-capable. The site should be broadcasting those alternate control channels a few times per second, and so if a control channel rolls, DSD+ would have already written those alternate control frequencies to DSDPlus.P25data, and would start to search those as long as Hunt for Lost Control Channels is enabled.
I knew it was written to the p25data file, just didn't realize dsd figured that out and it wasn't the bandplan that "helped" with that.
 

slicerwizard

Member
Joined
Sep 19, 2002
Messages
7,714
Location
Toronto, Ontario
I'm trying to create a .bat file that has multiple control channels, in the event that the control channel changes, or it has changed since the last time I launched the program. I.E., it should try the first channel listed, and if that isn't the control channel, it should move on to the next one in the list. Is this possible?
Manually tune to the current control channel, then in the CC instance of DSD+, Control menu / Startup Options / Load Current Trunking System.

Done.
 

W4KRR

Member
Premium Subscriber
Joined
Apr 1, 2001
Messages
3,485
Location
Coconut Creek
Manually tune to the current control channel, then in the CC instance of DSD+, Control menu / Startup Options / Load Current Trunking System.

Done.
Tried this; it will not allow me to select "Load Current Trunking System". It's either grayed out, or it just moves to the selection under it.
 

W4KRR

Member
Premium Subscriber
Joined
Apr 1, 2001
Messages
3,485
Location
Coconut Creek
As soon as I start monitoring a trunking system in CC mode or Combined CC/VC mode it un-grays for me.
I'm going to have to play around with this. I'm not sure what is meant by "Current Trunking System" and "Specified Trunking System". How do you specify a trunking system?
 
Status
Not open for further replies.
Top