Author Topic: Touch screens, JMRI and interfacing with the layout  (Read 5823 times)

0 Members and 1 Guest are viewing this topic.

C855B

  • Crew
  • *
  • Posts: 10950
  • Respect: +2480
Re: Touch screens, JMRI and interfacing with the layout
« Reply #15 on: September 18, 2015, 12:48:59 AM »
0
... download my dropbox file to your computer, open PanelPro, and tell it to open a new panel, select the dropbox file and it should display for you.

No joy here. It wants sensor object definitions, and throws an error on every sensor (don't know what else might be wrong, I give up after 30 or 40 clicks clearing error dialogs):

[ Guests cannot view attachments ]
...mike

http://www.gibboncozadandwestern.com

Note: Images linked in my postings are on an HTTP server, not HTTPS. Enable "mixed content" in your browser to view.

There are over 1000 images on this server. Not changing anytime soon.

bbussey

  • Crew
  • *
  • Posts: 8921
  • Gender: Male
  • Respect: +4784
    • www.bbussey.net
Re: Touch screens, JMRI and interfacing with the layout
« Reply #16 on: September 18, 2015, 01:09:56 AM »
0
In all seriousness @bbussey it looks like someone may have figured it out:

https://www.facebook.com/modelcraftsman

https://www.facebook.com/ritmrc/photos/a.530510203704648.1073741844.393931700695833/867810953307903/?type=1&fref=nf

I will start playing with Panel Pro.  If it is HTML, then I should be able to make it look the way I want.

@bbussey  -- spend 10 minutes to watch this video .. Bob is a great guy and has been working this exact problem ..  he is also on the jmri list ..

John, the video definitely is interesting.  I'm not going to do the Engine Driver control from cell phones or tablets.  But I will try to get the web interface running.  First step is to learn Panel Pro and see if it will do what I want it to do.
Bryan Busséy
NHRHTA #2246
NSE #1117
www.bbussey.net


bbussey

  • Crew
  • *
  • Posts: 8921
  • Gender: Male
  • Respect: +4784
    • www.bbussey.net
Re: Touch screens, JMRI and interfacing with the layout
« Reply #17 on: September 18, 2015, 10:56:40 AM »
0
Be careful on length of USB cables. It's not a particularly robust standard for long hauls. I'll probably need to be wi-fi to any subpanels.

I'm with Eric about the JMRI web implementation on tablets. Definitely an opportunity for cost savings there by using older iPads.

Looks like I can install USB 3.0 wireless for any USB touch panels over 3 meters away from the computer.  The main panel will be well within that distance.  I will make sure to install USB 3.0 ports in whatever spare workstation I decide to use as the layout computer.  The question now is can I use the touch panels as web browsers, since the easiest PanelPro interface appears to be through its web server.


Bryan Busséy
NHRHTA #2246
NSE #1117
www.bbussey.net


peteski

  • Crew
  • *
  • Posts: 33201
  • Gender: Male
  • Honorary Resident Curmudgeon
  • Respect: +5460
    • Coming (not so) soon...
Re: Touch screens, JMRI and interfacing with the layout
« Reply #18 on: September 18, 2015, 12:09:18 PM »
0
One possible thing I see against this setup is is if operators can accidentally exit or minimize the browser window or accidentally hit some button or area of the screen which will mess things up (exit the panel view or lock it uo somehow).  If you have an operating session with bunch of people then trust me - this will happen. Unless all of your operators are intimately familiar with JMRI, PanelPro and tablets in general, those accidental screw-ups will be frustrating the the operators and to you (since you will have to go over and fix things).

That is why either systems with touch panels running dedicated software (which only responds to the touches for controlling things displayed on the panel - doesn't allow exiting to another level of operating system) or even the old-fashion hardwired control panels  are the ones which provide the most positive and hassle-free experience during an operating session.
. . . 42 . . .

railnerd

  • Crew
  • *
  • Posts: 764
  • Gender: Male
  • Respect: +230
Re: Touch screens, JMRI and interfacing with the layout
« Reply #19 on: September 18, 2015, 12:55:08 PM »
0
That is why either systems with touch panels running dedicated software (which only responds to the touches for controlling things displayed on the panel - doesn't allow exiting to another level of operating system) or even the old-fashion hardwired control panels  are the ones which provide the most positive and hassle-free experience during an operating session.

FWIW, the iPad has a "guided access" mode (originally designed for school kids) is also useful:

    http://www.webascender.com/Blog/ID/447/How-to-Setup-Kiosk-Mode-Lock-Your-iPad-to-Just-One-App

-Dave

Santa Fe Guy

  • Crew
  • *
  • Posts: 1096
  • Respect: +359
Re: Touch screens, JMRI and interfacing with the layout
« Reply #20 on: September 18, 2015, 08:48:46 PM »
0
I'm with Pete. On my S.F.R.S.D CTC panels I have stayed with the old toggle system on the panels. On the town panels we installed momentary toggles for the main line turnouts that are also controlled by the CTC panel. The siding toggles stayed as they were. The dispatcher has full control so the engineers only have to run their train and follow the signals. Once they get to the town they need to switch, they call up the dispatcher so he can give them approval to throw the turnouts the old fashion way for the areas they need to go. Once they complete their task they call the dispatcher and he then sets the turnouts and signals and gives them clearance to depart. With the car cards we use plus controlling their train the engineers have enough to think about IMO. I have been operating for many years and guys get tired. Just a thought.
Rod.
Santafesd40.blogspot.com

Bangorboy

  • Crew
  • *
  • Posts: 224
  • Gender: Male
  • Respect: +15
Re: Touch screens, JMRI and interfacing with the layout
« Reply #21 on: September 18, 2015, 09:42:28 PM »
0
Sorry it didn't work for you, Peteski.

I just checked it out to make sure it works, so it must be my settings are different.  I have exerienced the endless error messages before as you describe.  Very frustrating that you have to click for every sensor instead of having a button to apply your click selection to ALL.

Anyway, you shouldn't have to download the file again.  Try this:
Open JMRI
Select PanelPro
Click Edit
Click Preferences
Under Connections in the left menu, enter Digitrax and Loconet Simulator in the boxes.
Click Save
Then try opening the downloaded file under Load Panels.

Hope it works for you this time.  It just did for me, and I made sure it wasn't opening one of my internal files -- just the one I downloaded from dropbox.
Bill B
Drole & Lake Connick RR
N Scaling in South Okaloosa

C855B

  • Crew
  • *
  • Posts: 10950
  • Respect: +2480
Re: Touch screens, JMRI and interfacing with the layout
« Reply #22 on: September 18, 2015, 09:48:08 PM »
0
That was me, Bill. I was trying with a virgin download of the current production JMRI, so hopefully it wasn't something required I didn't do.

When I get back home - futzing with insulation at the train palace at the moment - I'll try it with your procedure.
...mike

http://www.gibboncozadandwestern.com

Note: Images linked in my postings are on an HTTP server, not HTTPS. Enable "mixed content" in your browser to view.

There are over 1000 images on this server. Not changing anytime soon.

C855B

  • Crew
  • *
  • Posts: 10950
  • Respect: +2480
Re: Touch screens, JMRI and interfacing with the layout
« Reply #23 on: September 18, 2015, 11:16:17 PM »
0
Thanks, Bill. It was "Connections" - it needed a network to assert object links.

Looks nice. Good starting point for playing with JMRI panel ops. Thanks!
...mike

http://www.gibboncozadandwestern.com

Note: Images linked in my postings are on an HTTP server, not HTTPS. Enable "mixed content" in your browser to view.

There are over 1000 images on this server. Not changing anytime soon.

C855B

  • Crew
  • *
  • Posts: 10950
  • Respect: +2480
Re: Touch screens, JMRI and interfacing with the layout
« Reply #24 on: September 19, 2015, 12:00:49 AM »
0
Web server is very impressive. The browser display was even better (under Safari) than the native PanelPro display. It was interesting to watch the controls update when clicked from the other screen. I couldn't get it to run in my Firefox, but I do have Javascript and other executables locked-down and would expect it to barf.

I could not get the browser interface to work correctly on a v1.0 iPad - slow to display, redraws didn't work for beans, and controls didn't work. However, on my iPhone5/IOS 7.1 it was flawless. Apparently there is a minimum host software support level... anybody happen to know the minimum IOS the browser page will run on? Couldn't find anything in the JMRI info.
...mike

http://www.gibboncozadandwestern.com

Note: Images linked in my postings are on an HTTP server, not HTTPS. Enable "mixed content" in your browser to view.

There are over 1000 images on this server. Not changing anytime soon.

Bangorboy

  • Crew
  • *
  • Posts: 224
  • Gender: Male
  • Respect: +15
Re: Touch screens, JMRI and interfacing with the layout
« Reply #25 on: September 19, 2015, 12:09:25 AM »
0
Okay!

Thrilled that it works for you, and that I was able to contribute something of use to the forum.

It is cool to see the JMRI on the host computer update turnouts and indicator lights when you click on a remote panel on another device.  Also cool to see the real layout turnouts move and the train follow the commanded path.  I'm liking this more and more as I go along.

And this panel has been way easier to update and modify than a physical panel with hard switches and wiring, and painted tracks.  Not to mention that each of the tracks on this diagram will display red when the block is occupied.  Eventually, I hope to have them also display yellow when a train has clearance to use a track but hasn't arrived there yet, then go on the have JMRI run some scheduled trains while I and a friend run locals.

It's all in JMRI, I just haven't learned how to use it yet.
Bill B
Drole & Lake Connick RR
N Scaling in South Okaloosa

Bangorboy

  • Crew
  • *
  • Posts: 224
  • Gender: Male
  • Respect: +15
Re: Touch screens, JMRI and interfacing with the layout
« Reply #26 on: September 19, 2015, 12:21:52 AM »
0
Didn't mention before, but I think even if you plan to design a CTC-style panel with US&S controls displayed on it, it is probably a good idea to draw a diagram of the layout in Layout Editor like I did.  That's what tells JMRI what blocks are connected and where.  Not sure the diagrams on the CTC panel will allow that kind of programming.  The ramps at the sides of this diagram will also be shown on the visible track level diagram to show connections there.

Before I get into that, I need to design some sort of track plan for the scenicked portion of my layout.  So far, I have laid the tracks shown on the diagram.  Next is to continue the ramps at the top around the room where they will meet in a single track along the wall at the bottom, above the track shown.  There will be turnouts from that single track onto the visible parts of the layout.

All the DS64s, BDL168s, and PSXs are in 3 drawers under the staging yard (2) and the return loop (1) at the bottom of the diagram, with room for more as I get into the scenicked trackage.

Wish me luck!
Bill B
Drole & Lake Connick RR
N Scaling in South Okaloosa

Bangorboy

  • Crew
  • *
  • Posts: 224
  • Gender: Male
  • Respect: +15
Re: Touch screens, JMRI and interfacing with the layout
« Reply #27 on: September 19, 2015, 12:24:00 AM »
0
Mike, am I confusing you with someone else, or do you live in NW Fla.?  I bought a switcher from you at a swap meet in Milton, if you are who I think you are.
Bill B
Drole & Lake Connick RR
N Scaling in South Okaloosa

C855B

  • Crew
  • *
  • Posts: 10950
  • Respect: +2480
Re: Touch screens, JMRI and interfacing with the layout
« Reply #28 on: September 19, 2015, 12:28:57 AM »
0
Nope... not I. This thread will reveal entirely too many personal details about me. :scared:
...mike

http://www.gibboncozadandwestern.com

Note: Images linked in my postings are on an HTTP server, not HTTPS. Enable "mixed content" in your browser to view.

There are over 1000 images on this server. Not changing anytime soon.

John

  • Administrator
  • Crew
  • *****
  • Posts: 13446
  • Respect: +3310
Re: Touch screens, JMRI and interfacing with the layout
« Reply #29 on: September 19, 2015, 06:46:45 AM »
0
Okay!


And this panel has been way easier to update and modify than a physical panel with hard switches and wiring, and painted tracks.  Not to mention that each of the tracks on this diagram will display red when the block is occupied.  Eventually, I hope to have them also display yellow when a train has clearance to use a track but hasn't arrived there yet, then go on the have JMRI run some scheduled trains while I and a friend run locals.


all the things you want to do, JMRI can do .. there is also a program called CATS that runs under JMRI, that will allow you to put clearance to a block, just like you want .its a bit easier (once you get the hang of it) to set up a cool panel ..


btw @bbussey .. for remote panels,  JMRI supports TCP over loconet ..  so you could put cheap wireless tablets at the locations you want and will update from the master JMRI computer ..