¿ªÔÆÌåÓý

Date

Locked Re: Corrupted Panel File

 

Walt,

They are under the "How to use this area".

Dave Sand

On Sep 8, 2018, at 2:35 PM, Walter Thompson <walter.stanley.thompson.3@...> wrote:


Greg:
I can not find your files in the files area. Did add them to /g/jmriusers/files/ProblemsBeingWorkedOn?
Walt

--
Walter Thompson
walterstanleythompson3@...
Ph 651 644 8673 Central time Zone
Saint Paul Minnesota USA


Locked Re: Corrupted Panel File

Walter Thompson
 


Greg:
I can not find your files in the files area. Did add them to?/g/jmriusers/files/ProblemsBeingWorkedOn?
Walt

--
Walter Thompson
walterstanleythompson3@...

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


Locked Corrupted Panel File

 

I have a panel file that was running fine using PanelPro until about a week ago.? I did not add any new features, just used the Routes function to set some turnouts.? I went to open it up this week and now it causes JRMI to act extremely sluggish and also does not show the panel. I thought that by updating the JRMI version, it would help, but it did not.? Currently the "About PanelPro" shows JRMI version 4.12+Rb6a9bb1 and Java version 1.8.0_181.? I have two computers, one connected directly to the layout via Loconet and the other using a simulated connection.? Both are Windows 10 and I see the same issue on both machines. I assume a corrupted file and have used the check XML function within JRMI and it came back as "Ok".

I have created a directory in the ProblemsBeingWorkedOn directory called Greg Brubaker. I have downloaded two files, one is the newest backup version and the other is the corrupted version.? The backup appears to come up and if I have to, I will restart with it.? The corrupted file has new routes, turnouts, and other corrections that I do not want to have to recreate. Again, I had all the "new" stuff added and running fine just a couple of weeks ago and have not added anything new that would cause it to break.

Any help would greatly be appreciated.
Greg


Locked Re: Audio Coding

 

Sorry but to my non-programmer laymans eyes, this seems to be adding entries to a dictionary and not defining the audio files that I need to prepared for use in my script. That seems to be the case when I used this.?
Sorry if that is a poor explanation but as a non-programmer I can only proceed by following and adapting examples.


Locked Re: decoder pro operations

 

All sorted now thanks for your help
David Brown


Locked Re: JMRI Sensor Channels ¨C Direct Arduino to JMRI Communications

 

Hi Geoff

Thats very interesting. I achieved a similar thing using an Arduino Mega and DCC++ with no shields. Setting it as a command station automatically loads the sensor table from the sensors configured in the eeprom or through the JMRI DCC++ command station setup tables. I just don¡¯t use it as a command station!

Andy


Locked Throttle Pane - speed step display

 

I've built a DCC++ command station and Raspberry Pi/JMRI combination.

Everything works fine, however, I have one small question that may verify my interpretation of some reading.

I can make a throttle window in JMRI, the default scale is 0-100%.? I changed the display to "speed steps."? 128 steps are preselected, the radio buttons for 28, 27 and 14 are grayed out. (of course, I'd like to set it to 28, for a relatively minor reason.)

Reading the DCC++ docs leads me to believe it only supports 128 speed steps. That would explain why the other choices are grayed out.

I just would like to verify that I'm not overlooking a preference or configuration setting in JMRI that may really be what is limiting the scale to 128.??

Thanks, gs


Locked Re: Two different rosters

 

Hi, I¡¯m not sure if it works for you but I have my roster in groups. That way I have everything on the one roster but I can select the group to view just the roster entries in that group. If you actually want different settings in your roster entries then that may not work for you - although you could create a test version of each too...


Locked Re: WiFi on Raspberry Pi

 

Hello Bruce,

I have one of these running on my home layout in place of my laptop. Using Steve's image, I have two versions running with two separate SD cards (one with the WiFi hot spot, and the other configured to connect to my home WiFi network).

If you desire a full user interface, you may connect an HDMI capable monitor, and either a wired USB keyboard/mouse, or any one of the many wireless keyboard mouse combos with a USB receiver. The RPi 3 B has ports for all of this.

I will be presenting a clinic on this technology at the next NMRA convention that is here in the Phoenix area.

Since we both live in the valley, I would be glad to help with your implementation if needed. You can reach me here, or at the McCormick-Stillman Railroad Park.

Richard Sauerbrun


Locked Re: Two different rosters

 

Kurt,

You could have different directory trees but it would require changing it in
the preferences and restarting JMRI to change from one to the other. The
suggested way is to use the grouping feature in the roster so you can pick
the group of roster entries you want to view. The problem with that is I
don't think the phone throttles have any idea of groups.

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


Locked Re: Two different rosters

 

Problem solved. Help --> Profiles

Kurt


Locked Re: Saving Sensors by RailCom

 

EXAMPLE

I am glad to see the topic has not ended with what I thought to be my last word. I recall now Ken was asking for examples. There is one in my other topic Scripts but it is not readily seen to be a special case. Here is a simple example that can directly be understood without any general theory.

The layout is just a circular track divided into four blocks A, B, C, D in this order in clockwise direction. Two trains are following each other in clockwise direction.

At the outset Train 1 is in B and Train 2 is in A. First Train 1 goes to C and once it reaches C it stops. Then Train 2 goes to B and once it reaches B it stops. Then Train 1 goes to D and once it reaches D it stops. Then Train 2 goes to C, Train 1 goes to A, and so on cyclically for ever.

It is easy to automate this movement by connecting ordinary occupancy sensors - I mean ones having only two states, active and inactive - to A, B, C, D each.

The graph has four vertices: A, B, C, D and four edges: between A and B, B and C, C and D, D and A. Such a graph is called, not surprisingly, a circle. It can be coloured, as any circle having an even number of vertices, by two colours, painting every second vertex red and the remaining ones blue.

And in fact, having two RailCom detectors, Sensor 1 attached to A and C, Sensor 2 attached to B and D we can do the same automation instead of the four sensors as before.

We start Train 1 and when Sensor 1 first sees it we know it has just arrived in C and stop it. (If Sensor 1 were an ordinary occupancy detector it could not do that for its state remains active all the time since Train 2 is still in A.) Then? we move Train 2 to B and when Sensor 2 first sees it we stop it. And so on.

Gabor


Locked Two different rosters

 

Hi everybody

is it possible to have two different rosters? One for the layout and a other for testing purposes?

Regards Kurt


Locked Dispatcher

Graham Orriss
 

Hello all,

Can anyone help me?? After using Dispatcher to move trains automatically, I terminate the last train and close the program.? When I open the program again and open Dispatcher the last train is still open and starts to move on its own.? How can I stop this happening??

Graham Orriss (UK)


Locked Operations Trains

 

When I attempted to open my built trains I received the following error message

Unrecoverable Error Encountered
This application will quit

What is the cause and possible correction

Jerry Hampton


Locked Re: Saving Sensors by RailCom

 

Bob,

I am starting off from the assumption that
Train 1 is in A and Train 2 is Y.
is a misprint for "Train 1 is in A and Train 2 is in X". Even then you may think of two cases. Recall in both of them that S is a RailCom detector, it does not only go active, it can also recognize Train 1 and/or Train 2.

Case 1. We (by our computer) control the trains and we want to move Train 1 into B and Train 2 into Y. When S first catches sight of Train 1 then it is in B. When S first catches sight of Train 2 it is in Y. If S e.g. keeps seeing Train 1 when it first catches sight of? Train 2, as well, then both B and Y are occupied by Train 1 and Train 2, respectively.

Case 2. Trains do not obey us. This case is shortly discussed in the last but second paragraph of my post starting this topic. If it is S that, among all the detectors, first catches sight of Train 1 then it is in B. In fact, suppose that it is in another block, say B 1 attached to S. Then B 1 is a neighbour of A and A is a neighbour of B, hence B and B 1 are second neighbours of each other connected to the same detector S but in Case 2 we have agreed to attach different sensors to second neighbours. Similarly we see when Train 2 first arrives in the area of S, then necessarily in Y and the same way as in Case 1 we can see when both B and Y get occupied by the two trains.

In this context you are quoting a paragraph in my answer to Jan. Let me try to avoid a possible misunderstanding.

In this paragraph I am only pointing out that one may install any number of detectors greater than the chromatic number, granting that choosing the fewest possible detectors might not be the best solution? (but expressing? my feeling that, considering all possible angles of the problem, some saving will still be advantageous).

Gabor


Locked Re: Linux instead of Windows XP with JMRI plus my compiled railroad interface programs?

 

Thanks, GS. Guess I need to seriously look at a Raspberry PI. I appreciate you sharing your insight!

Don Weigt


Locked Re: Panel cannot create sensors

 

Well before creating the files to upload on a whim I reinstalled JMRI 4.12, everything worked correctly, go figure. Yesterday I reloaded the same version and it failed, who knows what tomorrow may bring.

Subject to fat thumbs and strange spell check changes. _Ernie


Locked Re: Linux instead of Windows XP with JMRI plus my compiled railroad interface programs?

 

Not sure where I fit in that sympathetic post. ;)

Somehow, the growing demand for more and more varieties of actually realistic track parts, has put my own layout work even further into the future. And yet my to do list is even longer than before. :(

Andy

Still using refurb XP machines for CNC milling controllers.

On 9/7/2018 7:32 AM, Don Weigt wrote:
Thank you, everyone for your quick and helpful replies!

Seems I need a newer computer, as I'm not looking for yet another hobby! I'm 74, and it's going to be a several year project to get my railroad rebuilt in our new home, functional, and with basic scenery to give a reasonable impression and keep derailed trains from falling to the floor.

There is plenty more to add later: working signals, paint on those brass locos, more and better structures. I'm sure many of you are in the same situation, with an endless set of possible projects. Isn't it great to have so many choices of how to spend our free time! I feel sorry for people who don't have lives beyond work.

Don Weigt

---
This email has been checked for viruses by AVG.


Locked Re: WiFi on Raspberry Pi

Steve Spence
 

gigabit ethernet speeds are not met because of usb limitations, not because of the driver.


Steve Spence, KK4HFJ


On Fri, Sep 7, 2018 at 1:21 PM Daniel Sieber <daniel.sieber@...> wrote:
Bruce

Steve Todd designed his RPi-JMRI image to be used with a Raspberry Pi 3 Model B,
which has built-in Wi-Fi (2.4 GHz), RJ-45 socket for 100 MBit/s Fast Ethernet LAN, HDMI socket for an optional monitor and four USB sockets (type A) for optional keyboard/mouse connection.

This image also works the same on a slightly more expensive Raspberry Pi 3 Model B+,
which has built-in dual-band Wi-Fi (2.4 GHz/5 GHz), RJ-45 socket for max. 300 MBit/s "Gigabit" Ethernet LAN, HDMI socket for an optional monitor and four USB sockets (type A) for optional keyboard/mouse connection.
But you cannot make use of the hardware advantages in a B+ versus a B model (!). In particular the Wi-Fi will only operate in 2.4 GHz band and the Ethernet remains on max. 100 MBit/s due to the drivers in the image. I tried that.

Older Raspberry Pi's do not have built-in Wi-Fi, so you need some Wi-Fi Transceiver to plug into a USB socket and may need to install its Unix drivers. Other drivers in the image for built-in hardware interfaces may also not work correctly. But I can't tell because I've never tried images released this year on older Pi's.

It's unlikely that you need an USB-hub with the 4 existing USB sockets (type A) in Raspberry Pi 3 Model B or B+.

You can directly connect a monitor, keyboard and mouse - but you don't have to. You can also remotely control the Raspberry Pi from another computer (f.e. with free VNC client software), either wireless through Wi-Fi or tethered through Ethernet.

Like every Wi-Fi Access Point, the Raspberry Pi should be up (min. 1.5 m / 5 ft. above ground) and without other electronic devices near it (within a radius of about 1 m / 3 ft.) for best working conditions. Although it may also work, nobody would put a radio antenna into a drawer or down on the floor - Wi-Fi is radio (and the rules for wave propagation apply).

Daniel Sieber
Zurich, Switzerland