Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
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] |
Locked
Re: Injecting a delay between turnout operations
Iain,
toggle quoted message
Show quoted text
The Select menu for a Logix contains a Browse option under the Edit option. This will display the Logix in a separate window. The text in the window can be selected and copied. If you post the Logix in a reply, or upload the panel xml file to ProblemsBeingWorkedOn, I can see if I can re-create the problem. Dave Sand On Nov 9, 2018, at 9:57 AM, Iain <iain@...> wrote: |
Locked
Re: Adding new "info" field to the Cars and Loco tab in Oospore
Well, as we're "spot the 'givens and druthers' of the ideas" ....
Car inventory can have a picture on it like the "media loco roster" for Decoder-pro ? Adding columns can be great so one can add "value" "notes on repairs" and print. |
Locked
Re: UK 3 aspect signal with feather using NCE PowerCab and TrainTech signal
Thanks Ken
Sticking to the numbering of my points 2. I've tried Start of Day to the relevant board, with both 'No Action' or 'Saved Position' - with no success - still the red X on switch on 3. Re the Logix - I don't think that works, for the same reason as my original point - the lights cycle through before finishing on red or green.? BUT I've just tried using the following Block sensor in the Logix (after all that's why the signal is red in the first place) and that works fine.? It doesn't effect either of the other points, but at least it's a solution for that one!! Are there any other suggestions I wonder Thanks Torben |
Locked
Re: Injecting a delay between turnout operations
Dave,
Thank ycallinou very much for persevering with me.? Where I am at is as follows - I cannot find how to print out a Logix as you have so you will have to take my words for this.? The times are exaggerated to be completely visible.? The actions are as follows: set?trigger sensor inactive set signal 38 RED on route being crossed (should be red this is just safety) set crossover (turnout 6) to thrown after 10 secs set turnout 7 thrown to thrown after 20 secs set 1 sensor illuminating block after 30 secs set 2 more sensors illuminating blocks on route set signal 42 to clear (signal controlling route) 15:35:38.860: Accessory 36 Normal direction (ON) ..... this is the first signal 15:35:38.870: command completed successfully 15:35:38.870: Accessory 42 Normal direction (ON) .... this is the final and route clear signal way out of sequence 15:35:38.901: command completed successfully 15:35:48.887: Accessory 6 Reverse direction (OFF) .... 10 secs delay 15:35:48.887: command completed successfully 15:35:58.902: Accessory 7 Reverse direction (OFF) .... further 10 secs 15:35:58.902: command completed successfully ? |
Locked
Re: panel xml file corrupted
Jim,
toggle quoted message
Show quoted text
Based on your use of the sensor Property, I concluded that you were avoiding setting up a structure to keep track of the application specific listeners. There is an alternate form for adding a listener: ?? addPropertyChangeListener(java.beans.PropertyChangeListener l, java.lang.String name,?java.lang.String listenerRef) The ¡°name¡± and ¡°listenerRef¡± items provide additional content that can be used to identify the listener. If you use something like the following, then you can identify listeners to be deleted. ? ? ? ?se.addPropertyChangeListener(newListener, SENSOR_NAME,?¡°TCPDeviceMgr") For the ¡°name¡± I would use the system name. ?The listenerRef needs to be some unique string. ?Here I used the main class name since it is not likely anything else in JMRI is using that name. ?If necessary, it can be modified to make it unique. To delete old listeners, use the following code fragment: ? ? ? ? for oldListener in se.getPropertyChangeListenersByReference(SENSOR_NAME): ? ? ? ? ? ? if se.getListenerRef(oldListener) ==?¡°TCPDeviceMgr": ? ? ? ? ? ? ? ? se.removePropertyChangeListener(oldListener) The first line returns the listeners that used the system name. ?The second line checks to see if the custom string is present. You will need to make the changes in?SET_LISTENERS for both sensors and signal heads. ?Remove the ¡°getProperty" and "setProperty lines¡±. NOTE: ?If you copy the above code, fix the smart? quotes. Dave Sand On Nov 9, 2018, at 12:02 AM, James Anderson <james_anderson_999@...> wrote: |
Locked
Re: Dispatcher - SML - auto-allocation problem
Thanks Steve,
is there any particular program I can use on Windows to edit the file? I seem to remember notepad gives a very weird format. I will take out all the stop sensors from the sections and see how the layout reacts. My trains are varying between block length and half block length of the main running lines, excluding smaller turnout blocks etc obviously. usually loco + 4-5 coaches. all wheel are resistance wheels, track is cleaned regularly. i don¡¯t think the sensors are going active/inactive/active, however I do have one block that goes inactive even though the BDL168 sensor is still active (I suspect one of my Logix has a mis-informed conditional, even my turnout controlled turntable moves occasionally). This block is no-where near the problem area, though. I feel it¡¯s unrelated because I don¡¯t see sensors change state when the overlap occurs, I¡¯ve repeated it every time I¡¯ve run dispatcher watching sensors, blocks etc to see any oddities and I¡¯ve been dumbfounded trying to find evidence of why, which is what I¡¯m sure you¡¯re experiencing too. I will also try a ¡°disconnected¡± version of my panel file. Loconet simulator and panel sensors to emulate blocks being occupied, and attempt to cause it manually. Failing that, I¡¯ll edit the default file, however I do that, and debug it and do a video as well just to prove I¡¯m not crazy although we are all a little crazy, let¡¯s be honest. thanks! Sorry this has been such a pain. -- Thanks Mitch |
Locked
Re: Injecting a delay between turnout operations
Iain,
toggle quoted message
Show quoted text
Sounds like you have something else happening. Here is a simple Logix with the delay settings: ? IX:AUTO:0001C1 ?Delay Turnout Test ?? ? ? [x] ?R1 ?IF ?Sensor "Reset" state is "Sensor Active" ?? ? ? ? ? ? ? ?THEN ?? ? ? ? ? ? ? ? ?On Change To True, Set Turnout, "LT101" to Closed ?? ? ? ? ? ? ? ? ?On Change To True, Delayed Set Turnout, "LT102" to Closed, after 5 seconds. ?? ? ? ? ? ? ? ? ?On Change To True, Delayed Set Turnout, "LT103" to Closed, after 10 seconds. ?? Here is the result (LocoNet Monitor): 08:15:06.233: [B0 64 30 1B] ?Requesting Switch at LT101 to Closed (Output On). 08:15:06.332: [B0 64 20 0B] ?Requesting Switch at LT101 to Closed (Output Off). 08:15:11.231: [B0 65 30 1A] ?Requesting Switch at LT102 to Closed (Output On). 08:15:11.331: [B0 65 20 0A] ?Requesting Switch at LT102 to Closed (Output Off). 08:15:16.233: [B0 66 30 19] ?Requesting Switch at LT103 to Closed (Output On). 08:15:16.336: [B0 66 20 09] ?Requesting Switch at LT103 to Closed (Output Off). Dave Sand On Nov 9, 2018, at 3:32 AM, Iain <iain@...> wrote: |