¿ªÔÆÌåÓý

Date

Locked Re: JMRI 4.13.2 and Webserver

 

Thanks Steve.

Actually the "/frame" was already enabled, so once I switched to that, it worked.

The tablet we use is an old "noname" from Fry's that was cheap (and we have a feeling "used" though bought new - we found a flash card in the memory port, empty, but still, it should not had been there, so we kept it).

The Android OS cannot be updated, so the browser is what it is. But, I created a bookmark, and all I have to change then is just the IP if the computer gets a new IP on restart.?

We are considering a new tablet, or maybe an actual hardware tower, for this panel. The new tablet I am sure will be able to use "/panel".


Cheers
LeoP



Locked Re: DecoderPro will not read decoders

 

Hi Bob,
I am getting 11.8 volts AC. I believe it should be higher and will check my connections.
Philip

On Mon, Sep 3, 2018 at 6:10 PM Bob Potter <rnp@...> wrote:
Hi Phil,
If you have a way to measure DCC voltage at the prog track rails (RRampmeter), what is that voltage? I use a Sprog 3 and its output is just over 14 Volts DCCand that seems to work with most decoders.
(A different) Bob


Locked Re: signalMastManagerInstance

 

On Tue, Sep 4, 2018 at 07:27 AM, Dave Sand wrote:
masts.getSignalMast(mastName)
Yes that solved it - thank you


Locked Re: signalMastManagerInstance

 

The exact replacement is

jmri.InstanceManager.getDefault(jmri.SignalMastManager).getSignalMast(xxx)

but Dave Sand¡¯s suggestion is a very good one:

masts..getSignalMast(xxx)

Bob


On Sep 4, 2018, at 1:48 AM, David Smith via Groups.Io <daversmth@...> wrote:

HI All,

I just installed the 4.12 JMRI release and have found that my jython script that uses

jmri.InstanceManager.signalMastManagerInstance().getSignalMast(xxx)

No longer works.

I see an error
AttributeError: type object 'jmri.InstanceManager' has no attribute 'signalMastManagerInstance'

Can someone please advise what this construct needs to be changed to in order to work with release 4.12 ?
--
Bob Jacobsen
rgj1927@...


Locked Re: Error while trying to run auto train under Dispatcher

 

Allen,

I have uploaded a fixed file to your folder.

/g/jmriusers/files/ProblemsBeingWorkedOn/Allen%20House%20SSL%20Dispacter%20signal%20issue/Mtn_RR_215%20fix.xml

That should take care of the NT14 problem.


Dave Sand

On Sep 4, 2018, at 8:55 AM, ahouse3761 <trainmail1@...> wrote:

Dave,
I tried deleting the transit and sections near NT14, recreating them, and I still get the same error. Your quick fix must be more than that?
I also uploaded more images/icons that appear to be necessary for all my panels. I have created them over a long period of time and did not know all the images would be needed to rebuild it. Hopefully that will allow a complete fix.

Allen


Locked Re: Logix Action to set Block Value doesn't work?

 

Dave,

Is ¡°Platform 1¡± defined in the ¡°Block¡± table, the ¡°OBlock¡± table or both?

If both, you have two independent objects that appear to be related but they are not.

For unknown (to me) historical reasons, block variables and actions in Logix relate to OBlocks, not Blocks.

Blocks tend to be used with Layout Editor panels while OBlocks are used with Control Panel Editor panels.


Dave Sand

On Sep 4, 2018, at 4:47 AM, Dave Short <dave@...> wrote:

Setting a block value to a string in a Logix Action doesn't appear to work.
e.g.

IX:AUTO:0049C1 C1
[x] R1 IF Sensor "Input OK" state is "Sensor Active"
THEN
On Change To True, Set Block Value, ""HARRY"" in Block "Platform 1".
On Change To False, Set Block Value, ""TOM"" in Block "Platform 1".

This does not change the Value of block "Platform 1"

Is this a bug, or am I doing something wrong?

Dave


Locked Re: signalMastManagerInstance

 

David,

If your script starts with "import java" and "import jmri", this will work:

mast = masts.getSignalMast(mastName)


Dave Sand

On Sep 4, 2018, at 5:11 AM, David Smith via Groups.Io <daversmth@...> wrote:

After some poking around I changed this to

jmri.managers.DefaultSignalMastManager.getSignalMast(held_mst)

but now get an error

TypeError: getSignalMast(): expected 2 args; got 1
what is the 2nd argument that getSignalMast is expecting ?


Locked Re: Error while trying to run auto train under Dispatcher

 

Dave,
I tried deleting the transit and sections near NT14, recreating them, and I still get the same error. Your quick fix must be more than that?
I also uploaded more images/icons that appear to be necessary for all my panels. I have created them over a long period of time and did not know all the images would be needed to rebuild it. Hopefully that will allow a complete fix.

Allen


Locked Re: Logix Action to set Block Value doesn't work?

 

Dave,

Did you check the Help->System Console, it may have a fault message and
stack dump that would help us know what is happening.

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


Locked Re: signalMastManagerInstance

 

After some poking around I changed this to

jmri.managers.DefaultSignalMastManager.getSignalMast(held_mst)

but now get an error

TypeError: getSignalMast(): expected 2 args; got 1
what is the 2nd argument that getSignalMast is expecting ?


Locked Logix Action to set Block Value doesn't work?

 

Setting a block value to a string in a Logix Action doesn't appear to work.
e.g.

?IX:AUTO:0049C1? C1??
??? [x]? R1? IF? Sensor "Input OK" state is "Sensor Active"??
???????????? THEN??
?????????????? On Change To True, Set Block Value, ""HARRY"" in Block "Platform 1".??
?????????????? On Change To False, Set Block Value, ""TOM"" in Block "Platform 1".

This does not change the Value of block "Platform 1"

Is this a bug, or am I doing something wrong?

Dave


Locked signalMastManagerInstance

 

HI All,

I just installed the 4.12 JMRI release and have found that my jython script that uses

jmri.InstanceManager.signalMastManagerInstance().getSignalMast(xxx)

No longer works.

?I see an error
?AttributeError: type object 'jmri.InstanceManager' has no attribute 'signalMastManagerInstance'

Can someone please advise what this construct needs to be changed to in order to work with release 4.12 ?

Many Thanks


Locked Re: Programming a Digitrax DN126M2

Walter Thompson
 

There is this info on the JMRI web site that may help
. Sorry I have no knowledge on the DCC++ system.? Do other decoders program OK?

--
Walter Thompson
walterstanleythompson3@...

Ph 651 644 8673 Central time Zone?
Saint Paul Minnesota USA


Locked Re: Programming a Digitrax DN126M2

Jay
 

OK, then is anyone out there that can help?
It happen's under Win 10 & Mac OS X.

Jay


Locked Re: New file uploaded to [email protected]

Walter Thompson
 

Garth xml files that are of our layout panels are not spreadsheets You can open them by starting JMRI and then open the file with the Panel controls in the Panel Pro start screen.
.
--
Walter Thompson
walterstanleythompson3@...

Ph 651 644 8673 Central time Zone?
Saint Paul Minnesota USA


Locked Re: New file uploaded to [email protected]

 

.xml files are an excel spreadsheet files,? use mS Excel or open office? ar similar program to open and edit.?


Locked Re: Sequential Train Build

 

Thanks Dan. ?I have done a ¡°deep¡± review of the Build Reports in conjunction with the Car Roster and discovered that the error is operator caused. ?I discovered that more cars than anticipated were being dropped at various industries. ?Review of the spur lengths revealed that I had entered the length of the spur as it¡¯s full length rather then that actually to be used as car spots. ?In a couple of areas where I intend ed to have 3 spots, I entered a spur length that allows for up to 8 spots. ?These mistaken lengths led to an inventory problem in the yard which caused the behavior I mentioned in my original post. ?I also discovered that a custom load ( loaded ore cars) where being routed to spots that they should not be. ?This was loading up spots that should have been available for non-custom loads. ?That custom load has now been excluded from all spurs except the concentrator. ?This adjustment and adgusting the spur lengths greatly improved the situation. ?I will adjust them further after an Ops session. ?Oh the joys of being a newby. ?Thanks for your help. ?Your suggestion above led me to th right spot.

Phil


Locked Re: SPROG and JMRI #sprog

 

The defaults are set to SPROG command station. (Loconet does not apply here with SPROG.)? The SPROG console gives message "No SPROG prompt found".? It as if the SPROG can't be 'seen' by the system.? However, on old PC things work fine.? I updated Win 10, and re-connected things, same result.
Rob?


Locked Re: JMRI 4.13.2 and Webserver

 

Hi Leo,
A change was made to default the "/frame" server to disabled a while back, you may have created a new profile and just encountered the change.
The "/panel" server is faster and puts a much smaller load on your server and the network, but as you see, the "/panel" server requires WebSockets, if you have more than a few "live" items on your panel.?
If you want to reenable the "/frame" server, you can do so in the JMRI Preferences, Web Server page.
Regards,
? SteveT


Locked Re: DecoderPro will not read decoders

Bob Potter
 

Hi Phil,
If you have a way to measure DCC voltage at the prog track rails (RRampmeter), what is that voltage? I use a Sprog 3 and its output is just over 14 Volts DCCand that seems to work with most decoders.
(A different) Bob