¿ªÔÆÌåÓý

Date

Locked Re: LCD recommendations for JMRI on Raspberry Pi #rpi

 

Waddy,

? ? I've got the same folder and can change to it with a "cd LCD-show".? But can not run that second line you have.? I get command not found.??

? ? I looked in the folder and there is a LCD35-show there.? Just for a test I clicked on it and gave the 'execute" command.? ?System went into to some sort of reboot sequence with it ending in a blank screen on monitor and the LCD display.? Back to reflashing my sd card.? Glad I saved a backup.

Roger


Locked Re: Train automation in point to point layout starting with layout editor? #automation

 

Mike,

There are lots of point to point layouts with JMRI. As for automation, there
is a very wide range of options. So a lot depends on how fancy or how much
special wiring you like to do. There are simple scripts for 'back and forth'
and it goes up from there. So explain what you are after and some things
will fit better than others.

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


Locked Train automation in point to point layout starting with layout editor? #automation

 

Interested in using JMRI to automate a train.
I have experience with the panel editor, but? all the examples I've found about entering your layout into JMRI using the layout editor refer to complete loop layouts. (Dave D., Quaker Valley...)
Does the Layout panel work for point to point layouts as well with respect to automation, or is a loop layout required?
Is there a better panel for this within JMRI?

Thanks,
Mike


Locked Re: LCD recommendations for JMRI on Raspberry Pi #rpi

 

Hi Mike,

After installing the LCD-show software, I can do a?

cd LCD-show/
sudo LCD35-show 90

to turn the screen 90 degrees (should also work with 180 and 270.)

I'm using the waveshare version from GitHub

git clone
but you need to use the version for your LCD

Hope this helps

Big thanks to Steve Todd for his advice and the excellent JMRI image for Pi and EngineDriver!


Locked Re: DecoderPro locomotive address #roco #zimo

 

Bump

--
Peter Ulvestad

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


Locked Re: CanExample.py

 

Before anyone reacts and pulls this conversation out of context: this should be on its own thread, and not as a hijack of someone else's.
Wouter


On Mon, 26 Aug 2019 at 18:07, Michael Shore <t.mike.shore@...> wrote:
I placed a problem I have with programming a ROCO locomotive on decoder pro. The decoder is a Zimo decoder, my problem is on programming it won¡¯t accept a four digit address and reverts always to 03 they basic address.
Is this because of the Zimo, not being able to correspond with decoder pro.
I can program the locomotive on my Digitrax programming track.
? ? ? ?Any suggestions,
? ? ? ? ? ? ?Mike Shore (novice with software)
> On Aug 26, 2019, at 12:52 PM, Bob Jacobsen <rgj1927@...> wrote:
>
> CAN is an industry standard, in the same sense that a (hardwired) telephone is:? All telephones know how to exchange audio and all CAN nodes know how to exchange frames.
>
> But the message sent over CAN are not standardized, just like the use of telephone audio can be done with different languages, different syntaxes, etc.
>
> Zimo sends different messages than MERG¡¯s CBUS protocol, etc.
>
> Bob
>
>> On Aug 26, 2019, at 7:41 AM, halasz <halasz.gabor@...> wrote:
>>
>> Paul,
>>
>> I agree with the principle that both hardware and software be used for what they have been made for. The thing is that one often buys hardware before all the future uses are known and is bound by it. Software is more flexible, after all. Nevertheless, I am going to see how I could put in some optical sensors.
>>
>> I had the impression that CAN was an industry standard. Roco even confirmed this impression when I asked them, in connection with my present problem, for a documentation on CAN messages and they were referring to Zimo's publication
>>
>>
>>
>> Now I am surprised to learn, if I understand your words correctly, that this is not the case and different manufacturers produce different messages.
>>
>> Gabor
>>
>
> --
> Bob Jacobsen
> rgj1927@...
>
>
>
>
>
>




Locked Re: Best or correct way to add signal masts

 

Dave,


On 08/26/2019 09:16 AM, Dave Sand wrote:

In the indicated scenario, for left to right traffic the signal mast at the left end is protecting track segment 1, the turnout and track segment 2 when the turnout is closed (Mainline). ?When the turnout is thrown, track segment 1, the turnout and the track segment 3 are protected (Mainline and Spur). ?I am assuming that there are signal masts at the right ends of track segment 2 and track segment 3 set for left to right traffic.
There are masts as shown on the png, and no others.? But that was only a learning test, I'm done with that panel.

In my virtual world of western US CTC ready designs, turnouts get their own blocks. ?In your world of British prototypes (Up/Down nomenclature is a clue) the block design and therefore signal mast placements are probably quite different.
Good eye, but no, my world is UP and SP.

That panel was designed following the tutorial @
It served its usefulness but I have moved on to modeling an actual test track set up in my den:



In limited testing the masts all work as expected.? At first I was confused but I now understand that with the 2 circular
sets of masts when one changes the others around the circle all change in domino fashion.

I also discovered on this go-round that the turnout in the lower left corner must belong to *neither* the West block nor
the South block to be able to attach 2 masts, which I need to support? both the East-West and West-East
routes (ie. bidirectional mainline).

thanks to everyone for all the help,
Steve


Locked Re: CanExample.py

 

CAN is an industry standard, in the same sense that a (hardwired) telephone is: All telephones know how to exchange audio and all CAN nodes know how to exchange frames.

But the message sent over CAN are not standardized, just like the use of telephone audio can be done with different languages, different syntaxes, etc.

Zimo sends different messages than MERG¡¯s CBUS protocol, etc.

Bob

On Aug 26, 2019, at 7:41 AM, halasz <halasz.gabor@...> wrote:

Paul,

I agree with the principle that both hardware and software be used for what they have been made for. The thing is that one often buys hardware before all the future uses are known and is bound by it. Software is more flexible, after all. Nevertheless, I am going to see how I could put in some optical sensors.

I had the impression that CAN was an industry standard. Roco even confirmed this impression when I asked them, in connection with my present problem, for a documentation on CAN messages and they were referring to Zimo's publication



Now I am surprised to learn, if I understand your words correctly, that this is not the case and different manufacturers produce different messages.

Gabor
--
Bob Jacobsen
rgj1927@...


Locked Re: Best or correct way to add signal masts

 

Rummy,

I have uploaded 3 files for you.


The PDF file shows the differences between the searchlight dwarf and the positional light dwarf. ?The the destination mast has an aspect in the left column, the dwarf will select the corresponding aspect. ?If there is no match, Stop will be selected. ?As you can see, the PL dwarf is missing lots of entries.


This is a bare minimum signal testing panel. ?Two dwarfs and a destination mast. ?By clicking on the destination mast, you can see how each dwarf type responds. ?I recommend that you have the signal mast table open at the same time so that you can see the resulting aspects.


This is a modified PL dwarf appearance file. ?I have added the Clear and Approach aspects to the aspectMappings section. ?To use this file, copy it to the resources/signals/AAR-1946/ directory in your user files location.

To get to the user files location, select Help >> Locations and click on the Open User Files Location button. ?This will open the operating system file manager at the user files location. ?If necessary, create a resources directory followed by a signals directory followed by the AAR-1946 directory. ?Once the directory tree has been created, copy the custom?appearance-PL-1-low.xml. ?When JMRI starts, the custom file will be loaded instead of the file that was included in the JRMI install.


Dave Sand



On Aug 26, 2019, at 6:26 AM, rummy@... wrote:

I understand there may be differences due to a railroads interpretation and implementation of the AAR rules, but the position light dwarf signals?indicated stop when the next signal indicated approach. ?I had expected them to at least indicate approach or slow, and probably clear. ?Anything less?than a clear indication on the next signal resulted in a stop on the dwarf signals.

But again, thanks for the help!

Rummy


Locked Re: Best or correct way to add signal masts

 

Steve,

The first rule of blocks is that all of the track components assigned to a block must be contiguous. ?If "track segment 1" and "track segment 2" are assigned to block ¡°Mainline", then the turnout between the track segments must also be assigned to block ¡°Mainline¡±. ?Use the Layout Editor Tools >> Check menu to find block issues.

In the indicated scenario, for left to right traffic the signal mast at the left end is protecting track segment 1, the turnout and track segment 2 when the turnout is closed (Mainline). ?When the turnout is thrown, track segment 1, the turnout and the track segment 3 are protected (Mainline and Spur). ?I am assuming that there are signal masts at the right ends of track segment 2 and track segment 3 set for left to right traffic.

The protection for the turnout is indirect since it is embedded in the Mainline block. ?The only block boundary for the turnout is on the diverging leg. ?Since signal masts attached to turnout block boundaries always protect the turnout, you could put a signal mast at the diverging block boundary to protect the turnout and track segment 1 for right to left traffic.

If the turnout is assigned its own block, then track segment 2 also needs a different block since it is no longer contiguous with track segment 1.

In my virtual world of western US CTC ready designs, turnouts get their own blocks. ?In your world of British prototypes (Up/Down nomenclature is a clue) the block design and therefore signal mast placements are probably quite different.?

Note: ?You image on the web site was helpful. ?You can also post images and upload files to the JMRI Users group location.


Dave Sand



On Aug 26, 2019, at 7:03 AM, steve <steve@...> wrote:

Dave,


On 08/25/2019 10:21 PM, Dave Sand wrote:
Steve,

Signal mast logic responds to changes to block occupancy, turnout positions and the aspect of the next mast (the pair¡¯s destination mast). ?Assuming?that you an active layout connection or have made provisions to simulate layout activity, the SML for a new signal mast pair may
I am simulating block occupancy and turnout feedbacks at this point.

need a little help to get started. ?When I do a full layout discover, I save the panel xml file and stop/start PanelPro and load the new panel xml file.
full layout discovery ... is there a command to do this to the complete panel? Or do you just mean "do a discovery for
each and ?every component"? ?I've never found a command to do discovery of the whole panel at once.

I am not sure what you mean by ¡°do turnouts need to be assigned to a block¡±.
Assume:
? ?track section 1 attached to turnout throat (point A), turnout end (point b) attached to track section 2 , turnout side
? (point c) attached ?to track section 3.

==== 1 ====|=========|====2=====
? ? ? ? ? ? ? \\
? ? ? ? ? ? ? ?\\
? ? ? ? ? ? ? ? \\=====3====


I have assigned track sections 1&2 to block "mainline". track section 3 to "spur".
Should I assign the turnout to "mainline"? Or to "spur". Or to "unique turnout blockname"?
Stated another way, If mast 1 is at the left end of section 1, and mast 2 is at the right end of section 2, does the turnout
have to be part of "mainline" for the mast 1 / mast 2 logic to work?
?All track components between a pair of masts are assigned blocks. ?If you are asking ¡°does a turnout need its own block?¡±, my answer is yes. ?Others?say not necessarily. ? Signaling projects tend to evolve over time. ?Since signaling is very dependent on the block design, wiring for full block capability?during construction is easier than going back and changing it.


tia,
Steve






Locked Re: Track decorations (bridge and tunnel) and memory icon justification not working on web panel 4.17.3

 

Andy,
I have created?
for the addition of LE Decorations to the client-side web panel code.
It would be very helpful if you could attach some simple panel(s) demonstrating these features to that issue.
Thanks,
? SteveT


Locked Re: CanExample.py

 

Paul,

I agree with the principle that both hardware and software be used for what they have been made for. The thing is that one often buys hardware before all the future uses are known and is bound by it. Software is more flexible, after all. Nevertheless, I am going to see how I could put in some optical sensors.

I had the impression that CAN was an industry standard. Roco even confirmed this impression when I asked them, in connection with my present problem, for a documentation on CAN messages and they were referring to Zimo's publication

http://www.zimo.at/web2010/documents/ZIMO_CAN_Protokoll_4.18_Public.pdf

Now I am surprised to learn, if I understand your words correctly, that this is not the case and different manufacturers produce different messages.

Gabor


Locked Re: Track decorations (bridge and tunnel) and memory icon justification not working on web panel 4.17.3

 

Hi Andy,
None of the new track decorations have been added to the web panel code. I will create or update a JMRI issue so that they'll show on the list if anyone wants to tackle them.

As for the centering, you need to specify a Fixed Size for these items. Without a fixed size, centering does not work in the web code.

--SteveT


Locked Track decorations (bridge and tunnel) and memory icon justification not working on web panel 4.17.3

 

Hi
I've added some tunnels and bridges as track decorations on a layout editor panel. They are showing up fine on the 'native' panel, but when I go to view via a browser using the webserver they do not appear at all.

I am using the hidden and dashed attributes for the track, which gives the general idea, but without the decorations it does not look as professional. Also the dashes are coarser on the web so they are not very effective for shortish tunnels.

Another difference I've come across between web and 'native' views is that memory variable justification doesn't seem to work on the web; they are always left justified. In my case as I'm displaying images and this can mean quite a big displacement across the panel since the (loco) images can be very different in size. I have to stick to left justification to get consistency.

I'm using JMRI 4.17.3 on Ubuntu 19.04.

I find the web view a real boon and it's the main graphical means of presenting the layout that I use. Anything that makes the 'native' view (used for designing the panels) and the web view (for showcasing them) has to be good!

I accept that these are cosmetic issues, but I thought I'd mention them in any case.

Thanks for a great product!
Andy


Locked Re: Train Icons on panel no longer move

Frank in Houston
 

Hi Dan. ?Your suggestion to delete JMRI and then reinstall it SOLVED my problem. ?The train Icons (markers) now move as needed and I am once again a very happy old man. ?I LOVE this software for my railroad and APPRECIATE your EXCELLENT help....AND
the EXCELLENT help provided by many others. ?THANK YOU.....Frank in Houston.?


Locked Re: Best or correct way to add signal masts

 

¿ªÔÆÌåÓý

Hi everyone,

I've setup a website to archive pics, etc. of my discussions of JMRI setup.? To get started, here's the working version
of the panel I've been discussing:



Steve

On 08/26/2019 06:11 AM, steve wrote:

Everyone,


On 08/26/2019 06:03 AM, steve wrote:
full layout discovery ... is there a command to do this to the complete panel? Or do you just mean "do a discovery for
each and? every component"?? I've never found a command to do discovery of the whole panel at once.
I think I just found it: Tools > Auto generate Signaling Pairs menu in the Signal Mast Logic Table



Locked Re: Functions

 

¿ªÔÆÌåÓý

If you connect a light to the F1 pad on a Digitrax sound decoder you will have both the bell sound playing and the light lit with F1 turned on.

You can use the function map, CV33-37, to change the function of that pad to F0 thru F3.

If you have a PR2/3/4 you can edit the SPJ file to change the function number of the bell.
Michael Mosher
Member SFRH&MS              
DCC Master PVSMR            
On 8/20/2019 11:51 PM, Jim Kirwan via Groups.Io wrote:

Jan,

My question is regarding the following:
Digitrax as probably all decoders have default functions assigned, IE. F1 = Bell.
If i connect something to the F1 pad on a decoder, does that replace the bell?

Jim K


Locked Re: JMRI overloads a spur

 

Hi Ray,

Aggressive mode can do complete car swaps.? The difference between normal and? aggressive, is that the program considers the track available as soon as a car is scheduled for a pull.? Normal only considers the track available after the car is pulled.? So for most users, aggressive mode creates more car movement, but with the chance that a track could be overloaded.? Most overloading can be corrected by having one train pull and set out the cars for a spur.? In your case two trains were involved and the timing was such that the set out could occur before the pull.

For most, normal should work just fine, and doesn't completely fill most of the small spurs, leaving some of them with empty spots.? Aggressive tends to fill spurs, especially those on the smaller size.

Dan


Locked Re: Best or correct way to add signal masts

 

¿ªÔÆÌåÓý

Everyone,


On 08/26/2019 06:03 AM, steve wrote:
full layout discovery ... is there a command to do this to the complete panel? Or do you just mean "do a discovery for
each and? every component"?? I've never found a command to do discovery of the whole panel at once.
I think I just found it: Tools > Auto generate Signaling Pairs menu in the Signal Mast Logic Table

Steve


Locked Re: Best or correct way to add signal masts

 

Dave,


On 08/25/2019 10:21 PM, Dave Sand wrote:
Steve,

Signal mast logic responds to changes to block occupancy, turnout positions and the aspect of the next mast (the pair¡¯s destination mast). Assuming that you an active layout connection or have made provisions to simulate layout activity, the SML for a new signal mast pair may
I am simulating block occupancy and turnout feedbacks at this point.

need a little help to get started. When I do a full layout discover, I save the panel xml file and stop/start PanelPro and load the new panel xml file.
full layout discovery ... is there a command to do this to the complete panel? Or do you just mean "do a discovery for
each and? every component"?? I've never found a command to do discovery of the whole panel at once.

I am not sure what you mean by ¡°do turnouts need to be assigned to a block¡±.
Assume:
?? track section 1 attached to turnout throat (point A), turnout end (point b) attached to track section 2 , turnout side
? (point c) attached? to track section 3.

==== 1 ====|=========|====2=====
????????????? \\
?????????????? \\
??????????????? \\=====3====


I have assigned track sections 1&2 to block "mainline". track section 3 to "spur".
Should I assign the turnout to "mainline"? Or to "spur". Or to "unique turnout blockname"?
Stated another way, If mast 1 is at the left end of section 1, and mast 2 is at the right end of section 2, does the turnout
have to be part of "mainline" for the mast 1 / mast 2 logic to work?
All track components between a pair of masts are assigned blocks. If you are asking ¡°does a turnout need its own block?¡±, my answer is yes. Others say not necessarily. Signaling projects tend to evolve over time. Since signaling is very dependent on the block design, wiring for full block capability during construction is easier than going back and changing it.
tia,
Steve