¿ªÔÆÌåÓý

Date

Locked Java not working

Rolf
 

I am getting this message in a MS Windows window:?? Java(TM) Platform SE binary has stopped working.
I use Java 1.6, and upgrading is not an option on my hardware and OS.
Also, ?turnouts on the turnout table don't stick. I add LocoNet turnouts: LT1, LT13, etc. They?switch on the layout,? when clicked on a panel.
However, after closing the turnout table window, and reopening, the turnouts are all changed to Internal: IT1, IT13, etc.

What may be going on?

Thanks,

Rolf


Locked Re: Logix

 

Graham
You need another conditional in the Logix that makes the internal sensor go inactive when either physical sensor goes inactive. I usually have them delayed 5 seconds before going inactive.
Bob Bucklew

----- Original Message -----
From: "Graham Orriss via Groups.Io" <graham.orriss@...>
To: "jmriusers" <[email protected]>
Sent: Friday, July 20, 2018 3:00:20 AM
Subject: Re: [jmriusers] Logix

Thank you to everyone that contributed to my problem.? I have at last a train that can go around a loop with Dispatcher and stop in the station and then continue after a time.? I have successfully used physical sensors, internal sensors and logix to accomplish this.? One question remains.? How can I reset each block to inactive in logix, after they go red on layout, so another continuous journey can happen around the loop again?? Thank you all in the User Group.? I couldn't have got this far without you.?
Best Wishes
Graham Orriss(UK)

On ?Thursday?, ?19? ?July? ?2018? ?18?:?16?:?54, AD <bklyns_baseball_club@...> wrote:

What would you use to trigger the missing layout sensor(internal) to be active.Could you say when previous block is occupied to turn the internal sensor active after a delay guessing when the engine would hit the block?
What other ways are there that are possible.
Tony


On Jul 19, 2018, at 12:56 PM, Dave Sand <ds@...> wrote:


Graham,
It is possible to use Logix and internal sensors to simulate missing layout sensors. ?
The biggest challenge is that you also have to simulate the direction of traffic so that the virtual sensors become active and inactive in the correct sequence. ?Otherwise the block routing breaks down which causes Dispatcher errors.
It is a trade off between cost and dependable operation.

Dave Sand



On Jul 19, 2018, at 11:27 AM, Graham Orriss via Groups.Io <graham.orriss@...> wrote:

Thank you all for your replys. ?Am I best to install more physical sensors, which will cost, ?If I have a physical sensor on a block, turnout, ?track with a?block reference, turnout, track with a block reference, turnout, physical sensor on a block, will all this come up in red in Dispatcher? ?Steve said he set?an internal sensor between two physical sensors.?

Thank you

Graham

On ?Thursday?, ?19? ?July? ?2018? ?17?:?10?:?42, Ken Cameron <kcameron@...> wrote:


Graham,


The best way to look at Logix is you make groups of Conditionals. Each
Conditional has two parts: conditions and actions. The conditions are things
like sensors and turnouts that you test for some logical state like true or
false. You can use AND and OR or even mixed to build these lines to some
logical conclusion. Then the action lines are doing something, like setting
turnouts or sensors, etc... based on the conditionals coming as true or
false.

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


Locked Re: Alternate languages for Engine Driver - Opinions and Volunteers

 

Luis,

It depends on your email client. On macOS Mail, I click on the senders name and I see that you are using gmail.

Dave Sand

On Jul 22, 2018, at 4:52 PM, eldelinux <eldelinux@...> wrote:

Peter.

How I do to view the email address?.

Sorry, I don't know to how do it.

Luis Zamora (eldelinux)


Locked Re: JMRI Throttle

 

I posted some shots of various screens in the photo section Richard W album.

I still am not getting the throttle to work.

Richard Webster


Locked Re: Alternate languages for Engine Driver - Opinions and Volunteers

 

Peter.

How I do to view the email address?.

Sorry, I don't know to how do it.

Luis Zamora (eldelinux)


Locked Re: Engine Driver Problem

 

Steve,

I will have to try again tomorrow.? I did type in "/frame" after selecting "Initial Web Page" from "Web Preferences" but, after restarting Engine Driver, and holding the tablet in landscape mode, the panel just opened in the same, incomplete state.? I did not see any reference to "Available JMRI Frames".

After reading your initial advice, when I opened Web Preferences and selected Initial Web Page, there was nothing entered after the forward slash, so I presume that is how Engine Driver had been working.? I then tried (separately) entering Panel and Frame with no change in performance or options offered.? However, I will try again in the morning as my layout and the relevant router are in my loft and turned off when i am not up there.? Incidentally, is it important whether Panel and Frame are totally in lower case?? It is possible I put a capoital initial letter.

Harold.


Locked Re: Alternate languages for Engine Driver - Opinions and Volunteers

 

Hi Peter.

I realized that mail addresses can not be displayed and I could not send to you directly the email.

My email address is:
<eldelinux@...>
You must remove the <> characters.

Thanks.

Luis Zamora (eldelinux)


Locked Re: Alternate languages for Engine Driver - Opinions and Volunteers

 

Hi Peter.

My email address is:
eldelinux@...
I have changed my personal information, which includes my Yahoo email address.

Thanks.
Luis Zamora (eldelinux)


Locked Re: Engine Driver Problem

 

Harold,?
Please verify that you changed the correct Preference. It's in the section "Web Preferences" and is titled "Initial Web Page". There is another similar preference under "Throttle Page Appearance Preferences".
Once you make this change and restart, taking the Web menu option or rotating the phone will bring you to a page titled: "Available JMRI Frames". This is where you can choose the frame version of your panel.
--SteveT


Locked Re: JMRI Jython programming question

 

Erich, Nick,

Thank you both for your replies.
I am glad that I could help.

Klaus


Am 22.07.2018 um 14:41 schrieb Erich Whitney:

Klaus, thank you! This helps a lot!!!
This is the nugget that was eluding me:
int value = ( int ) Math. ceil((steps - 1 ) * speed);
I think for the purpose I'm trying to achieve, I can set the throttle to 28 steps, use this to get the speed values that map to those and then when I'm done playing with the speed table, resume 128 speed step mode for smoother operation.
-Erich


Locked Re: Why are the function fields blank in decoder pro?

 

Thanks for all the replies Dave, I got the locos on eBay so I don¡¯t know about my chances for finding the project info. ?I guess the way to proceed is to POM and experiment.


Locked Re: Engine Driver Problem

 

Steve,

Tried your suggestion with no effect.? I noticed that, before the panel loads, there is a message that "WebSockets are disabled"; is that what your suggestion was hoped to overcome or is it a different problem/setting?

Thanks,
Harold.


Locked Engine Driver Suggestion

 

Steve:

First off, your contributions to JMRI via Engine Driver are extraordinary and to be commended.?? I use the Engine Driver app regularly and find it more than satisfactory for use on my Digitrax powered layout.

A thought that might be considered a suggestion:? I just received one of the ProtoThrottles and it is a game changer as far as running the layout.?? Have you (or would you) consider a PT type control layout as an option to Engine Driver??? Something along these lines:?

1)? Replace the slider control with a discrete 9 position UI control widget (not sure what or how that would be implemented)
2)? Mimic the Transition lever with a 3 position control??? Reverse - Idle - Forward
3)? Map the brake function key to the slider type of control you are now using for the throttle.

Just a thought.?? I am able to use Engine Driver with the locomotives that have been reprogrammed to work with the PT (seriously long momentum CV values, etc), and I realize the PT has dedicated hardware to deliver the experience but with some subtle control modifications to your current UI your excellent app would be more workable with the PT configured locos.

Thank you for taking the time to read and digest my thoughts.

Respectfully,
Bob Morningstar

PS? I would be willing to pay for an enhanced app that has this functionality.


Locked Re: JMRI Jython programming question

 

Klaus, thank you! This helps a lot!!!

This is the nugget that was eluding me:

int value = (int) Math.ceil((steps - 1) * speed);

I think for the purpose I'm trying to achieve, I can set the throttle to 28 steps, use this to get the speed values that map to those and then when I'm done playing with the speed table, resume 128 speed step mode for smoother operation.

-Erich


Locked Re: Alternate languages for Engine Driver - Opinions and Volunteers

 

Luis,
I can't seem to see your email address.
Can you email me directly at akersp62@... and I will show you what you need to do.

thanks again
Peter
(Brisbane Australia)


Locked Re: JMRI Jython programming question

 

Dear Klaus,

Many thanks. I've already had a quick look through the code but I will have a deeper look.

Thanks to you I've now can set the speed step type of the DCC to 28 while using AbstractAutomation.

Snippet from Jython code (the Class init part):

# get loco address. For long address change "False" to "True"
??self.throttle = self.getThrottle(5001, True)? #? LONG address 5001
# set speed mode to 28 steps ?
??self.throttle.setSpeedStepMode(28)


Many thanks

Nick


Locked Re: Engine Driver Problem

 

Steve,

Thank you for your comments, which I have just read after taking a more detailed look at what works and what does not - and now I need to recharge the tablet's battery.? Once that is done I will try your suggestion and report back.? What I discovered is that nothing on the corrupted Engine Driver view of the panel works - ie clicking a turnout or sensor has no effect.? However, the throttles work perfectly.

Harold.


Locked Re: JMRI Jython programming question

 

Am 22.07.2018 um 11:31 schrieb nicholas murphy via Groups.Io:
I'm not a JMRI designer and I haven't picked through the Java code to see how it translates the floating value 0 to 1 into DCC speed steps.
Here might be the appropriate Java code:




Klaus


Locked Re: JMRI Jython programming question

 

Hi Erich,

I'm not a JMRI designer and I haven't picked through the Java code to see how it translates the floating value 0 to 1 into DCC speed steps.

Could you not just pick a floating value in the centre of the 28 speed step mapping in your example?. Would that not give a good chance of always mapping to the same 28 speed step?.

You don't say what DCC system you have but if JMRI supports monitoring of the DCC commands for your command station you can see how the floating point values translate into speed steps. Or have you already done this in order to produce your example?.

If you have a compact roundy test track with an optical position sensor and fast feedback bus maybe you could write a script to accurately time a reliable loco to check how the JMRI speed value maps to loco speeds. However I've found track cleanliness/loco mechanism variations can be quite pronounced.

Regards

Nick


Locked Re: Alternate languages for Engine Driver - Opinions and Volunteers

 

Hi,?
We would be very grateful for your assistance.

I will send you some instructions shortly.?

Peter?
(Brisbane Australia)?