Jump to content

tso

Mitglieder
  • Gesamte Inhalte

    7
  • Benutzer seit

  • Letzter Besuch

Alle erstellten Inhalte von tso

  1. Hi Bahnland I like the idea with a generic keyword "springswitch" and like your improvements. Its seems like a good solution. Regards Thomas
  2. You are right Götz. I need to model the real Märklin track behavior, because I want to use the MBS model to test control-software for my real Märklin modelbahn. As long I can manage to hide the difference in MBS or the interface software, the control software will not know is it controls the real tracks or the MBS model ;-) Regards Thomas
  3. Hi Goetz Thanks for the info - Then I learn about a way to catagorize items using the keyword. I understand the logic and see how it works. When I tested it under difference circumstances I realized that there might be a timing issue. I had a fast running train and it managed to leave the track again before the 1 second delay, resulting in switchback was not set to True. All though your solution is more general I think I continue with my approach describe above - It seems to work perfectly well. I have changed my control-software so when at switch is changed it all ways create and set a variable named by the switchname with '_POS' appended, So for the switched where I want fallback, I just have to add a train-leave event setting position to it own _POS variable. So I wasn't such a heavy task. But thanks again for you input - I still have a lot to learn ;-) Regards Thomas
  4. Hi Henry Thanks again. I got you example up and running, and I understand that I wasn't clear enough in my question. I my case the home position changes depending on what scenarie is running on my model. That was the reason, that I need to make variables that was set by my my control software as describes above. Said in another way: since the home position change over time I need to store it in a variable. But I learned something new today ;-) regards Thomas
  5. Hi I managed to get it all working using the 3 steps described above. I tried to let the switch-change event setting the home-pos variable, but when the train passes and change the position it allso triggers et switch-change event. So I had to change my control-software MBS interface to both set the variable and set the switch position. But now it works nicely. regards Thomas
  6. Hi Henry Thank for your response. I dont see any properties called home-position - just position. To make sure I understand you correct, you propose that: for each switch I make a variable to store home postition. Every time my control software change the switch position it allso set the variable to the new home-position Every switch need at trigger for a train leave action, the sets the position to the position stored in the home-position variable for that switch Is that understanding correct? It is quite a lot of configuration with more than 20 switches, but if that is the way to do it, I have to do it. regards Thomas
  7. Hi I'm new to 3DTrainStudio but is very amazed by the quality and the posibilities. With in a week I have managed to create a virtual copy of my fully automated modelbahn with 7 active locomotives and made integration with my own computer-control software, so I can computer control the virtual modelbahhn via the TCP interface. But I have one problem. Real Märklin M switches will keep their postion even if at train pass in the opposite direction. In 3DTrainStudio the position changes which means that the switch is left in the wrong postion. Is it possible to configure the track to it will be left in the original position after a train passing. If I lock position it will block the train. Best regards Thomas
×
×
  • Neu erstellen...