Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Locked
VSD Transponder Question
#vsdecoder
Hi,
I am using JMRI for a shelf layout I have. I run my trains using scrips and I am using decoders, sensors etc from a Swedish company? mollehem.se My layout is N-scale and I would like to use VSD for the loco sounds. I am trying to figure out what LocoNet messages to send in my scripts to mimic the messages sent by the Digitrax Transponding system to report loco possitions. Since I only run my trains with scripts I thought that I could put in LocoNet messages in the scripts that will tell the position of the trains to VSD when I get a message from the corresponding sensor that the train is located there. Is there someone that could help with the how a LOcoNet message like that should look like ? Best Regards P?r Ekstrand Stockholm |
Hi P?r,
toggle quoted message
Show quoted text
I have uploaded a script example that will hopefully be helpful. /g/jmriusers/files/VSD/SensorListener.py You have to open the LocoNet Monitor to see the transponding messages. Open the sensor table (Tools >> Tables >> Sensors) and click on an sensor state. Regards Klaus Am 16.09.2019 um 12:23 schrieb P?r Ekstrand: Hi, |
You're welcome, P?r!
toggle quoted message
Show quoted text
I uploaded a variant of the script (SensorTransponding.py). Both scripts work for me in JMRI simulator mode. Please check the line endings, if you are not running Windows. The sound positions can be maintained in "Manage VSD Locations". But I prefer to load the data at JMRI start up. To give you an example I uploaded two more files: Reporters.xml and VSDGeodata.xml. On PanelPro go to Edit >> Preferences >> Start Up and add an "Open File" action for Reporters.xml. After a JMRI restart you should find your data on "Manage VSD Locations". The documentation is on . Regards, Klaus Am 17.09.2019 um 08:16 schrieb P?r Ekstrand: Hi Klaus, |
to navigate to use esc to dismiss