¿ªÔÆÌåÓý

Date

Locked Re: Trying to get on top of jython

 

Hi Dave, Bob,

Dave, that version must earn 10 out of 10 for conciseness! It also challenges me, as to how the tester class finds the setSignalHeld method in a different file without any apparent reference except that it happens to be in the same directory. Yikes, that hurts my poor traditional eyes!

So it looks like I have studying to do before I find the answer to the question 'why is the masts variable not reachable in my code' - which continues to irritate the heck out of me.

I'll see if I can get your solution reshaped to suit my sensibilities - meaning to include some declaration mechanism without which the call must fail (sorry but I am like that...!) - without breaking anything else. But most of all I need to get a grip on understanding how all that is *supposed*? to work in python. Just working on expectation is not going to cut it, as I have already proved to everyone's satisfaction!

Thanks both for your time
Wouter


On Thu, 3 Jan 2019 at 18:42, Dave Sand <ds@...> wrote:
Wouter,

I have uploaded 2 files to your folder.

It appears to me that the issue deals with scope and how import actually works.? I don¡¯t think it is a JMRI issue.? Most likely something with Jython or maybe how you are structuring your program.

miniTest DS.py uses the AbstractAutomaton class to handle the threading.? It does not import util and the method calls to util where changed.

The existing def in util DS.py was changed to act as static method.

To run miniTest, util DS is run first which sets up the util environment with the util methods becoming global, then miniTest DS is run.

This approach works but I am sure there are others.

Dave Sand



> On Jan 3, 2019, at 10:14 AM, whmvd <vandoornw@...> wrote:
>
> Indeed, Dave, I have.
>
> I've now created a WoutersPythonbug directory in ProblemsBeingWorkedOn which contains just three tiny scripts, together showing that there is, as far as I can make out, really a bug here.
>
> 1) jmriShortCuts.py
> Simply prints all the objects that should be predefined according to the following documentation link:
>
> (it turns out that 'programmers' (or indeed 'programmer') is not present, which is probably a very minor documentation buglet, but masts, the one I focus on, is. So my environment does set it up correctly for me.
>
> 2) miniTest.py
> A main test program that simply runs, in its own thread, my object under test.
>
> 3) util.py
> Totally useless as is, but that's because it has been pruned of everything that could go while still showing the bug. As uploaded, it works, but only because of the assignment statement that creates a valid 'masts' variable. Comment that out, and things go horribly wrong, which they shouldn't if masts were properly preset. Also, edit a signalmast name into this file that is a valid one in your panelfile, instead of EastNorthOuter. I've also included my panelfile, should that be handier to use instead.
>
> Put the three scripts into the resources directory and run:
> 1) jmriShortCuts.py
> proving that the environment sets up the masts variable
>? 2) miniTest.py
> proving that that test shows a validly retrieved signalMast
>
> Comment out the line that should not be in miniTest.py (masts=...)
> Restart JMRI to get rid of possibly remaining classes in memory (that bit me at some point)
> 3) miniTest.py
> proving that now it does not work anymore, with all the symptoms listed in the file itself.
>
> I'm using JMRI 4.14 under Linux Mint 18.3
>
> Anything more I can do to help explain why I think this is a bug?
>
> Thanks,
> Wouter
>
> On Thu, 3 Jan 2019 at 15:02, Dave Sand <ds@...> wrote:
> Wouter,
>
> Do you have "import java" and "import jmri" at the beginning of each python file?
>
> Dave Sand
>
>
>
> > On Jan 3, 2019, at 5:37 AM, whmvd <vandoornw@...> wrote:
> >
> > Hello again, Bob,
> >
> > Thanks for bearing with me on this.
> >
> > It didn't go quite as planned when I went looking for the global variables 'turnouts', 'masts' and 'sensors'. Weirdly, turnouts and sensors are there, but masts is not. That is now the only little niggle left. Considering where I was only yesterday, that's a nnumber of huge leaps forward. The error reported is "global name 'masts' is not defined". I can bypass the problem easily by including the following line in my code:
> >
> > masts = jmri.InstanceManager.getDefault(jmri.SignalMastManager)
> >
> > but that's really cheating, shouldn't be necessary and keeps the back of my mind worried at what else could go wrong when I continue. Any advice on this?masts = jmri.InstanceManager.getDefault(jmri.SignalMastManager)
> >
> > Wouter
> >
> > On Wed, 2 Jan 2019 at 20:31, Wouter van Doorn <vandoornw@...> wrote:
> > Hi Bob,
> >
> > Re 1) Not only did I think that was the way to do it, I was also (and am still) just building my 'library of tricks' to use in the proper, big script later on. This is one of the stages of learning! I have now removed the join, and made the spawned threads daemons, and that now works a *lot* better! Not only do I now get error messages when I need them (hurray!), the user interface no longer locks up, as you predicted (double hurray!).
> >
> > Re 2) The line you mention is there. I'll see next what happens when I do not create that 'sensors' variable myself. IF it still goes wrong, at least I have an error message now to tell me where and how I goofed.
> >
> > It's a lot better already, so thank you very much for the help so far. I'll let you know the result of the test once I get to it, which won't be today, but I hope to find time tomorrow.
> >
> > Thanks again,
> > Wouter
> >
> > On Wed, 2 Jan 2019 at 20:03, Bob Jacobsen <rgj1927@...> wrote:
> > 1) Why make the main thread wait with a join?? What does that do for you?
> >
> > 2) I¡¯m not a Bash expert, but that looks like it should work.? Somehow, Jython isn¡¯t initializing properly for you.? Are you getting a line like this in the log?
> >
> > 2019-01-02 11:58:29,512 script.JmriScriptEngineManager? ? ? ? INFO? - python 2.7 is provided by jython 2.7.0 [AWT-EventQueue-0]
> >
> > When I force an error, I get output that starts like:
> >
> > 2019-01-02 11:58:41,099 jython.InputWindow? ? ? ? ? ? ? ? ? ? ERROR - Error executing script [AWT-EventQueue-0]
> > javax.script.ScriptException: NameError: name 'xo' is not defined in <script> at line number 1
> >? ? ? ? ?at org.python.jsr223.PyScriptEngine.scriptException(PyScriptEngine.java:202)
> >? ? ? ? ?at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:42)
> >? ? ? ? ?at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:31)
> >? ? ? ? ?at javax.script.AbstractScriptEngine.eval(AbstractScriptEngine.java:264)
> >
> > Bob
> >
> > > On Jan 2, 2019, at 8:24 AM, whmvd <vandoornw@...> wrote:
> > >
> > > Hi Bob ,
> > >
> > > Thanks for the quick reaction.
> > > Re 1: I actually do that in a separate thread - but then the first thread waits while 'join'ing the subthread, so that remains the same problem, really. Do I need to make the subthread a daemon one and let the main thread just go? That would seem to make sense?
> > >
> > > Re 2: I use 'Run script...' from the Tables menu. If it helps, this is the script I use to start jmri (which should be good enough):
> > > =============================
> > > #!/bin/bash
> > >
> > > cd $HOME/JMRI
> > > nohup ./PanelPro >>$HOME/Desktop/.PanelPro.log 2>&1 &
> > > =============================
> > > Everything I log neatly shows up in the file on the desktop. The install is squeaky-clean; everything I do is in the user files area, nothing in the installation directory. VERY interesting that 'sensors' and 'turnouts' should have been predefined...
> > >
> > > Wouter
> > >
> > >
> > >
> > > On Wed, 2 Jan 2019 at 15:52, Bob Jacobsen <rgj1927@...> wrote:
> > > 1) There are ways to do this. They start off looking complicated, but you have to remember that asking the program to sleep _actually_ _works_: If you do that in the main program, the main program sleeps so that you can¡¯t click, etc.? Instead, you have to hive your turnout activity into a little separate item (called a ¡°thread¡±) which can run and sleep independently.
> > >
> > >
> > >
> > > 2) How are you running your scripts?? When I run something (i.e. while debugging) from a Script Entry window, the syntax error and runtime error messages show up nicely on JMRI System console window. Perhaps you¡¯re running them a different way or there¡¯s something else wrong?
> > >
> > > Another clue that something is wrong is not seeing ¡°turnouts¡± and ¡°sensors¡± predefined.? They _definitely_ should be.
> > >
> > > Bob
> > >
> > > > On Jan 2, 2019, at 7:42 AM, whmvd <vandoornw@...> wrote:
> > > >
> > > > Hello scripting-gurus,
> > > >
> > > > For quite a while now, I've been fighting python/jython rather than using it, and frustration is building up. I want to like it, I want to work with it - but it's not making it easy. For now, I'd like to focus on two things that make life very hard:
> > > >
> > > > 1) A small test script that looks up a turnout (successfully) checks its status (thrown or closed), logs it and sleeps for 0.2 seconds before checking again until it is what I want it to be does not allow me to operate any of my four panels (3x Panel Editor, 1x Layout Editor). The only things that can be operated are the resize buttons on the window and the positioning. So I can't throw the turnout to let the test program complete (the log line appears every 0.2 seconds, so it sort of seems to work). I would have thought that the time.sleep(200/1000.0) would allow me to do things instead of the whole interface being locked up? (BTW: specifically not looking for different ways to do this; I know I should add a listener and make that react, and I will end up doing that anyway - I am trying to understand why the simple thing I'd like to do cannot work)
> > > >
> > > > 2) When I make one of my frequent coding errors, the result is the same as described above - interface locked up except for the sizing/positioning of windows). I get no error logged. Nothing on standard output or standard error,? and nothing in the console. Zilch. This leaves me having to guess where I could have gone wrong, instead of being able to look at a stack dump. For instance: I thought in my optimism that the variables 'turnouts' and 'sensors' where predefined when importing jmri, so I was happily using them. That caused the lock-up with no message at all. Finding the cause of that took me several frustrating days. I hope to turn this back into a hobby!
> > > >
> > > > Any help will be greatly appreciated.
> > > >
> > > > Wouter
> > > >
> > > > PS: using JMRI 4.14 on Linux Mint 18.3.
> > > >
> > >
> > > --
> > > Bob Jacobsen
> > > rgj1927@...
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> > --
> > Bob Jacobsen
> > rgj1927@...
> >
> >
> >
> >
> >
> >
> >
>
>
>
>
>





Locked FW: Re: [jmriusers] Blocks not working properly

 

¿ªÔÆÌåÓý

?

?

Sent from for Windows 10

?

From: Alberto Allen
Sent: Saturday, January 5, 2019 11:04 AM
To: [email protected]
Subject: Re: Re: [jmriusers] Blocks not working properly

?

Hey Marc how are you? Well I hope, I had to abandoned my project for a while to deal with other matters hope the new year is treating you and your family well.

?

Hello folks, I have a problem that I cannot seem to solve, perhaps one of you knowledgeable gentlemen can help, I have a N scale layout and I utilize BDL 168 for occupancy detection, I only use 12 detection blocks, when train is in 1 block that block does not light up occupied, instead another unoccupied block lights up, this only happens on the main oval tracks not the side tracks, I have checked all of my connections and found to be correct, I even went as for as completely deleting the panel pro and any thing associated with it in order to completely delete any prior info from previous panels and built a brand you layout, still no juice, any ideas as to the possible problem would be appreciated.

?

Thank you.

?

Sent from for Windows 10

?

?


Locked Re: Blocks not working properly

 

¿ªÔÆÌåÓý

Hello folks, I have a problem that I cannot seem to solve, perhaps one of you knowledgeable gentlemen can help, I have a N scale layout and I utilize BDL 168 for occupancy detection, I only use 12 detection blocks, when train is in 1 block that block does not light up occupied, instead another unoccupied block lights up, this only happens on the main oval tracks not the side tracks, I have checked all of my connections and found to be correct, I even went as for as completely deleting the panel pro and any thing associated with it in order to completely delete any prior info from previous panels and built a brand you layout, still no juice, any ideas as to the possible problem would be appreciated.

?

Thank you.

?

Sent from for Windows 10

?


Locked Re: BUG ? PanelPro: endlessly switching back and forth turnouts

 

Peter,

It would also be useful to know if any logix is/are active.

Wouter


On Sat, 5 Jan 2019 at 13:29, Peter Loth <peterloth@...> wrote:
Versions used:
- JAVA: 8 update 191,
- JMRI: 4.14
- Windows 10: Build 1809

Hardware used:
- Command station: Digitrax DCS240.
- Turnout decoders: Digitrax DS64 (Peco selenoid)
- Turnout decoder: Fleischmann 6915 (Fleischman 6154C)

JMRI Settings:
- Factory: Digitrax
- System connection: LocoNet PR3
- Serial port: COM3
- Command station type: DCS240 (Advanced Command Station)

Operating the turnouts with the DT500 and DT500D works perfectly.
When I switch a turnout via JMRI PanelPro, the turnout is endlessly back and forth. The same thing happens with the swing bridge of my Fleischmann turntable.

Peter Loth
the Netherlands


Locked Re: INFERNALS

 

¿ªÔÆÌåÓý

Don,

As a support person I completely agree that the 'Internal' setting bug was an 'infernal' bother.

As for your 'I' question the answer is pretty simple. Detectors, turnouts, etc. always require a 'System' name. The system name tells JMRI what connection is used to read and send any messages from/to that device. This shows up as a prefix like 'L' for LocoNet, 'N' for NCE, M for LCC etc. These examples are for actual hardware connections. However it is also possible to create an entry in JMRI that has no actual hardware connected. That JMRI only entry will have an 'I' for 'Internal' attached to it.

If you want to give random names to hardware be sure to use the 'User' name, not the 'System' name for your own definition. You are not allowed to simply make up 'System' names because they are the pointers to the actual hardware on your layout. 'PD03' sounds like it is your user name for some detector, so some 'helpful' programmer added an 'I' in front of it rather than warning you that you can't do that because there is no such thing as a 'PD' system device.

Dick :)

On 1/5/2019 9:55 AM, Don Weigt wrote:

Marc,

Sorry to "flog a dead horse", as the old saying here goes. Hope that's clear to everyone... I'm sorry if I took this all to seriously, but please understand what it's like for some of us just getting started with JMRI.

I wondered if INFERNALS was a joke, or real. I had seen other posts using INTERNALS, so thought there might be both in JMRI speak.

We're already dealing with JYTHON, which I understand is real, as is PYTHON in other places. So, when the gurus toss out terms, my first inclination is to think they are real. What's good fun for those who understand better, is just more uncertainty to those of us trying to wrap out heads around this big new thing.

I'm still wondering why Layout Editor is adding capital "i"s to the detector labels I have on my panel. For example, I enter PD03, it appears in the list as IPD03. Probably stands for INTERNAL PD03, but I've still not learned why some items get those added to their designators, while others, such as turnouts, don't. And I still don't grasp JMRI's distinction between internal and not internal. Might some be virtual in panels and others related to physical items on the layout? Not sure that's right, since detectors are on layouts.

JMRI is complicated enough without making it more confusing, however innocent the intent.

Stepping off the soapbox! (rant ends)

Don Weigt



Locked Re: Decoder Pro problems

 

¿ªÔÆÌåÓý

Likewise, "Read all from the decoder" instead of "Read changes on all sheets¡±?

Because that¡¯s not what it does. It only reads what was _changed_.

I always find this confusing - what has changed, the data on the sheet or has something changed in the decoder that I need to re-read it? (same with the similar message for a sheet).

?

I say again, when you learn another language, you don¡¯t complain that the foreign word means something different in English so you don¡¯t get it. You need to learn what it means in the language you are learning.

?

In JMRI, ¡°Read¡± means get data from the decoder and put it into the DecoderPro file. ¡°Write¡± means take data from the DecoderPro file and put it into the decoder. Once you learn that, everything makes sense.

?

I find the JMRI lingo quite logical and easy to understand. I wouldn¡¯t change it.

?

Mark Granville


Locked Re: Sensors not working

 

I've used Arduinos in conjunction with JMRI, but some more information would be useful to help diagnose the problem. ?E.g. what software are you running on the Arduino and how is it connected to JMRI? ?You've just upgraded to 4.14 - what from and was it working satisfactorily on that version? ?If sensors are not showing as Active are they showing as Inactive or Unknown? ?Is there a pattern to which sensors appear to work e.g. is it a range of system names that are effected? ?I think that there are differing versions of IRDOTs with direct (open collector) outputs or relays. ?Are yours electrically isolated from the Arduino by relays or are they directly connected?

Regards

Paul


Locked Re: XpressNet Session Log errors

 

Link worked for me.

--
Peter Ulvestad

JMRI Users Group Moderator - ( )
Tam Valley Group Moderator - ( )
Sprog-DCC Group Moderator - ( )
Edmonton Model Railroad Association -


Locked Re: Decoder Pro problems

 

Hi
Does anyone read the tooltips?
Steve G.


Locked Another new user with Mac to MRC Prodigy issues

David S
 

Hello everyone! ?This is my first post.

I've got a Mac running the latest OS with?the latest JMRI & Java software installed. ?I have ?a MRC Prodigy Advanced2 system and the MRC computer interface cable (#1516).

I've setup a connection in DecoderPro for the MRC using a serial connection and cab# 7.

How do I know if I have a connection? ?Obviously, I am at the bottom of the learning tree for JMRI so please bear with me. ? I use WiThrottle on my iPhone and have a full roster along with function labels set up via the phone. ? As I understand, the labels are all stored on the MRC 1530 WiFI device.

Once connected, can I access this roster or do I need to set it up again in DecoderPro/PanelPro?

More questions to follow once I have a connection, obviously.

Thanks,
Dave S


Locked Re: XpressNet Session Log errors

 

¿ªÔÆÌåÓý

Paul,

As you were. Slight hitch in link. Clicked it and noted that (.) missing ...jmri.tagadab....in URL address bar in browser.

Sorted. Will look at it a little later and let you know.

Cheers

Tom

On 05/01/2019 14:21, Paul Bender wrote:

Tom,

I think I have this fixed, at least I no longer see the error with an Atlas Commander connected to JMRI.

When you get a chance, please download a daily build from


To confirm you no longer see it either.

Thanks!

Paul


On Dec 28, 2018, at 3:43 AM, Tom Busza via Groups.Io <tombee50@...> wrote:

Many thanks Paul, I look forward to the fix.

Meantime Happy New Year to one and all.

Tom

On 28/12/2018 07:08, Paul Bender wrote:

On Dec 25, 2018, at 3:25 PM, Tom Busza via Groups.Io <tombee50@...> wrote:

I am just intrigued why this is happening.

The annoying part is that when I open JMRI, I have to wait for JMRI to check things, give me an error message:

System connection XpressNet provides a null manager for interface CommandStation Unable to to run startup due to earlier failures.?? Please check logs for more details. The Preferences window will open so this can be fixed.

This happens because you are using a Compact which doesn¡¯t provide support for sending raw packets to the rails.

BUT you shouldn¡¯t get this Error message because the command station option should be disabled when the compact is connected.

I¡¯ll pull out an Atlas Commander (rebadged Compact ) so I can replicate the issue and fix it. ?This might take me a few days however.

Paul


Virus-free.


Locked Re: INFERNALS

 

Marc,

Sorry to "flog a dead horse", as the old saying here goes. Hope that's clear to everyone... I'm sorry if I took this all to seriously, but please understand what it's like for some of us just getting started with JMRI.

I wondered if INFERNALS was a joke, or real. I had seen other posts using INTERNALS, so thought there might be both in JMRI speak.

We're already dealing with JYTHON, which I understand is real, as is PYTHON in other places. So, when the gurus toss out terms, my first inclination is to think they are real. What's good fun for those who understand better, is just more uncertainty to those of us trying to wrap out heads around this big new thing.

I'm still wondering why Layout Editor is adding capital "i"s to the detector labels I have on my panel. For example, I enter PD03, it appears in the list as IPD03. Probably stands for INTERNAL PD03, but I've still not learned why some items get those added to their designators, while others, such as turnouts, don't. And I still don't grasp JMRI's distinction between internal and not internal. Might some be virtual in panels and others related to physical items on the layout? Not sure that's right, since detectors are on layouts.

JMRI is complicated enough without making it more confusing, however innocent the intent.

Stepping off the soapbox! (rant ends)

Don Weigt



Locked Re: XpressNet Session Log errors

 

¿ªÔÆÌåÓý

Paul,

Thanks, but cannot open link. I just get "Server not found" message.

Thanks

Tom

On 05/01/2019 14:21, Paul Bender wrote:

Tom,

I think I have this fixed, at least I no longer see the error with an Atlas Commander connected to JMRI.

When you get a chance, please download a daily build from


To confirm you no longer see it either.

Thanks!

Paul


On Dec 28, 2018, at 3:43 AM, Tom Busza via Groups.Io <tombee50@...> wrote:

Many thanks Paul, I look forward to the fix.

Meantime Happy New Year to one and all.

Tom

On 28/12/2018 07:08, Paul Bender wrote:

On Dec 25, 2018, at 3:25 PM, Tom Busza via Groups.Io <tombee50@...> wrote:

I am just intrigued why this is happening.

The annoying part is that when I open JMRI, I have to wait for JMRI to check things, give me an error message:

System connection XpressNet provides a null manager for interface CommandStation Unable to to run startup due to earlier failures.?? Please check logs for more details. The Preferences window will open so this can be fixed.

This happens because you are using a Compact which doesn¡¯t provide support for sending raw packets to the rails.

BUT you shouldn¡¯t get this Error message because the command station option should be disabled when the compact is connected.

I¡¯ll pull out an Atlas Commander (rebadged Compact ) so I can replicate the issue and fix it. ?This might take me a few days however.

Paul


Virus-free.


Locked Re: BUG ? PanelPro: endlessly switching back and forth turnouts

 

Peter,

The questions I have are:
1. What is the configuration of the DS-64?
2. Did you wire any sort of 'feedback' for the turnout?
3. What 'mode' is the turnout in the turnout table? Direct, Monitor, etc...

That last one is the most likely suspect. Need to know the other answers to
try figuring this out.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.com
www.syracusemodelrr.org


Locked Re: XpressNet Session Log errors

 

¿ªÔÆÌåÓý

Tom,

I think I have this fixed, at least I no longer see the error with an Atlas Commander connected to JMRI.

When you get a chance, please download a daily build from


To confirm you no longer see it either.

Thanks!

Paul


On Dec 28, 2018, at 3:43 AM, Tom Busza via Groups.Io <tombee50@...> wrote:

Many thanks Paul, I look forward to the fix.

Meantime Happy New Year to one and all.

Tom

On 28/12/2018 07:08, Paul Bender wrote:

On Dec 25, 2018, at 3:25 PM, Tom Busza via Groups.Io <tombee50@...> wrote:

I am just intrigued why this is happening.

The annoying part is that when I open JMRI, I have to wait for JMRI to check things, give me an error message:

System connection XpressNet provides a null manager for interface CommandStation Unable to to run startup due to earlier failures.?? Please check logs for more details. The Preferences window will open so this can be fixed.

This happens because you are using a Compact which doesn¡¯t provide support for sending raw packets to the rails.

BUT you shouldn¡¯t get this Error message because the command station option should be disabled when the compact is connected.

I¡¯ll pull out an Atlas Commander (rebadged Compact ) so I can replicate the issue and fix it. ?This might take me a few days however.

Paul


Virus-free.


Locked Re: Roster Images Upside Down

 

¿ªÔÆÌåÓý

We need to stop blaming cameras/iPhones etc. and look into how to code JMRI so it makes use of the worldwide EXIF Orientation tag standard.

?

Why blame the end user? Maybe EXIF is just an unneeded complication. What do we care about the camera orientation? All we want is a picture where up is up. If we are an artist who wants a sideways picture, we can use photo editing software. Instead of adopting EXIF, the software coders for cameras etc. could have just made the camera always store an image in its right-side-up orientation so all software that imported it would get a properly oriented picture without additional coding in the end user software needed to make use of the EXIF.

?

I¡¯ve noticed this problem with videos taken with a smart phone. If the phone was rotated, the video plays rotated in Windows Media player but plays right-side-up using QuickTime. They automatically rotate the screen display to look correct. Why not store it that way?

?

However, since the cat is out of the bag, I suppose JMRI coders will eventually have to add to the code. Did I say complication that probably shouldn¡¯t have been introduced to begin with? Just another case of data overload?

?

Mark Granville


Locked Re: BUG ? PanelPro: endlessly switching back and forth turnouts

 

¿ªÔÆÌåÓý

Sorry, Peter, I cannot comment on your issue.

But I am replying on the conciseness and organization of your statement of the issue.?

I hope other posters take note.
--
Bruce Petrarca

On Jan 5, 2019, at 6:29 AM, Peter Loth <peterloth@...> wrote:

Versions used:
- JAVA: 8 update 191,
- JMRI: 4.14
- Windows 10: Build 1809

Hardware used:
- Command station: Digitrax DCS240.
- Turnout decoders: Digitrax DS64 (Peco selenoid)
- Turnout decoder: Fleischmann 6915 (Fleischman 6154C)

JMRI Settings:
- Factory: Digitrax
- System connection: LocoNet PR3
- Serial port: COM3
- Command station type: DCS240 (Advanced Command Station)

Operating the turnouts with the DT500 and DT500D works perfectly.
When I switch a turnout via JMRI PanelPro, the turnout is endlessly back and forth. The same thing happens with the swing bridge of my Fleischmann turntable.

Peter Loth
the Netherlands


Locked BUG ? PanelPro: endlessly switching back and forth turnouts

 

Versions used:
- JAVA: 8 update 191,
- JMRI: 4.14
- Windows 10: Build 1809

Hardware used:
- Command station: Digitrax DCS240.
- Turnout decoders: Digitrax DS64 (Peco selenoid)
- Turnout decoder: Fleischmann 6915 (Fleischman 6154C)

JMRI Settings:
- Factory: Digitrax
- System connection: LocoNet PR3
- Serial port: COM3
- Command station type: DCS240 (Advanced Command Station)

Operating the turnouts with the DT500 and DT500D works perfectly.
When I switch a turnout via JMRI PanelPro, the turnout is endlessly back and forth. The same thing happens with the swing bridge of my Fleischmann turntable.

Peter Loth
the Netherlands


Locked Re: Decoder Pro problems

 

Likewise, "Read all from the decoder" instead of "Read changes on all sheets¡±?
Because that¡¯s not what it does. It only reads what was _changed_.
I always find this confusing - what has changed, the data on the sheet or has something changed in the decoder that I need to re-read it? (same with the similar message for a sheet).


Locked Re: Decoder Pro problems

 

So (within the limitations of this text format), we could have (note preamble to each row of buttons):
"For CVs on this pane only: Recover values from decoder/Write changes to decoder/Read all from decoder/Write all to decoder."
"For the entire range of CVs: Recover values from decoder/Write changes to decoder/Read all from decoder/Write all to decoder."
To me these are better messages, they at least reference the decoder, and the direction the data is going, which makes them more intelligible to the non-technical user.

While the messages are slightly longer I believe the readability will increase a lot. Are we really that tight for screen space we can't have slightly larger buttons?

If need be there could have a 'beginners mode' with a pop-up text box that has a verbose explanation with 'proceed' and 'cancel' buttons. Somewhere there could be a tick box marked 'expert mode' to turn off beginners mode pop-ups.