¿ªÔÆÌåÓý

Date

 

CJ,

It sounds like there is some misunderstanding somewhere because the Windows terminal window should not disappear.
  1. If you don't know already, determine where JMRI is located.? An easy way to do this is if you have a Panel Pro or Decoder Pro icon on the desktop, right click->Properties->Shortcut tab.? Look at the Target field.? You may have to select it and using the left arrow key, scroll to the left.? The entry should begin with "C:\Program Files\JMRI? or "C:\Program Files (x86)\JMRI.? If the former, then you are running a 64 bit version of Java.? If the latter, then you are running a 32 bit version of Java.
  2. Launch a Windows terminal.? Right click on Start.? Left click on Command Prompt.
  3. In that terminal window, enter the following: cd "C:\Program Files\JMRI"? or cd "C:\Program FIles (x86)\JMRI"? - the same thing as found in step 1.
  4. In that terminal window, enter the following: cats
  5. In that terminal window, when the prompt returns, enter the following: designer
  6. When the prompt returns in the terminal window, select the terminal window and type Ctrl+A (hold down the Ctrl key and touch the A key).? The text in the window should be highlighted.
  7. In the terminal window, type Ctrl+C to copy the highlighted text to the clipboard.
  8. Launch the application that you use to work with this JMRI group.
  9. In that application, type Ctrl+V to paste the contents of the terminal window into a reply.
  10. Post the reply
Rodney


Locked Re: delete from block table

 

Jim,

If you have an XML aware editor, totally understand XML formatting, and understand how the JMRI panel xml file is organized, you might not make things worse. ?Only work on a copy. ?The basic concept is easy. ?Remove all references to the block user name. ?Also check from any references to the block's system name.

While the multiple step procedure is cumbersome, the JMRI code maintains the data integrity.


Dave Sand

----- Original message -----
From: James Anderson <james_anderson_999@...>
Subject: Re: [jmriusers] delete from block table
Date: Thursday, January 23, 2020 12:39 AM

Thanks i had to delete a lot of stuff but it has done the trick. Can I ask if i could have edited the XML file and done it that way or if that would have made matters worse.?

Jim


Locked Bricking Light-it with SPROG

 

Yesterday I was afraid I had bricked 5 light-its in one go.
Luckily I found Dave's recipe to recover from DC mode, and that solved it.
?
The reason I ended up doing this was the problem I described in a previous thread;?
that JMRI starts in a mode where turnout commands are not sent to SPROG from the Layout editor.
After powering the SPROG, I have to restart JMRI at least twice to get the SPROG USB LED flashing correctly.
?
I was experimenting with quitting JMRI *without* turning off SPROG track power first.
While doing this I suddenly noticed that *all* my 5 light-its were dark.
?
So in this process it appears JMRI sent something that caused my light-its to enter a strange state.
?
The problem with initializing the SPROG is not solved, but I should obviously avoid quitting with track power on....

Torgrim


Locked Re: Atlas C420 with LokSound 5. The only sound I get from this engine is the brake squeel.

Thomas Costello
 

Gary, thanks for the follow up. Dave Heap sent me step by step instructions to read and write the CV pane. All is working great. This is my first LokSound decoder and very happy with the results. You guys are the greatest.?




On Wednesday, January 22, 2020, 3:47 PM, Gary Dobias <bgrgbldr@...> wrote:


Thomas,
Were you able to resolve your issue?

Gary Dobias

On Fri, Jan 17, 2020 at 4:46 PM Gary Dobias <bgrgbldr@...> wrote:
Thomas,
Is this a new locomotive or new decoder for you? Many new users do not realize that LokSound decoders are silent when you place them on the track. You will not get engine sounds until you hit function 8 which turns on engines sounds.

CV8 to 8 resets the decoder to factory settings.
I hope it is just this simple if not provide more details and we can help.

Gary Dobias


Locked Re: Can I use two computers to control JMRI panels ?

 

On Wed, Jan 22, 2020 at 04:13 PM, Frank in Houston wrote:
i have a remote dispatcher computer located in a different room from the railroad and my DCS240 command station. With this computer using a loco buffer-usb, connected to one of the ports on the the command station DCS240 (using a long telephone wire), I control the turnouts on my railroad using Panels I developed using JMRI?

Frank, I have been investigating a similar arrangement for our use at TSMRI.? I had originally planned on connecting the remote PC (in the other room) with a long LocoNet cable (about 40') and a PR3.? Then, I subsequently looked at merely using Web Pages on the remote PC to control the layout laptop running WiThrottle and WebServer.? While testing this one day (and worrying about the load on the layout laptop and the lag), I remembered an old message that talked about LocoNet over TCP/IP, which as I recall, was described as a way to do a connection to an off-site PC.? That is what I will be testing next at the Club because tests at home worked great!?

On the layout/Command Station connected PC/laptop:
- I clicked on the *"LocoNetOverTCP Server"* option shown in? the *LocoNet* Menu,
- note the Port number (I leave mine as default of 1234),
- note the WiThrottle IP Address published on the WiThrottle window.
On the remote PC (which is connected to the same WiFi router):
- I start JMRI,
- either add a new Config Profile or merely modify my connection in Preferences to show the System Connection as *"LocoNet over TCP"*,
- set? *"IP Address/Host Name"* to the IP address of the WiThrottle server (and I will leave the default port of 1234),
- save Preference and restart JMRI,
- I usually verify the connection with the LocoNetOverTCP server by opening a Throttle on the remote PC and turning track power Off and On (but only if no one else is on the layout).

I had been concerned about the length of LocoNet cable I was planning to need, and was not satisfied with the WebServer method (since I would have to have all the panels that I needed remotely to be running on my layout laptop). Now, I plan to test? this setup with new panels for my Dispatcher to view on the remote PC (no control needed for my Dispatcher as we run TT/TO Operations although that remote PC has the capability).?

Others who have used or already tried this may have more to add, but it seems like a great way to connect.?

Phil in gorgeous Young Harris, Georgia, USA


Locked Re: Can I use two computers to control JMRI panels ?

Frank in Houston
 

Thank you. It got it working. I am the only one who throws turnouts. THANK YOU ALL FOR THE HELP.?


Locked Re: What's the secret to RailDriver? #raildriver

 

I wrote the RailDriver code for macOS. It's not macOS specific except that some Windows users have reported that it didn't work for them "out of the box"; something to do with USB device permissions (that isn't an issue on linux/macOS). Note: they're are two RailDriver menu items: One was the original code (that didn't work on macOS/linux) and the other is the implementation written by me (for macOS/Linux). The original code that worked on Windows is called "RailDriver (built in)" and the macOS/Linux one written by me is just called "RailDriver". Make sure you try both.


Locked Re: delete from block table

 

Thanks i had to delete a lot of stuff but it has done the trick. Can I ask if i could have edited the XML file and done it that way or if that would have made matters worse.?

Jim


Locked Re: Layout Editor and Webserver Panel turnout display inconsistent #layouteditor #webserver

 

This has been resolved by PR #7969.


Locked Re: Can I use two computers to control JMRI panels ?

 

Frank,

With a LocoNet-based command station, you likely will run into problems when adding a second computer running JMRI, unless you take special care. This relates to "command station turnout buffering overrun" and JMRI's response when this happens. I would suggest that all JMRI instances (or all but one JMRI instance) be set for "only once" turnout command handling (in the JMRI connection profile).

See for details about the basic JMRI problem. Also, in that same web page, see the last bullet-point before the heading "JMRI information and tools for LocoNet-specific hardware and features" for information on having multiple JMRI instances (i.e. computers running JMRI) operating on the same LocoNet.

Regards,
Billybob


Locked Re: Layout Editor - Cannot Create new blpocks

 

On Wed, Jan 22, 2020 at 05:41 PM, peter.s.drury wrote:


Will I be updated with
progress on this message thread?
Peter

Not unless George decides to.

--
Peter Ulvestad

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


Locked What's the secret to RailDriver? #raildriver

 

I was given a RailDriver controller and have been unsuccessfully trying to get it to work with Decoder Pro.? Hopefully someone will know the secret incantation to make it work.? The RailDriver works fine with train simulation software (Open Rails/Microsoft Train Simulator), so it's not defective.? The Decoder Pro throttles work fine with my NCE PowerPro system.? But when I try to open a Raildriver throttle through the Debug menu, nothing happens.

I have tried it on two computers running different versions of JMRI as follows.

Dell Inspiron 3650 desktop, Windows 10, JMRI 4.18 Java 8 #101, Loksound USB-Serial cable
IBM T-30 Thinkpad, Windows XP Pro, JMRI 3.10, Java 7 #76, direct serial cable

As mentioned, the regular Decoder Pro throttles work fine under both setups, so there are no communications issues between computer and NCE command station.

I'm obviously not doing something right - any ideas?? I thought the old T-30 would work with the older versions of everything, but nope.

Steve Troy


Locked Re: Layout Editor - Cannot Create new blpocks

 

Thanks Peter, George and all those dealing with this. Will I be updated with progress on this message thread?
In the mean time, I shall continue with other issues I have in building my MERG/JMRI interface with my layout.
Best wishes
Peter


Locked Re: Can I use two computers to control JMRI panels ?

 

Frank,

Other than the reference to a "small layout room," your original post is silent as to whether there are any LNRPXTRA LocoNet Repeater Modules so this paragraph is perhaps more important to other members who might be reading. If LocoNet Repeaters are used, it is important that ANY JMRI computer is connected on the Command Station - Booster side of your LocoNet partitions.

One point that should be made for any kind of dual control situation is that ONLY ONE can be master, unless you enjoy tracing intermittent nonsense on your network. To me, that means that all of your scripts, Routes, Lroutes, Logix, or any other control decisions must be on one computer and only one. If done extremely carefully, perhaps different automation control functions could be done on different computers, but that would require diligent documentation or an infinite ability to recall all of the details.

Certainly the visual part of your panels can show up on as many computer screens or WiFi tablets as is convenient for your space requirements, but there has to be a tacit if not explicit understanding that two people are not trying to throw the same Turnout, move the same turntable, etc. at the same time.

This kind of isolation of control is more difficult to manage if two separate computers are running similar scripts or the same script. The same goes for all of the other control options that JMRI features.

Cliff in Baja SoCall


Locked Re: Layout Editor - Cannot Create new blpocks

 

After the changes have been merged, it will be in a package available for testing here:

These are not official releases. Only packages downloaded from jmri.org are official releases.

It will then be in the 4.19.3 test release in the next few weeks.

--
Peter Ulvestad

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


Locked Re: Layout Editor - Cannot Create new blpocks

 

Many thanks Peter.
From this link it appears that my concern has been raised as an issue by George for code changing. Thanks George.
I presume this will result in a revision change to Panel Pro which I shall have to wait until it is released.
Best wishes
Peter


Locked Re: Layout Editor - Cannot Create new blpocks

 



--
Peter Ulvestad

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


Locked Re: Can I use two computers to control JMRI panels ?

Frank in Houston
 

Thank you.?


Locked Re: Layout Editor - Cannot Create new blpocks

 

I have spent? hours trying to find a way to get at the information that George has referenced above. I am very weak in my experience on this forum and that does not help. Could someone please tell me how I can access the link? that George has recommended.
Many thanks
Peter


cjbooke
 

Rodney,

I am running Windows 10 64 bit.? Unzipped release2043 to JMRI.? I went through the troubleshooting steps and still cannot get CATS or designer to load.? It comes up with a pop up for a split second then disappears.