Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
Re: Dispatcher - SML - auto-allocation problem
Yep, just worked it out as you replied.. haha
Okay, I added sensors to my panel for simulating trains running around the inner circle and coming across the crossover into the inner circle. Setting starting sensors to active, creating auto-active trains for each train, and then clicking through the route of 50037 from block 01 to block 05 As soon as block 01 goes in-active, 37254 allocates to S06. And then 50037 allocates over the top. If I keep 50037 going, the both legs of a turnout that they depart using the same route, both go allocated for their seperate transits, showign that they are both deffinitely allocating at the same time and continuing on to their seperate destintions. When the initial overlap happens at LT5, JMRI system console spits out the following: ?
118089 [AWT-EventQueue-0] ERROR jmri.jmrit.dispatcher.AutoAllocate? - Allocation request section does not match active train next section to allocate
118102 [AWT-EventQueue-0] ERROR jmri.jmrit.dispatcher.AutoAllocate? - Section to allocate S01:S06
118105 [AWT-EventQueue-0] ERROR jmri.jmrit.dispatcher.AutoAllocate? - Active Train expected S06:S09
118309 [AWT-EventQueue-0] ERROR jmri.jmrit.dispatcher.AutoAllocate? - Allocation request section does not match active train next section to allocate
118310 [AWT-EventQueue-0] ERROR jmri.jmrit.dispatcher.AutoAllocate? - Section to allocate S01:S06
118311 [AWT-EventQueue-0] ERROR jmri.jmrit.dispatcher.AutoAllocate? - Active Train expected S06:S09
118313 [AWT-EventQueue-0] ERROR jmri.jmrit.dispatcher.AutoAllocate? - Allocation request section does not match active train next section to allocate
118315 [AWT-EventQueue-0] ERROR jmri.jmrit.dispatcher.AutoAllocate? - Section to allocate S01:S06
118316 [AWT-EventQueue-0] ERROR jmri.jmrit.dispatcher.AutoAllocate? - Active Train expected S06:S09
118317 [AWT-EventQueue-0] ERROR jmri.jmrit.dispatcher.AutoAllocate? - Allocation request section does not match active train next section to allocate
118318 [AWT-EventQueue-0] ERROR jmri.jmrit.dispatcher.AutoAllocate? - Section to allocate S01:S06
118319 [AWT-EventQueue-0] ERROR jmri.jmrit.dispatcher.AutoAllocate? - Active Train expected S06:S09
I think this is telling me that it was EXPECTING 37254 but 50037 allocated anyway, or the other way around.. either way it is logging the conflict we are seeing. In a way, I am relived I'm not crazy! Thanks Mitch |
Locked
Re: Dispatcher - SML - auto-allocation problem
As I recall notepad should work, turning off line wrap helps.
toggle quoted message
Show quoted text
Otherwise there is notepad++ that can be found here Steve G. On November 9, 2018 9:27:23 AM EST, "Mitchell via Groups.Io" <mitchell.scott93@...> wrote: Thanks Steve, --
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
Locked
Re: Complex use of logix to ensure a particular order of execution
Iain,
toggle quoted message
Show quoted text
The Route duration will be the sum of the delays between turnouts. Without feedback, the last turnout will still be moving when the completion sensor has been set. I would not worry about block setting and final signal mast changes. It is possible the signal will change a few ms before the last block changes, but I doubt it will be noticeable. The additional sensor and conditional actually compensates for the lack of feedback with the added value of insuring that the blocks are set before the mast. With testing, the optimum delay time can be determined. In summary: - conditional 1: Triggered by panel button, check for valid states, set Route if OK. - conditional 2: Triggered by route sensor, set blocks, set sensor with delay to compensate for lack of feedback. - conditional 3: Triggered by delayed sensor, set signal mast. Dave Sand On Nov 9, 2018, at 4:00 PM, Iain <iain@...> wrote: |
Locked
Re: Complex use of logix to ensure a particular order of execution
Thanks Dave.? I have found the box on the Route table. It's obvious when you know to look for it!
Using that will provide me with a sensor set, then I write the next Logix for the block setting triggered by that sensor.? But that too will need to point to yet another Logix to set the signal, otherwise the signal may be set before the route is illuminated fully (longest is 8 blocks at the moment).? Unless there is a similar trigger that I haven't yet seen, I can only do that by making the signal trigger sensor a delayed set?? Maybe just a couple of seconds? Basically you are saying my interpretation of what I have read and what you have said is correct?? Iain |
Locked
Re: Complex use of logix to ensure a particular order of execution
Iain,
toggle quoted message
Show quoted text
Going off the deep end, think about this solution: A Route table entry has the ability to set a sensor state when the turnouts have reached the desired state. The could be used to trigger the final actions. I created a script that I use to simulate TWOSENSOR feedback when I am developing away from the layout. This could be adapted to provide virtual turnout feedback with an appropriate delay after 1 sensor goes Inactive and the other one Active. This emulates the behavior of a Tortoise. Dave Sand On Nov 9, 2018, at 2:56 PM, Iain <iain@...> wrote: |
Locked
Re: UK 3 aspect signal with feather using NCE PowerCab and TrainTech signal
Cracked it!!!
I assumed I was supposed to change the turnout state in the Logix, which certainly worked on the physical light.? Now changed to the Signal Mast Aspect and everything is now hunky dory!! Thanks for the pointers - I knew it must be me being dense! Torben |
Locked
Complex use of logix to ensure a particular order of execution
I have an understanding problem.? It has been clarified to me (and the manual does say it!) that Logix actions are NOT necessarily performed in a strict order, and will be executed "as convenient".
My problem is in route (note little "r" not meaning use of Routes) setting for my layout panel.? May I please pick brains to get to the most effective way for my layout and current equipment. I seek to have a process whereby three separate but tightly related activities take place in sequence, with each step being completed entirely before the next is commenced. When a sensor is set (a button click on the panel) the Logix conditions will ensure that the process cannot start unless certain sensors (from blocks) are inactive (I.e. the route is free) If true (1) THEN the necessary turnouts are set (I use a Route for this so I can have an Additional Delay" between turnout commands - technical problem of possible bus overload so this is a workround? which works for me). When (and only when) the turnouts have completely set (I do NOT have feedback so I rely on delay), (2) THEN the blocks which the route will follow will be set active (note these are those very sensors from the fist condition above so the first condition test will fail subsequently) (3) THEN when all is complete the signals controlling the route are set. My logical problem is this.? The Logix does not maintain a sequence, so what is below does not work but it expresses what I need if the sequence were strictly followed: [comments not in the original] IX:AUTO:0011C1 ?C1 ???[x] R1 ?IF Sensor "RQL1toP1a" state is "Sensor Active" ??[button on panel ???[x] R2 ???AND Sensor "SP1a" state is "Sensor Inactive" ??[block on route which needs to be clear ???[x] R3 ???AND Sensor "SLa" state is "Sensor Inactive" ???[block on route which needs to be clear ????????????THEN ??????????????On Change To True, Set Sensor, "RQL1toP1a" to Inactive ??[reset button ??????????????On Change To True, Set Signal Mast Aspect, "P1aS" to Danger ??[signal on clashing route - should be Danger but do it just in case ??????????????On Change To True, Set Signal Mast Aspect, "P1aSf" to Zero ??[signal on clashing route ??????????????On Change To True, Set Turnout, "Crossover" to Thrown ??[turnout movement which needs additional delay - use a Route ??????????????On Change To True, Set Turnout, "QL1" to Thrown ??[turnout movement which needs additional delay - use a Route with above ??????????????On Change To True, Set Sensor, "SP1a" to Active ??[set block to be used ??????????????On Change To True, Set Sensor, "SLa" to Active ???[set block to be used ??????????????On Change To True, Set Sensor, "SQL1" to Active ???[set block to be used ??????????????On Change To True, Set Signal Mast Aspect, "QL1toP1ag" to Off ??[set signal controlling route - at the very end when all else is complete |
Locked
Re: UK 3 aspect signal with feather using NCE PowerCab and TrainTech signal
I picked up a couple of good tips from the video, thanks - in particular the Trigger Calculation switch, which has solved my No 3 problem - how to allow for changing states when triggering the feather.
However, the feather aspect on screen not working when changing the turnout, and the X at start of day issues are unresolved. So I'd be grateful for any other ideas please Thanks Torben |
Locked
Re: NCE not reading AIU
Thank You!!!
toggle quoted message
Show quoted text
Dave, I had read the AIU directions wrong, I have the switches backwards. It worked!! According to their diagram I thought ¡°on¡± was away from the leds. So once I get back in town Sunday, I will finish my panel. There is still one question with detection,,, I have a crossover, when the locomotive is in that block, whether it¡¯s thrown or closed, both tracks light up as occupied even though they are both on their own BD20. Is there a way to separate them? On Nov 8, 2018, at 9:34 PM, Dave Heap <dgheap@...> wrote: |
Locked
Re: Issues with Pi-SPROG / JMRI setup
¿ªÔÆÌåÓýYour answers are below: On 10 Nov 2018, at 2:25 AM, Nathan Tableman <nathan@...> wrote: Not the most complex questions, but I cannot find answers to this anywhere. The first two have easy answers. I have a Pi-SPROG and it returns 123 for almost every CV I read on any Locomotive/device. This CVs are right on my ECoS. Any ideas on what might be happening. I have a hunch it is because the device is firmware 2.3 (old) but I cannot find a way to update it but anyone know if there is a JMRI setting I can change to fix this? If you get "Found mfg 123 (Masoth Electronic, GMBH) version 123; no such decoder defined.", and/or all CVs return a value of 123 and long address 15,227 it is 100% certain that you cannot communicate with the decoder and that one of two possibilities have happened: 1) Preferences->Defaults has Service Programmer (and possibly other items) set to Infernal. 2) Preferences->Connections has System Connection set to Simulator. Possibility (1) is the most likely. It would most likely have occurred due to a previous failure to open a connection. If there is no alternative to Infernal, you currently have a problem with the connection to your DCC system and you need to resolve the connection problem before proceeding. If an alternative is available select that, restart JMRI and try again. Warning, the Infernal problem can happen again in the future if you have any connection problems. See comments at: Couple random questions: The Pi-SPROG suggests making two profiles to allow for the differences in the command vs. programmer. I did this and it works great. But I now have 2 different rosters. I was trying to "ln -s ¡° (symbolic link) to a shared folder but it seems not to like that. Any tips one this? I need to share the roster but keep the preferences distinct. I also thought making a symlink to a shared drive might work too as the rosters are a lot of work. The Preferences for each Profile are separate. You need to to change User Files Location (which Roster Location usually follows) in each profile to a single location shared location (preferably outside any profile). I recently wrote a document on the subject of the JMRI user file structure: <> For a worked example of the sharing technique used by many JMRI developers and users, here is another document I wrote some years ago, with annotated screenshots by Bob Jacobsen: <> Which brings me to the third question and are there repos of rosters and is not why? I am having to setup each of my devices and locomotives and I keep thinking¡am I the first person to setup a Marklin XXXXX? I don't understand this question. Just in case: I am a EE/CE so kind of know how electronics work :) but looking for some tricks and tips and look I did RTFM, but missed this info, so if it is somewhere in the documentation point me please. |
Locked
Issues with Pi-SPROG / JMRI setup
Hello-
Not the most complex questions, but I cannot find answers to this anywhere. I have a Pi-SPROG and it returns 123 for almost every CV I read on any Locomotive/device. This CVs are right on my ECoS. Any ideas on what might be happening. I have a hunch it is because the device is firmware 2.3 (old) but I cannot find a way to update it but anyone know if there is a JMRI setting I can change to fix this? Couple random questions: The Pi-SPROG suggests making two profiles to allow for the differences in the command vs. programmer. I did this and it works great. But I now have 2 different rosters. I was trying to "ln -s ¡° (symbolic link) to a shared folder but it seems not to like that. Any tips one this? I need to share the roster but keep the preferences distinct. I also thought making a symlink to a shared drive might work too as the rosters are a lot of work. Which brings me to the third question and are there repos of rosters and is not why? I am having to setup each of my devices and locomotives and I keep thinking¡am I the first person to setup a Marklin XXXXX? Just in case: I am a EE/CE so kind of know how electronics work :) but looking for some tricks and tips and look I did RTFM, but missed this info, so if it is somewhere in the documentation point me please. Thanks, Nathan |
Locked
How to install JMRI using OPENJDK
Greetings, I have installed JMRI 4.14.4 on my main computer running OpenJDK 11.0.1 and all is running fine. I have been using this computer for JMRI for several years.? I'm building a new computer and again installed OpenJDK 11.0.1 but the JMRI Installer did not find Java. The OpenJDK does not come with an installer, yet, but rather just a zip file. I unzipped the file and put the java\bin in the path, but the JMRI Installer does not find it. How can tell the JMRI installer where Java is located? I could install with an old java, like 8, and then copy all JMRI files, and skip the installer, but this would not be my first choice.
Thank you Peter in North Carolina.? ? ? ? . ? ? ? |
Locked
Re: UK 3 aspect signal with feather using NCE PowerCab and TrainTech signal
Hi Steve
I haven't come across the video so will check it out. It's most likely that it is the Signal Mast Logic table that I haven't understood regarding feathers Thanks Torben |
Locked
Re: UK 3 aspect signal with feather using NCE PowerCab and TrainTech signal
Hi Torben,
If any of the conditional sensors to the logix are unknown, then it won't be able to calculate so worth checking the appearance in the Signal Mast Logic table, then in sensor table for any sensors which the feather uses as input conditional. For the flashing on / off whenever the mast is set to red, again would be worth having a look at the conditional logic, especially which conditions trigger the change. Although the method for creating a feather aspect has changed, the principles behind the conditional logic triggers are shown well in? Nigel Cliffe's infamous JMRI signalling videos, note especially the use of logix: Hope this helps, Steve. |
Locked
Re: Injecting a delay between turnout operations
David,
Thank you very much.? What you suggest is achievable, but not using SP1a as it is used in many places and may be set in many instances (it is a part of a station platform - so a lot of traffic) however an new sensor can of course be used as the call to another Logix.? Obviously, people now rely on these things working the way they do, so changes are next to impossible.? My view (for what it is worth) is that the sequence should be maintained AND that "calling a subroutine" like a Route should should await completion - that would be logical.? I have already discovered that using a Route doesn't achieve what I want, because the process continues and whilst the turnouts are being set in the Route with delays, the signal is set in the Logix.? Illogical!? Unfortunately Routes do not know about signal masts - and my system cannot use just Heads. Thank you very much for taking the time to look at my problem and explain things.? Most helpful - if not the answer I wanted! Best wishes, Iain |
Locked
Re: Mobile Control II and Side bottons
Matt:
There is a difference in the two... Kernel on the early MCII is the same as you show. However the second is different with a #154 not #105. Build also has a difference 20160517 not 20150526. Also top on the second throttle the top left is the horn and the right bell. Horn is press to hold a then release not one shot. There is a big difference here! What versions do you have with for Trainfest? Jim Albanowski |
Locked
Re: Injecting a delay between turnout operations
Iain,
toggle quoted message
Show quoted text
After further review, it appears that things are working exactly as expected. As I mentioned before, each Action is performed in sequence with delayed Actions queued. From a Logix processing point of view, Actions ARE NOT dependent on each other, they just occur as fast as possible. I checked your browse posting and it confirms my suspicion. The issue is that signal heads and signal masts do not have a delayed option. What you need to do is create an additional conditional that responds to the delay. Based on your browse this provides an example: [x] R1 IF Sensor "SP1a" state is "Sensor Active" On Change To True, Set Sensor, "SLa" to Active On Change To True, Set Sensor, "SQL1" to Active On Change To True, Set Signal Mast Aspect, "QL1toP1ag" to Off [signal controlling route MUST be last thing set] The items that are logically dependent on SP1a are moved to a separate conditional. This does not address the full issue since you have a series of delays. This just provides some insight into alternate thinking. Dave Sand On Nov 9, 2018, at 9:57 AM, Iain <iain@...> wrote: |
Locked
Re: panel xml file corrupted
Thanks - code in and working - I'll do some testing over the weekend and let you know how it has gone. It's a steep learning curve for me at the moment soI really appreciate all your help.
|
Locked
Re: Injecting a delay between turnout operations
David,?
Sorry the two early signals are 36 and 38!? Don't think that matters really but it does now tie up with the NCE output! Iain |
Locked
Re: Injecting a delay between turnout operations
David,
Thank you.? Browse as requested - another thing I didn't know about!? Comments in square brackets - this is the same as the NCE Command Monitor output I put in the last message. IX:AUTO:0011C1 ?C1 ???[x] R1 ?IF Sensor "RQL1toP1a" state is "Sensor Active" ?? ????????????THEN ??????????????On Change To True, Set Sensor, "RQL1toP1a" to Inactive ?? ??????????????On Change To True, Set Signal Mast Aspect, "P1aS" to Danger ??[signal on route being crossed Turnout number 38] ??????????????On Change To True, Set Signal Mast Aspect, "P1aSf" to Zero ??[same signal but the feather Turnout number 39] ??????????????On Change To True, Delayed Set Turnout, "Crossover" to Thrown, after 10 seconds. ??[turnout 6] ??????????????On Change To True, Delayed Set Turnout, "QL1" to Thrown, after 20 seconds. ??[turnout 7] ??????????????On Change To True, Delayed Set Sensor, "SP1a" to Active, after 30 seconds. ?? ??????????????On Change To True, Set Sensor, "SLa" to Active ?? ??????????????On Change To True, Set Sensor, "SQL1" to Active ?? ??????????????On Change To True, Set Signal Mast Aspect, "QL1toP1ag" to Off ??[signal controlling route MUST be last thing set] |