Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Hi!
I would like to be able to clear an emergency stop by a dedicated button on the layout.? I've seen there is a way to connect Raspberry Pi IO ports as JMRI Sensors and there is a description on this page how to add a new sensor . But I haven't understood how I set up a sensor so something happens when it is triggered. And I've especially not found how to trigger a "restore power".. Is there any examples or similar of the code needed to restore power based on Sensor events? Thanks for your support Olof System: JMRI running on a Raspberry Pi3 connected to the layout with a Pi-SPROG. |
Locked
Re: question
Jan,
You spotted the same thing I noticed about which fields can double click. I'm waiting to hear from effected people to see if that's the issue they are having. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com www.syracusemodelrr.org |
Locked
Re: question
Rance,
Changing versions almost never helps and frequently can make matters worse. Stick with 4.14. I may have noticed something about which field you double click matters. Some of the fields can be edited from the roster view. Those fields don't support double click. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com www.syracusemodelrr.org |
Locked
Re: question
JMRI 14.4. Mac OS 10.14.5 Mojave. I find that you cannot open a roster entry by double-clicking just anywhere along the entry's row. With the row selected by single-click in any column, the entry can only be opened by double clicking in DCC Address, Icon, Decoder Model or Date Modified columns. Double-clicking on any other column opens the displayed text for editing. If you start without selecting an entry with a single click I find I can open an entry by double-clicking any column but you have to be very fast and some columns are more sensitive than others to the double-click speed. It seems like the ckick/double-click behaviour varies between columns.
Jan |
Locked
Re: Missing CBUS events on Raspberry Pi system
Andy,
A class 10 device is usually pretty good. Kingston is a good label for them. From you next comment, are you getting much showing in the Help->System Console? The amount of stuff being logged should not be an issue, unless there is something wrong and then we'd need to know what is going in the log. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com www.syracusemodelrr.org |
Locked
Re: question
There are three ways (I know of) to open a roster entry. So for those having
a problem with opening, try each of these and report which worked and which didn't. 1. Click on an entry in the roster. The click the radio button for 'Programming Track, Programming on the Main, Edit Only' for the mode you want. Then click the big 'Programming' button in the lower right of the pane. 2. Right click on an entry in the roster. In the pop-up pick the 'Programmer Type' for the mode you want. Then in the pop-up click 'Program'. 3. Double click on an entry in the roster, but only in the fields: DCC Address, Icon, Decoder Model, or Date Modified. There had been a change to make those other fields editable and that disabled the double click on those other fields. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com www.syracusemodelrr.org |
Locked
Re: question
RANCE THOMPSON
¿ªÔÆÌåÓý
Ken
I could not find System Console or Debug. Windows showed it is open. I got frustrated and deleted ver.4.14+Rd060eOb then installed ver 3.1. I was still not able to get either engine to open. This is a HP desktop running Win 7 Professional and connected to the
track with a Sprog.ver 1.8.
I have JMRI running on my Win 10 laptop, but wanted to use the other one also.
Rance
From: [email protected] <[email protected]> on behalf of RANCE THOMPSON <thompsonrance@...>
Sent: Friday, May 31, 2019 1:56 PM To: [email protected] Subject: Re: [jmriusers] question ?
It shows up, I can highlight it, but it won't open after the original entry whether I try program or edit. I will try your additional helps shortly as they are on my Win 7 computer.
Rance
From: [email protected] <[email protected]> on behalf of Ken Cameron <kcameron@...>
Sent: Friday, May 31, 2019 1:28 PM To: [email protected] Subject: Re: [jmriusers] question ?
Rance,
Are you saying you see the loco listed in the roster, but it won't open. Or is it not showing up in the roster list? Things to check. First Help->System Console, this will show any internal errors happening when you try saving the entry. Second, Debug->Rebuild Roster, this will rebuild the index of the locos in the roster directory. Third, Help->File Locations, do the paths for everything, like the roster make sense. Fourth, after you asked it to open the loco entry, check the tab 'Windows', does that show an entry for the loco? If that does, that says it is open, but somewhere off your viewing screen. Depending on which type of computer, there different magic keystrokes to get it back to where you could see it. See if any of these help you out. -Ken Cameron, Member JMRI Dev Team |
Locked
Re: question
I have also noticed this several versions back, I figured that it is a quirk of
toggle quoted message
Show quoted text
either JMRI or JAVA, I can live with it now that I know about it. John ---------- Original Message ---------- |
Locked
Re: preventing derailments on points.
Roger, you are correct.? In our club, one of te main problems is that some take no care when running their trains.? They expect that all they have to do is turn the throttle up or down and ignore anything and everything else.? This is obviously not what a real engineer would do.? And isn't being realistic what we are after?? You have to watch turnout positions, signals, or other obstacles. If you cannot see down a segment of track, you slow down until you can get a clear view.. I have seen way too much time and effort put into making a layout supposedly bullet-proof when all it take is alertness. Jerry Michels -- Socialism is slavery! |
Locked
New Decoder File / Tab "+ New Loco"
¿ªÔÆÌåÓýHello, I have created a new, extended file based on the file "Lenz_Plus_2010.xml", Saved under a new name, imported with "Import Decoder File" and then executed "Recreate Decoder Index". After restarting "JMRI Decoder Pro" "Lenz" appears twice in the window of "+ New Loco". ? Here is the modified header of the file: ? ? <Decoder> ??? <family name = "KM1" mfg = "Lenz" highVersionID = "255" lowVersionID = "9" comment = "Lenz Gold + decoder, KM1 SUSI-Sound / SUSI-Steam module"> ????? <model model = "KM1 DVI - Lenz +, KM1 Sound / Steam" numOuts = "5" numFns = "31" maxMotorCurrent = "1.0A" formFactor = "HO" maxTotalCurrent = "1.0A"> ??????? <versionCV highVersionID = "91" lowVersionID = "91" /> ??????? <output name = "1" label = "A" maxcurrent = "0.5A" /> ??????? <output name = "2" label = "B" maxcurrent = "0.5A" /> ??????? <output name = "3" label = "C" maxcurrent = "0.5A" /> ??????? <output name = "4" label = "D" maxcurrent = "0.5A" /> ??????? <output name = "5" label = "E" maxcurrent = "0.5A" /> ????? </ Model> ??? </ Family> ? Why ? ? The new, additional branch looks like this: Lenz ? ??KM1 ????? KM1 DVI - Lenz +, KM1 Sound / Steam ? ? If you look at the window, you will notice that there are seemingly several sorting errors in the upper level ... (Example: Electronicsript, Inc). ? In the 2nd level...? "LENZ" is "function decoder" in the middle of the list .... Why ? What is the sorting process? ? If necessary, I can provide the entire file ... ? JMRI 4.15.3 ? Kind regards M.K. |
Hi Paul?
I have uploaded a debug log file into a folder (Hornby Elite XpressNet) in?the files area of the forum.? This was simply running 1 train around the track (the train did hit a few dead spots on the track at once or twice) I followed that with trying to use the identify loco option to detect the decoder in another loco on the programming track.? Regards Lee |
Locked
Re: Missing CBUS events on Raspberry Pi system
I did try it with a known working CAN-USB4, but your comment about the cable is ringing alarm bells with me!
I modified a USB cable for use on the Pi to shorten it. I used this for both CAN-USB4s I tried. Maybe this was not the most sensible thing I did! I will definitely have broken the integrity of the shielding, so I guess this could easily cause problems at the data rates in use - duh! Obviously when I next get access to the layout (or if I can reproduce the problem without it) I'll try a 'virgin' cable! I've no other USB device connected - I was monitoring the JMRI interface via VNC. Thanks for the ideas - you've definitely given me something to work on there! Andy |
Locked
Re: Car placement on yard track
#operationspro
Larry,
If you are just doing maintenance it does not matter as long as you're not doing any switching. you would not be messing around during a session unless there is a problem. As far as FIFO or the other one I messed around with them but I don't use them so I don't sorry. From what I have seen the program keeps track by car number I don't know if anything else was built in. May be Dan might chime in and correct me if I have missed something. TTFN Matt Greenwood Cascade Rwy Grant NE |
Locked
Re: Missing CBUS events on Raspberry Pi system
It is a 32GB Kingston Class 10 SDHC device from eBuyer.
Perhaps I can try a couple of different devices when I get the chance. I presume it's things like logging that goes on during operation. I've not altered the default, so I think it's set to INFO. Do you think it might help if I reduced the logging to WARN or even ERROR? Andy |
Locked
Re: Swapping 2 Long Trains
#operationspro
Larry,
PS if done right the -1 or whatever will not show up on any paperwork except a full car roster. It will show on the computer so that the clerk will know there is 2 different cars. But the clerk is the only one that knows it is a duplicate. Matt Greenwood Cascade Rwy Grant NE |
Locked
Re: Swapping 2 Long Trains
#operationspro
Larry,
Sam is right just use a -1 or -2 behind the car number. That will cause the program to make a space for the car because the dash will give it a different number and from that point on it is it's own object. Now the only time this system will matter is if you end up with both cars on the same track and the program wants one, for me it becomes dealers choice I usually go after the car that is in the farthest. It works good.? The dash system works in other areas of the program as well try them out. The worst that will happen is the program will tell you I don't like that and give you a raspberry. Matt Greenwood Cascade Rwy Grant NE |
Locked
Re: question
Video7105
toggle quoted message
Show quoted text
On May 31, 2019, at 11:09, Tom Wilson <thomasthetrainengine@...> wrote:
|
Locked
Re: question
If it is an ESU decoder, it can take a while to re open and may seem like it is not opening and then if you get ahead of the program and start punching other keys, you may abort its opening or lock up.? Other brands have less info to load so open up quicker.?? If it is not Esu, then ignore this post. Tom Wilson Colorado Springs, CO On Fri, May 31, 2019, 7:06 AM RANCE THOMPSON <thompsonrance@...> wrote:
|
Locked
Re: question
Video7105
¿ªÔÆÌåÓýI recently also came across this issue. Where you save the roster entry and try going back to open it by double clicking and it won¡¯t open.?If I closed DP, restart DP, it works fine. This has happened in the past week. No updates, nothing change. Using version 4.14 Dave 6 Plus On May 31, 2019, at 10:30, Roger Merritt <merritt_roger@...> wrote:
|
Locked
Re: question
Rance,
? ? ?Take a photo of what you are trying to do and post in the 'Photos" section.? Maybe we can see something that way. Roger |