dsdplus python script?

Status
Not open for further replies.

hotpocket

Member
Premium Subscriber
Joined
Nov 17, 2014
Messages
214
Reaction score
26
I wonder if anyone has thought of making a python script to generate the DSDplus.frequencies file? The basic idea is the script would first prompt you to enter:

  • protocol
  • networkID
  • siteNumber
  • OTAchannelNumber
  • TXfrequency
  • RCfrequency
  • sortOrder
once entered, it would insert it into a line in the DSDplus.frequencies file, starting at line 8. it would then ask you if you wish to add another entry. if you said yes, it would increment the line number by 1, and then repeat the prompts. if you said no, it would write the file as DSDplus.frequencies
 

mtindor

FMP24 PRO USER
Database Admin
Joined
Dec 5, 2006
Messages
12,043
Reaction score
3,310
Location
Carroll Co OH / EN90LN
Wouldn't it be much easier to simply use a text editor to edit the DSDPlus.* files? I know it is for me.
 

Reconrider

Inside the Galaxy
Joined
Sep 26, 2017
Messages
1,991
Reaction score
921
Location
Radio Galaxy
In the time it takes you to add all the info to that script, I could have 3 done before you had 1.
Also, notepad++ you can do CTRL+D to copy the same line of info below the line you have highlighted.

I can edit more than one at a time by holding ALT+SHIFT and dragging my mouse to a spot that lets me edit more than 1 at a time.
Pic if you want to see it highlighted in the center of a text doc.

 

hotpocket

Member
Premium Subscriber
Joined
Nov 17, 2014
Messages
214
Reaction score
26
yeah, i suppose it is kind of pointless. plus with utilities like DSDPlusUI, it makes it a lot easier as well
 

613scanner

Member
Joined
Jul 22, 2018
Messages
55
Reaction score
24
I have just been using excel , that way I can just copy and paste off of RR . Once I have all the data in excel I just format a cell to display the info in dsd+ format and then I am done in under 10 min. It saved me some time recently when I was helping someone setup dsd+ with the Alberta P25 provincial network.

I also thought of making a script to do it , but I am adding new networks so infrequently that I just stick with my excel file. You can make the same thing in open office calc, however my empolyer has excel installed.
 
Last edited:
Status
Not open for further replies.
Top