Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
Re: Injecting a delay between turnout operations
I first tried doing delays in Logix but it means a lot of changing output statements and didn't always works. Putting the delay in the turnout table has solve almost all the problems to the extent that in a day operation we get ?a few missed aspect instead of 50% before.
As I said you can't change the delay in the Edit Auto unless the selection to the left does not show OFF, then you can change the times, but you have to save that time as a name or it will not take effect. Once saved the name can be selected for other turnouts. I found 50ms repeat delay was enough time delay for the decoders giving 19 different times, the decoders only needed 16 and I repeated them for each decoder. I realisied you may not be seeing the settings as I selected them a different way. They can also be selected by clicking EDIT in the turnout table and then FEEDBACK, select Turnout Automation to anything but Off, enter the Times and Interval and give it a Feedback name. This is the name you can then select in Turnout Automation. I don't use routes for our modules, it is all done in Logix along with masts for signals, each interlocking is contained in a single logix (lots of conditionals!) to make it easy to add new modules. Mike |
Locked
Re: Injecting a delay between turnout operations
I wrote a route just with the three points in it.? I tried to type into the "additional delay" box - but it won't accept it.? Keeping my finger on the up button I managed to get it to 750 - I believe (?) a total of 1 sec.? That does work - though if you want a delay of 2 seconds forget it!? THe upwards button stops at 1000.?
|
Locked
Re: Injecting a delay between turnout operations
Progress (?) so far.? As I said - I don't have any feedback - beyond my price range.
I cannot use Routes since I need to set signal MAST aspects (not heads - head settings don't work for SE8C heads and BR2003).? I could? perhaps rewrite all my logix to use routes just for the turnouts.? Then (if my reading is right!) I can set a delay in each route for all turnouts in that route. I haven't tried that because it's labour intensive and destroys what I have done so far - I thought I would try logix first Logix is odd.? As an example, I have one route with 3 turnouts.? Since I understood (!) that the delay is *before* throwing, I have no delay on the first and I put delays on the second and third turnout actions and a further delay on the subsequent sensor set.? 10 secs delay in each instance. Hence (I tought!) throw 1, delay 10 secs, throw 2, delay 10 secs, throw 3 delay 10 secs.? What I get is throw 1, wait total 30 delay time and then everything gets done at once!? Since that is what I wanted to avoid I am not getting anywhere. What am I doing wrong? |
Locked
Re: BD20 block detection
¿ªÔÆÌåÓýWiThrottle, points, blocks on onexAIU all working!? I will continue to put in another AIU and it is numbered number 9. Still not sure what to do about jumpers on USB or if itvis V6 or v7 but l assume that is nothing to worry about now. It's definitely a V7. It has told us so. The "V7.3.0" in the console log doesn't come from JMRI. It's the NCE USB responding to the AA ("tell me about yourself") command sent by JMRI. The NCE USB has replied with "Hello, I'm a V7 model and Richard has taken all my jumpers off and lost them!". Don't worry about the jumpers now as everything is working but next time you are near a Jaycar outlet/dealer, buy a packet (or try any computer parts/repair place). You don't need them at present but one day you may... I'll try to connect the laptop and post another console report but I feel like everything mix fine now.? You are doing very well. Dave. |
Locked
Re: BD20 block detection
WiThrottle, points, blocks on onexAIU all working!?
I will continue to put in another AIU and it is numbered number 9. Still not sure what to do about jumpers on USB or if itvis V6 or v7 but l assume that is nothing to worry about now. I'll try to connect the laptop and post another console report but I feel like everything mix fine now.? Thanks everyone for your support.? |
Locked
Re: Mobile Control II and Side bottons
Roland,
Based on your description, I'm assuming that the behaviour you're looking for is that Function 2 activates, and stays active, while you're holding down the upper-left button, and then de-activates when you release the button. Assuming that is a correct understanding, that's not something we currently support on the ESU MobileControl II. The reason is due to a hardware limitation (certainly on the device upon which I did the development). A bit of technical background. When pressing a key, be it physical or virtual, a keydown event is generated. This is then followed by a keyup event (usually) when the key is released. For some reason, the ESU MobileControl II almost immediately generates the keyup event even if the button is still held down. As a result, it's impossible for us to detect if the button is being held down or not. What we could do is to use a toggle mechanism whereby a first press of the side button activates the function and a second press of the same button deactivates. Not quite as slick an operation, but it could be a workaround. Now it's possible that this hardware limitation is only on my device (or a limited sub-set of all devices) but, based on your report, that seems less likely. I hope that makes sense and give a better understanding of what's happening. Best regards, Matt H |
Locked
Re: BD20 block detection
How silly. Of course it must be because I changed the sensor codes from 4 to 5! I have yet to change them in the sensors table. I will have a go now achanging the sensors to 8 and latercwill again plug in AIU 9 which I have temporarily disconnected to simplify things.
|
Locked
Re: BD20 block detection
I'd say that is because your sensors are still reading AIU 4 (NS48 to NS61).
toggle quoted message
Show quoted text
You'd see that in the NCE Command Monitor. Non-existent AIU sensors report as occupied. You are going to have to delete and recreate those sensors. -- Dave in Australia On 8 Nov 2018, at 6:22 PM, Richard_vanRaay via Groups.Io <richard_vanraay@...> wrote: |
Locked
Re: BD20 block detection
Also all good.
toggle quoted message
Show quoted text
-- Dave in Australia On 8 Nov 2018, at 6:05 PM, Richard_vanRaay via Groups.Io <richard_vanraay@...> wrote: |
Locked
Re: BD20 block detection
¿ªÔÆÌåÓýSee below: Thanks Dave, Jim and Ken. I have all wiThrottle and laptop going now. I lost the plastic cover that went over the jumpers and am left with 8 steel rods sticking out of the circuit board. <> I don't know how to copy your post Dave but; ttyUSB0?would be on your?Raspberry Pi COM4 would be on your?Windows laptop. Baud rate is 9600 I will post a console log now just because I can, and will turn off and restart Power Cab then start JMRI and look again at the consol log looking for V7.3.0. All preferences are always staying on NCE. I have not seen them change for months and am checking them often. LED's are not stuck on the USB interface. I am still unsure whether it is a V6 or V7. Thanks men. Thanks a lot. I'd buy you a beer or when your in Tassie drop in for one. His father (my uncle from Hobart) died a few weeks ago. If you are from Hobart region you may have seen the media coverage. He was a very well known Salvation Army Officer who for many years had visited the Hobart pubs every Friday night. I have turned off Start up Panel just because I could.
This is the NCE USB telling JMRI (and us) that it is a V7 board with all jumpers removed. All good. Dave in Armidale |
Locked
Re: BD20 block detection
Now to make things more fun all the sensors are showing active! All blocks show occupied. The lights on the AIU are all correct, only the Layout shows faulty.?
Slowly, slowly, ? |
Locked
Re: BD20 block detection
2018-11-08 18:03:48,180 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main] |
Locked
Re: BD20 block detection
Thanks Dave, Jim and Ken. I have all wiThrottle and laptop going now. I lost the plastic cover that went over the jumpers and am left with 8 steel rods sticking out of the circuit board.
I don't know how to copy your post Dave but; All JMRI preferences are as you said except serial port which is ttyUSB0 and that is the only one that works. Baud rate is 9600 NCE show all cabs shows 2, 3, 8 and 9, 3 being the ProCab, USB, AIU and AIU. I will post a console log now just because I can, and will turn off and restart Power Cab then start JMRI and look again at the consol log looking for V7.3.0. All preferences are always staying on NCE. I have not seen them change for months and am checking them often. LED's are not stuck on the USB interface. I am still unsure whether it is a V6 or V7. Thanks men. Thanks a lot. I'd buy you a beer or when your in Tassie drop in for one. I have turned off Start up Panel just because I could. 2018-11-08 17:45:38,363 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main] 2018-11-08 17:45:38,405 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: C:\Users\Toshiba laptop\JMRI\log\messages.log [main] 2018-11-08 17:45:38,407 util.Log4JUtil??????????????????????? INFO? - This log is stored in file: C:\Users\Toshiba laptop\JMRI\log\session.log [main] 2018-11-08 17:45:38,423 apps.Apps???????????????????????????? INFO? - PanelPro version 4.12+Rb6a9bb1 starts under Java 1.8.0_151 on Windows Vista x86 v6.0 at Thu Nov 08 17:45:38 AEDT 2018 [main] 2018-11-08 17:45:39,388 apps.Apps???????????????????????????? INFO? - Starting with profile My_JMRI_Railroad.3f558d63 [main] 2018-11-08 17:45:40,694 node.NodeIdentity???????????????????? INFO? - Using jmri-dNQe-cAGbhNiaaacjEYECc-3f558d63 as the JMRI Node identity [AWT-EventQueue-0] 2018-11-08 17:45:41,052 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "NCE" [main] 2018-11-08 17:45:41,705 usbdriver.UsbDriverAdapter??????????? INFO? - NCE USB COM4 port opened at 9600 baud [main] 2018-11-08 17:45:41,923 nce.NceConnectionStatus?????????????? INFO? - NCE EPROM revision = 7.3.0 [AWT-EventQueue-0] 2018-11-08 17:45:43,740 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files\JMRI\ [main] 2018-11-08 17:45:43,743 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Users\Toshiba laptop\JMRI\My_JMRI_Railroad\ [main] 2018-11-08 17:45:43,749 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Users\Toshiba laptop\JMRI\My_JMRI_Railroad\ [main] 2018-11-08 17:45:43,760 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Users\Toshiba laptop\JMRI\ [main] 2018-11-08 17:45:43,761 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Users\Toshiba laptop\ [main] 2018-11-08 17:45:43,761 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Users\Toshiba laptop\JMRI\My_JMRI_Railroad\ [main] 2018-11-08 17:45:45,050 server.WebServer????????????????????? INFO? - Starting Web Server on port 12080 [WebServer] 2018-11-08 17:45:45,886 PanelPro.PanelPro???????????????????? INFO? - Main initialization done [main] 2018-11-08 17:45:46,234 server.WebServer????????????????????? INFO? - Starting ZeroConfService _http._tcp.local for Web Server with properties {path=/, json=4.1} [WebServer] 2018-11-08 17:45:53,104 withrottle.FacelessServer???????????? INFO? - Published ZeroConf service for 'richard's railroad._withrottle._tcp.local.' on 192.168.1.15:12090 [WiThrottleServer] 2018-11-08 17:45:53,105 withrottle.FacelessServer???????????? INFO? - Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer] |
Locked
Re: Adding new "info" field to the Cars and Loco tab in Oospore
¿ªÔÆÌåÓýThat level of modification to the script is trivial. Go to Help->Locations->Open Scripts Location.Make a copy of the file called??and put it somewhere you can easily find it (Maybe your User Files Location). Open your copy of??in a text editor. You'll find a section like: # Write the header # Make sure that the headers match the detail!! def writeHeader(csvFile): ? ? # Write the header line ? ? # Entries from the Basic roster entry ? ? csvFile.write("RosterID") ? ? csvFile.write("RoadName") ? ? csvFile.write("RoadNumber") ? ? csvFile.write("Manufacturer") ? ? csvFile.write("Owner") ? ? csvFile.write("Model") ? ? csvFile.write("Address") ? ? csvFile.write("Is Long?") ? ? csvFile.write("Speed Limit") ? ? csvFile.write("Comment") ? ? csvFile.write("Decoder Family") ? ? csvFile.write("Decoder Model") ? ? csvFile.write("Decoder Comment") (Then a bit further down) ? ? ? ? csvFile.write(entry.getComment()) ? ? ? ? csvFile.write(entry.getDecoderFamily()) ? ? ? ? csvFile.write(entry.getDecoderModel()) ? ? ? ? csvFile.write(entry.getDecoderComment()) All you need to do is add extra line(s) to each of those two spots, modified with your custom field name(s). A simple copy and paste of the last line in the list is best because Jython/Python is very fussy about spaces and indentation. It should look something like this: ? ?csvFile.write("Decoder Model") ? ? csvFile.write("Decoder Comment") ? ? csvFile.write("MyField") (Then a bit further down) ? ? ? ? csvFile.write(entry.getDecoderModel()) ? ? ? ? csvFile.write(entry.getDecoderComment()) ? ? ? ? csvFile.write(entry.getAttribute("MyField")) - Save the modified file. - In DecoderPro Actions->Run Script... Pick your modified file. - Wait a while (depending how big your roster is) and it should eventually ask where to store the "roster.csv" file it has created. - If it doesn't work, upload your modified script to the "Problems Being Worked On" folder in the Files area of this list and someone will debug it for you. Dave --? Dave in Australia On 8 Nov 2018, at 12:15 PM, Paul Davidson <pdavidson@...> wrote:
Thanks but that is getting in too deep for me. I am not familiar with scripts nor how to implement your suggestion. Perhaps some future JMRI upgrade will address my request to expand the cars file. |
Locked
Re: Dispatcher - SML - auto-allocation problem
Hi Mitchell
toggle quoted message
Show quoted text
As far as I can tell the only thing that I can see is that there is a stopping sensor that never gets fired for 50037 so it rolls on into the crossover. Try removing the stopping sensors from the sections. I tried emailing you last week but it was returned as undeliverable. Steve G. On November 5, 2018 8:28:00 AM EST, "Mitchell via Groups.Io" <mitchell.scott93@...> wrote: Hi Steve, --
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
Locked
Re: Adding new "info" field to the Cars and Loco tab in Oospore
Dave,
Thanks but that is getting in too deep for me. I am not familiar with scripts nor how to implement your suggestion. Perhaps some future JMRI upgrade will address my request to expand the cars file. Paul D |
Locked
Re: System Console not showing block "triggers"?
Bob Jacobsen
SensorLog.py - does EXACTLY what I was looking for! Thank you very much!! Wain |
Locked
Re: System Console not showing block "triggers"?
Dave -?
That is the exact message I was referring to.? I understand what Steve Young is saying about the massive amount of text being dumped into the system console should I turn that feature on, so I am going to look into the suggestion by?Bob Jacobsen ( Thanks all who replied!? It's been a while since I've put in new track with sensors, especially when no one documented which sensor went with which section of track :P Regards,' Wain |
Locked
Re: Adding new "info" field to the Cars and Loco tab in Oospore
¿ªÔÆÌåÓýMake a custom version of??(distributed in the Scripts Location), adding your own custom fields. It will create a CSV file for import into Excel. --? Dave in Australia I could not get it to export to a Excel sheet. |