HLT 0109 Posted November 2, 2017 Author Share Posted November 2, 2017 What Nigel said: there's a closed bracket missing from the end of the turnout list, and a closed parenthesis missing at the very end. If you compare your text with the text I posted in #17 you'll see the differences. You might want to download a (free) copy of pycharm. It actually highlights errors like that in red. Even Notepad++ (also free) is much better than notepad. https://www.jetbrains.com/pycharm/ Thanks Steve. How odd though, when I copied your post, the two brackets were not replicated - that or my brain needs de-bugging! Many thanks for the link Link to post Share on other sites More sharing options...
HLT 0109 Posted November 16, 2017 Author Share Posted November 16, 2017 I see that it is two weeks since my previous post in this thread - it seems much longer! However, I am pleased to report that the problems have now been overcome. Thanks to the patience of Steve in dealing with a programming numpty, I now have twelve routes saved as python scripts which are triggered via the Routes Table in Panel Pro. If necessary, I can vary the delay between adjacent trigger actions if the points share a CDU, in order to give the CDU time to regenerate. Steve did say that the job could be done with a single script but I have decided to quit while I am ahead. Many thanks to all who contributed to the debate. Link to post Share on other sites More sharing options...
Artificer1 Posted August 22, 2020 Share Posted August 22, 2020 Hi, came across this post, can someone give me some guidance how to programme the Hornby R8427 using JMRI for turnout control. Link to post Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now