¿ªÔÆÌåÓý

Date

Locked Control Panel Editor Sensor Icon i\Issue

 

I have created a mimic diagram of my eight track ladder sidings. I have added internal sensors (text type) to each siding and linked them to routes set up in JMRI. All works well with the status of a particular internal sensor depicted as "track open" (active) or "track closed" (inactive). Only one track can be selected at any one time ("track open"), the remaining tracks reverting to "track closed".
I want to activate (open) one of the tracks at JMRI startup. I have added the desired preset route name to the startup list. This works fine, with all turnouts showing the correct route, except that the status of the desired track sensor shows "<unknown>". All the other sensors show "track closed" as they should.?Clicking on the "unknown" sensor returns it to the correct active state of "track open".?Is there any way that I can force this to be active ("track open") via the startup routine?
JMRI version 1.8.0_131
Mac Mini OS X 10.9.5
NCE Procab

Thanks.

Derek.


Locked Re: Operate more than one WiFi throttle simultaneously?

 

Wifi throttles work off of JMRI, It has nothing to do with which DCC system you use. i have used several Wifi throttles on DCC++

Dennis


Locked Re: Dispatcher, Signal Mast definitions (BR-2003) and speeds

 

Hi Torben

Do you have the updated aspects.xml file that Pete Brownlow has created? It's in the files section under BR2003. If you don't have that then that may be part of the speeds problem.

Have you looked at my version of BR2003 signals? I have a single feather File included in the first eight aspects (Danger, Caution, Flash Caution, Preliminary Caution, Flash Preliminary Caution, Proceed, Feather over Caution and Call On) and I have them all working off the Signal Mast Logic. The Feather over Caution works when the diverging route is set and is clear for at least one block. All the rest work as expected.

It's a pity I didn't know where you were as I spent last week with friends in Redbourn. We could have had a good chat about all this.

Cheers

Fraser


Locked Re: Test Release 4.13.4 Timetable tool #timetable-tool

 

Paul,

I already had OO. I have added N148. I also changed O to O43, O45, O48. O scale varies depending on era and location.

Dave Sand

On Nov 19, 2018, at 11:16 AM, paul@... wrote:

Dave,

I agree it would be sensible to add OO. The difference between OO and HO is even more than that between British N and what could be ambiguously termed continental N without specifying which continents. I had a quick look at dispatcher. It uses 76.2 for OO. I suspect the precision is not needed for this purpose, but it might be sensible to use the same ratio. I guess one could argue that scale is an attribute of the layout rather than a specific tool but I realise that that level of rationalisation not likely to happen! Dispatcher also designates British N as 'UK N' and I'm not sure that there's a commonly accepted short code for this but that doesn't help your request for a letter pair.

Paul



Locked Re: Test Release 4.13.4 Timetable tool #timetable-tool

 

Dave,

I agree it would be sensible to add OO. ?The difference between OO and HO is even more than that between British N and what could be ambiguously termed continental N without specifying which continents. ?I had a quick look at dispatcher. ?It uses 76.2 for OO. I suspect the precision is not needed for this purpose, but it might be sensible to use the same ratio. ?I guess one could argue that scale is an attribute of the layout rather than a specific tool but ?I realise that that level of rationalisation not likely to happen! ?Dispatcher also designates British N as 'UK N' and I'm not sure that there's a commonly accepted short code for this but that doesn't help your request for a letter pair.

Paul



Locked Re: Dispatcher, Signal Mast definitions (BR-2003) and speeds

 

Steve
As per my reply to Fraser, things are much improved now thank you - looking 3 sections ahead has certainly helped.??

However, surely having the max block speeds on the SML logic table calculated on panel load can't be right.? That means that any block set to caution on switch on will have that low speed ruling it for ever, as it seems to be the dominant number.

The only way I can make it usable is to set all the speeds in the Warrants table to 100 and then save, restart the program and reload the panel.? Then after SOD go back into the Warrants table and set all the speeds up again.

That can't be what's intended - OR what have I missed please.? ? ?(All blocks and turnouts are set to Global max)

Thanks
Torben


Locked Re: Dispatcher, Signal Mast definitions (BR-2003) and speeds

 

Thanks Fraser

I've spent the morning investigating this and I think my problems might have been to do with that I had added SML to some feathers.? I'm controlling the aspect of the feathers with Logix and the signals themselves handle all the SML, so I've taken the feather logic off as I don't need it......? ?unless one of one tells me I do need it of course!!

I had to set up all the SML by hand as the automatics gave me very strange results, but I eventually got my head around it and it has been working fine for some time.? It seems that adding block lengths takes it to another level though, hence my problems.

I've also increased section allocation to 3, which also seems to have solved a few problems - I was reluctant to do it as the layout is only on a 8' x 4' board and a couple of the loops I think need more blocks ideally.
Torben


Locked Re: Caboose load not printing

 

Another very minor bug I've been experiencing:

When a caboose is assigned to a train, the car shows on the 'Cars' page with
the load I have set - normally either 'E', or the custom load 'Crew'.
However when the manifest is previewed or printed, the 'load' column is
blank.

David


Locked Re: Operate more than one WiFi throttle simultaneously?

 

Information on the NCE Power Cab (Physical Throttle) Cab Bus address range is below.

However, all JMRI throttles (and hence WiThrottles) are funnelled through the computer connection (in your case the NCE USB, which occupies only one Cab Bus address) so the same limitations do not apply.

However, the number of trains that can be moving simultaneously is governed by the amount of space allocated for the Track Queue in the command station.
- For the Power Cab - 12 trains running simultaneously.
- For the SB5 - 18 trains running simultaneously.
- For the Power Pro - 250 trains running simultaneously.

Trains are automatically removed from the track queue by the command station after a train is brought to a stop and an (adjustable) number of stop packets are sent (to make sure the train got the message).

If your Power Cab firmware (second screen at startup of your Power Cab, after the "Pro Cab V1.3" message) is:
- "V1.28C" the only valid addresses for extra cabs are 3 & (unofficially) 4.
- "V1.65" the only valid addresses for extra throttles are 3, 4 and 5. Non-throttle devices such as the NCE USB, Mini Panel or AIU can also use addresses 8, 9 & 10. However if you have ever done a System Reset, you will have lost all the extra addresses and be back to the V1.28C restrictions.
- "V1.65B" the only valid addresses for extra throttles are 3, 4 and 5. Non-throttle devices such as the NCE USB, Mini Panel or AIU can also use addresses 8, 9 & 10.

Similar comments apply to the SB3/5 with the range 2-5 for V1.28 and 2-7 for V1.65B.

The number of simultaneous trains running differs from the number of possible cabs. 12 is the limit for all Power Cab versions, provided the current draw does not exceed the Power Supply current capability or the Power Cab's limit of 2A.

I strongly recommend that you purchase a V1.65B upgrade chip for your Power Cab, not only for the above reasons but because of other bug fixes and added features. You can buy it direct from the NCE website, or often from a dealer.

Also there can be electrical problems that can cause failure of extra cabs to work properly. This is due to a run of cab bus communication chips that needed extra components on your Power Cab Panel (PCP). Check the following website for how to find out if your PCP has the extra components (now fitted to all new PCPs sold) and what to do about it:
<>
--
Dave in Australia

On 19 Nov 2018, at 3:46 PM, Doug Lowing <delowing1903@...> wrote:

Through NCE Powercab?
I know PowerCab allows for 2 throttles- one smart handheld unit, and one dumb ProCab throttle. Would the jmri act as second throttle through the NCE usb interface?


Locked Re: Dispatcher, Signal Mast definitions (BR-2003) and speeds

 

Torben

I'm not an expert in signal mast logic by any means but I have managed (with Dave Sand's help) to get a fairly complex layout all working with the straight signal mast logic. There are a couple of things that must be right for it to work.The blocks that the signals are protecting must be absolutely correct and contiguous with no undefined odd little sections in between. This can be caused by connecting two turnouts together that causes a zero length piece of track to be inserted between them. In this case move the two turnouts apart and assign the block for one of the turnouts to the short section then move them back to the required arrangement. The block routeing should also be set for every block so that the logic knows in which direction trains will pass along the blocks. This will take a little while to do but it will be needed to make the automation work.

Fraser


Locked Re: Operate more than one WiFi throttle simultaneously?

 

On 11/19/18 5:46 AM, Doug Lowing wrote:
Is it possible to control more than one decoder with separate Wifi
throttles through one instance of jmri?
Yes, we've had up to nine engines, each on their own DCC address,
running with five separate throttles simultaneously.

If possible, can it be done through a DCC++ base station?
Through NCE Powercab?
That I don't know, I only tried it with a DCS51 (Zephyr Xtra) and an
Intellibox "1.5" (HW 1, SW 2) connected through a PR3.

Good luck,
Heiko

--
eMails verschl¨¹sseln mit PGP - privacy is your right!
Mein PGP-Key zur Verifizierung:


Locked Re: Layout Editor vs Control/Panel Editor

 

Dave,
Thanks. Your #4 is what I needed.? Probably obvious to an insider but not to me as an outsider.
Paul D


Locked Re: Layout Editor vs Control/Panel Editor

 

Paul,

Use "Add State Variable" to add the internal sensor that you have created to act as the trigger.

For the Logix Action:
  1. Select "Add Action"
  2. In Action Group, select ¡°Script"
  3. In Action Type, select "Execute Jython Command"
  4. In the "Script Command" field, enter: ?jmri.util.JmriJFrame.getFrame(¡®Panel Name').setVisible(True)
  5. Select "Update"
The actual command is the part that starts with jmri. ?Change the Panel Name to the appropriate value. ?Make sure the quote marks are NOT smart quotes.


Dave Sand



On Nov 18, 2018, at 10:37 PM, Paul Davidson <pdavidson@...> wrote:

Ken,
I broke my single panel into three panels and got them linked OK. However, I am stuck on the Logix part. I can get to the Logix windows for the if/then?logic but I lose it on how to input the command and how to link everything to a sensor on my Panel.. In my younger days I was familiar with Fortran,?Cobol and Basic so I understand programming concepts here but I am not familiar with the Jython command structure nor the cryptic data fields in the?boxes used to construct the Logix code in Panel Pro. As an example, how do I deconstruct the line [Execute Jython Command Jython Command?jmri.util.JmriJFrame.getFrame('MMTRR Upper Level').setVisible(True).] that Dave provide above? I suspect that only part of that line is inserted into the?command field for the if/then construct.
Probably not making sense here but that is because it is easy to confuse me when I am in new territory. Learning this would be a lot easier with?someone looking over my shoulder.
Paul D


Locked Operate more than one WiFi throttle simultaneously?

Doug Lowing
 

Is it possible to control more than one decoder with separate Wifi throttles through one instance of jmri?
If possible, can it be done through a DCC++ base station?
Through NCE Powercab?
I know PowerCab allows for 2 throttles- one smart handheld unit, and one dumb ProCab throttle.? Would the jmri? act as second throttle through the NCE usb interface?


Locked Re: Layout Editor vs Control/Panel Editor

 

Ken,
I broke my single panel into three panels and got them linked OK. However, I am stuck on the Logix part. I can get to the Logix windows for the if/then logic but I lose it on how to input the command and how to link everything to a sensor on my Panel.. In my younger days I was familiar with Fortran, Cobol and Basic so I understand programming concepts here but I am not familiar with the Jython command structure nor the cryptic data fields in the boxes used to construct the Logix code in Panel Pro. As an example, how do I deconstruct the line [Execute Jython Command Jython Command jmri.util.JmriJFrame.getFrame('MMTRR Upper Level').setVisible(True).] that Dave provide above? I suspect that only part of that line is inserted into the command field for the if/then construct.
Probably not making sense here but that is because it is easy to confuse me when I am in new territory. Learning this would be a lot easier with someone looking over my shoulder.
Paul D


Locked Re: Layout Editor vs Control/Panel Editor

 

Paul D,

One issue is that trying to edit the link will log a message in the console
but not tell the user on the screen (like a pop up) that they don't have any
edge connectors configured enough to work. So for most people (who don't
live with a console open all the time) they just see nothing happening. I
think that's not user friendly, but we have other things that do that too.

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


Locked Re: Can't get Web Server to work

 

Harry, make sure you are not confusing the port used by WiThrottle server with the one used by the Web server. They must be different.
Do you get the same error in other browsers?
Have you tried it from the server computer itself?
Do you see any ERROR messages in the JMRI Console?


Locked Re: Dispatcher - SML - auto-allocation problem

 

Hi Mitchell
Directions sensors will definitely help.
However will look as I thought we had a failsafe about trains entering section that weren't theirs.
Steve G.


On November 18, 2018 3:45:03 AM EST, "Mitchell via Groups.Io" <mitchell.scott93@...> wrote:
Nevermind.. Found a new bug.

There's a on-off situation that happens where a train in block 41 is waiting to allocate across the crossover, and a train in block 07 wants to allocate to block 41 and beyond
.
The allocation can't switch the turnouts towards 41 because it is occupied, but the signal for the train in 07 is green to go through to block 09, so the train doesnt stop even though it hasnt allocated any further.

Before all these changes I seem to remember signals staying red until allocated, which meant that train would wait at 07 at a red until it could allocate to 41 and beyond and then get a green for go

. I do know that non of my sections have direction sensors anymore. They were always auto-generated, so maybe manually generating them will work? I am not sure how to start that process, however.

Am I of the correct thinking here? or missing something?

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Locked Re: Layout Editor vs Control/Panel Editor

 

Dave & Ken,
Thanks....those are the clues I was looking for. I had already taken a panel and added some edge connectors but when I tried the "edit", I could not determine how to fill in the required info. Also, thanks for the Logix. I think I can muddle my way through it now.?
Paul D


Locked Re: Dispatcher, Signal Mast definitions (BR-2003) and speeds

 

Ah. The max speed i think is only calculated on panel load.
Steve G.

On November 18, 2018 6:20:25 PM EST, Torben Cox <torben.cox@...> wrote:
Thanks for clarifying? Steve

No, I didn't mean to imply that I open both panels at the same time,
sorry! That would certainly be interesting!

I understand re the max speed between signals - I have everything set
to Global Max.? ?BUT in todays 13.5 the 2nd aspect column doesn't
change when the corresponding 1st aspect column changes and therefore
the max speeds are stuck.......? ?ie the 2nd column might be at
caution, which the majority are for some reason, and doesn't change
when signals change ...............................? ?or am going
crazy??

Thanks
Torben

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.