Menu Content/Inhalt
Page d'accueil arrow Forum
  • English
  • Français
  • Deutsch

formulaire d'enregistrement






Mot de passe oublié ?
Pas encore de compte ? Enregistrez-vous

Most Downloads

CATrain - Forum
Bienvenue, Invité
Merci de vous identifier ou de vous inscrire.    Mot de passe perdu?
Ideas for new features in 2.2.x (1 lecteur(s)) (1) _WHO_ONLINE_GUEST
Aller en bas Répondre Ajouté aux favoris : 0
SUJET: Ideas for new features in 2.2.x
#475
Arthur (Utilisateur)
Fresh Boarder
Messages: 3
graphgraph
Personne n'est hors ligne Cliquez ici pour voir le profil de cet utilisateur
Ideas for new features in 2.2.x _FB_TIME_SINCE Karma: 0  
Hello! I'm in Greymouth, New Zealand. I've just downloaded CATrain 2.2.4 and I'm very impressed! Somebody was asking about ideas for new features to put into a future version - I'd address this directly to the programmer concerned but it's after midnight, I should go to bed, and I couldn't find my way back to the original posting...

What I'd like to see is the ability to add conditional operations to itineraries (If...THEN...ELSE sort of thing). Particularly I'm looking at setting up a layout for my grandchildren, with two passing loops, and I'd like my trains to stop automatically in a passing loop if the other train is on their side of the other passing loop and coming towards them.

I'll have other questions, but for now that's probably enough to sort out?
 
  L'administrateur a désactivé l'accès public en écriture.
#476
Daniel (Admin)
Administrateur
Messages: 51
graphgraph
Personne n'est connecté Cliquez ici pour voir le profil de cet utilisateur
Sexe: Masculin catrain.org Lieu: Germany, NRW
Re:Ideas for new features in 2.2.x _FB_TIME_SINCE Karma: 0  
Hi Arthur,
I'm working on a new itinerary editor (Yes, it's taking a long time, sorry). I'm also changing the whole internal itinerary structure, so that i can add if then else things. Would it be enough, if you can use something like 'gotoX_if_train_is_on_...'

So there is a possibility to jump to another instruction sequence if there is another train on the other loop...

My problem is, i know how to program this - but there is no time to do this... I'm sorry about that. But we will do this as fast as possible - ok?

Kind Regards,

Daniel
 
 
Two things are infinite, the universe and the human stupidity, but with the universe I am not yet completely safe me. (Albert Einstein)
  L'administrateur a désactivé l'accès public en écriture.
#477
Arthur (Utilisateur)
Fresh Boarder
Messages: 3
graphgraph
Personne n'est hors ligne Cliquez ici pour voir le profil de cet utilisateur
Re:Ideas for new features in 2.2.x _FB_TIME_SINCE Karma: 0  
Hello, Daniel - thanks for the quick reply!

Just after I sent the previous post it occurred to me that the DOS batch file IF format (IF...THEN without any ELSE) is sufficient - a string of those should be capable of handling multiple conditions. It should be OK if the itinerary file can be edited to achieve this sort of command without needing CATrain itself to be able to generate the code. Some words of caution in the documentation might help avoid non-programmers making a complete mess of the logic!

I'm curious about the "Special Function" provision in the "Define Train" dialog box, and how to make use of it. What sort of switching could be activated this way? It would be excellent to have some way of switching lights (battery powered?) or smoke, but I have no idea how this could be controlled in the CAtrain environment. Is it possible to add control signals on top of the PWM voltage that powers the motor, possibly to command a specifically designed function decoder? I assume conventional DCC decoders could not be driven with s PWM 12 volt DC supply.

The cheapest solution for powering a CATrain- driven layout (5 or 6 volts for lights, 12 volts for trains, several amps for several trains) seems possibly to be a PC power supply. These typically produce quite "stiff" 5 and 12 volt DC outputs. I have an old (and dead) Compaq supply on my desk here, and it claims to produce +12 volts at 14 amps (trains), +5 volts at 25 amps (Grain-of-wheat bulbs) and + 3.3 volts at 18 amps (LEDs) as well as -5 and -12 volts at much smaller currents.

I think you should be able to buy a brand-new one for 20 - 30 Euros. Can you think of any reasons why that wouldn't work?

Best wishes!
 
  L'administrateur a désactivé l'accès public en écriture.
Revenir en haut Répondre
Développé par FireBoardObtenir les derniers messages directement sur votre PC