¿ªÔÆÌåÓý

JMRI/Raspberry Pi Touchscreen panels - layout expansion questions


 

Good Afternoon,
?
I currently have a layout running with the following set up:
?
NCE Power Cab
Raspberry Pi running JMRI using M Steve Todd's file
This is connected to the layout via an NCE USB Adapter
?
The Raspberry Pi runs a touchscreen which I have set up as a control panel and operate turnouts from this - the panel itself effectively is fullscreen on the Raspberry Pi touchscreen.
?
I'm looking at expanding the layout, and realistically it would need a second control panel for the extension - I don't really want to redraw the existing panel and reduce the size of the panel itself as it's currently very user friendly.
?
From reading the various JMRI documents, I'm not entirely sure how to go about this - it is clear that I can only have one Raspberry Pi unit connected in via an NCE USB adapter , but am I correct in saying that if I network a second Pi to the main one, either via the built in wifi or an ethernet cable, this is feasible? From my limited understanding, you can load up two separate panel windows and switch between them ,so am I correct that if this is the case, the original Pi panel can effectively stay as is, with the new Pi Panel running as a networked unit and showing just the additional panel?
?
thanks in advance


 

¿ªÔÆÌåÓý

Richard,

?

The simplest way to expand control is via the web. A tablet, using a web panel from your Pi will do the controlling. Keeping to a single computer talking to the command station is critical for your system. If the Pi and touchscreen is fine for you, the 2nd one is just running a browser for that panel on it.

?

-Ken Cameron, Member JMRI Dev Team

?

?


 

Hi,
?
I think it depends on how your existing touchscreen is connected and which Pi you have and maybe what operating system you are using.
?
Some or all Pi's with a DSI connector can support a touchscreen via DSI and another via HDMI plus USB. Some Pis have two HDMI output plus DSI which I think allow three touchscreens.
?
JMRI supports multiple monitors and I think multiple touchscreens.
?
Regards
?
Nick


 

Thanks for that info gents.
?
The Raspberry Pi is something like a model 3 from what I remember, although without dismantling the current setup I can't confirm.
?
A couple more questions if I may?
?
I designed the original panel via panel pro on my laptop and just copied the file across to the microSD card for the Raspberry Pi. Assuming that I can have two panels running in consecutive tabs on the raspberry pi and then access the new one via the Web?
?
I've already designed the new control panel on the laptop, but when I open the turnout table and then try to add another turnout to the table when I click the "add" button it just opens a blank window - do I actually need to be connected to the layout address to map the turnouts? I don't recall doing this beforehand.


 

Richard,

For the turnout table issue, check the system console for errors. ?

I assume the laptop is using a NCE Simulation connection.

It is not clear, but are both panels are in the same xml data file?

Dave Sand



----- Original message -----
From: "Richard Lea via groups.io" <supanedbb=[email protected]>
Subject: Re: [jmriusers] JMRI/Raspberry Pi Touchscreen panels - layout expansion questions
Date: Sunday, May 25, 2025 11:21 AM

Thanks for that info gents.
?
The Raspberry Pi is something like a model 3 from what I remember, although without dismantling the current setup I can't confirm.
?
A couple more questions if I may?
?
I designed the original panel via panel pro on my laptop and just copied the file across to the microSD card for the Raspberry Pi. Assuming that I can have two panels running in consecutive tabs on the raspberry pi and then access the new one via the Web?
?
I've already designed the new control panel on the laptop, but when I open the turnout table and then try to add another turnout to the table when I click the "add" button it just opens a blank window - do I actually need to be connected to the layout address to map the turnouts? I don't recall doing this beforehand.


 

At the moment both panels are saved under different names as separate xml files.
?
I think the turnout table is because I'm not running JMRI in simulator mode and it's looking for the NCE USB connection.
?
?


 

Richard,

Trying to load two supposedly separate files rarely works. ?When you load two separate files and then do a store, the resulting file contains everything from both files. ?Once a file is loaded, the content is no longer associated with which file it came from.

Dave Sand


----- Original message -----
From: "Richard Lea via groups.io" <supanedbb=[email protected]>
Subject: Re: [jmriusers] JMRI/Raspberry Pi Touchscreen panels - layout expansion questions
Date: Sunday, May 25, 2025 11:56 AM

At the moment both panels are saved under different names as separate xml files.
?
I think the turnout table is because I'm not running JMRI in simulator mode and it's looking for the NCE USB connection.
?
?


 

At Sun, 25 May 2025 10:47:38 -0400 "Ken Cameron" <kcameron@...> wrote:


Richard,



The simplest way to expand control is via the web. A tablet, using a
web panel from your Pi will do the controlling. Keeping to a single
computer talking to the command station is critical for your system.
If the Pi and touchscreen is fine for you, the 2nd one is just running
a browser for that panel on it.
A second Pi and touchscreen on the network (WiFi or Ethernet) is functionally
the same as a tablet. Not sure which is cheaper. The second 'Pi need not be
partitularly powerful -- I've run Chomium on a 1Gig Pi *2* without problems. I
think Pi 2s are still available for $35. 1Gig Pi 3's are certianly available:





-Ken Cameron, Member JMRI Dev Team

www.jmri.org <>

www.fingerlakeslivesteamers.org
<>

www.cnymod.com <>











--
Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software -- Custom Software Services
-- Linux Administration Services
heller@... -- Webhosting Services