Radio Data System (RDS) > MRDS1322

Auto Send on program load

(1/1)

SteveyD:
Jan

Is there a command that will allow the TinyRds.exe program to update the Text Source file when the program starts up?

Something like "C:\TinyRDS\TinyRDS.exe" -C:\TinyRDS\rds.txt

Jan:
There's no option of that kind as the program is expected to run continuously.

A solution exists with the same effect by rewriting the configuration file before start-up. That file is usually placed in C:\Documents and Settings\[user]\Local Settings\Application Data\TinyRDS\. A simple batch file can rewrite it (copy) by one of prepared configuration file and then run the app.

SteveyD:
Jan

Is it the TinyRDS configuration file that needs to be edited  or will changing the file identified in "Text Sources" read from File work as well?

Jan:
There are two different source files, one for dynamic PS and one for RT. Manual change can be made in the tinyrds.rds configuration file. This way a set of different configuration files can be prepared. Copying one of them into tinyrds.rds will select the configuration desired. If it makes the things easier, the configuration file may be selectable by command line option in next version.


--- Code: ---...
[DPS1]
...
FromFile=0
SendOnChange=1
SourceFile=C:\dps.txt
...
[Radiotext]
...
FromFile=0
SendOnChange=1
SourceFile=C:\rt.txt
...
--- End code ---

Navigation

[0] Message Index

Reply

Go to full version