¿ªÔÆÌåÓý

Date

Locked Re: Still not printing readable pages

 

Rick,



You said 4.6 which is now over 6 months old. We've released the 4.8
production version and we keep improving things. Could you try this current
release and confirm if you get the same results??



-Ken Cameron, Member JMRI Dev Team

www.jmri.org

www.fingerlakeslivesteamers.org

www.cnymod.com

www.syracusemodelrr.org


Locked Still not printing readable pages

 

I thank all who have given me tips about this problem but it still persists. Are there any "coders/programmers" here who could look at the JMRI/DecoderPro and see where the value is set for the printing of the all CV's/summary pages? I have now tested with 3 different printers on 2 different installs of 4.6 JMRI under Windows10 and all I am still getting is "ant tracks" for print out of these pages. Someone here suggested I try converting it to a pdf and that works. Why??? That is a truly long way around way to get a print out of my loco CV settings after I am done programming. I seem to be the only one with this problem and it is very frustrating.The preferences menu doesn't affect the summary/all CV's pages for printing or viewing so I'm guessing the problem lies somewhere in the code wherever the font size was set for the printing process. I also, at another persons request, tried both the landscape and portrait styles of printing but they come out the same. I update from version 3 all the way to version 4 when this started happening. I think, although I am no programmer, that something got dropped or buggered up during the update. I would just go back to version 3 but it doesn't have the decoders that I am currently using. ANY help to try to fix this would be greatly appreciated. I can supply all the version numbers, OS versions and whatever screen shots you need... I just don't know where to go next...


Sincerely,
Rick Bell
Montrose, CO


Locked Re: DDA40X Dual DCC Controllers won't work

 

Assigning CV15 to any value other than 2 has no effect, the motor decoder doesn't work. I know the motor is getting power because when I place it on the programming track and program the motor gives the appropriate feedback acknowledging data received.

I'm still stuck.


Locked Cats Designer will not start (windows 10)

 

Hello all.
I have been using CATS designer and CATS on my Laptop for some time and recently designer will not start. CATS will start no problem.
I have reinstalled the files for designer with no luck.
I recently updated the version of JMRI on my PC to Ver 4.8Rbe00f15.
I also tried to roll it back to Ver 4.6-R81496dc with the same issue.


The machine is a Windows 10 64bit machine.


When I start designer I get this message.
C:\Program Files (x86)\JMRI>designer

C:\Program Files (x86)\JMRI>java -Djava.class.path=".;classes;designer.jar;lib\log4j.jar;lib\jdom.jar;log4j.jar;jdom.jar" -Dsun.java2d.noddraw designer.gui.Ctc

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/log4j/Logger
at designer.gui.Ctc.<clinit>(Ctc.java:600)
Caused by: java.lang.ClassNotFoundException: org.apache.log4j.Logger
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 1 more
C:&#92;Program Files (x86)&#92;JMRI>


Any help would be appreciated.
Regards
Brendan


Locked Re: Icons on my CTC Panel

 

On Aug 9, 2017, at 3:44 PM, robert.zeolla@... [jmriusers] <jmriusers@...> wrote:

My problem is that I cannot seem to select the track schematic image. I created this scematic in another tool and placed it on the panel as an icon. I've since edited the schematic image and want to place the new one on the panel. Trouble is, I need to remove the track icon that is already there first.
The quick-and-dirty approach is to put your new file in place of the old, with the same name.

Which editor is this? If it¡¯s in Panel Editor (or in Control Panel Editor, and you open it in Panel Editor) you don¡¯t have to select it. Just ctrl-click (or right click) and select ¡°Remove¡±.

Bob

--
Bob Jacobsen
jacobsen@... +1-510-708-5988 AIM, Skype JacobsenRG


Locked Re: Icons on my CTC Panel

 

Bob,

Dave Sand got the story correct while this was being typed!! -----


From the appearance only, since you did not provide the actual panel xml file, one is left to surmise that you have put the schematic in one or more "background icons." If so, then the normal editing functions of the Panel Editor or the Control Panel Editor will not allow you to access such icons. The background topic reoccurs every few years on this JMRI user's group forum.




If it is necessary to edit a background icon, a brute force workaround is to open the xml panel file with a good text editor and search for text that looks something like:


<positionablelabel x="0" y="0" level="1" ...



where your values for x and y may vary. (The values of x="0" y="0" indicate the upper left corner.)


It is the value for level="1" that you need to find and change to a higher number, say 2 or 3 but not 10 or above. It would be safe to assume that you have used many background icons, so it will be necessary to exert extreme caution to verify that the correct values for x and y have been discovered.


Save the result with a file with a new name. Then use PanelPro to select the changed icon. If it is the one that you intended to modify, edit, or remove then proceed and if necessary, repeat the process for one or a few background icons at a time.


Of course if you are really comfortable with the use of a good xml editor, once you have found the appropriate text, then other, if not so safe editing options are available.


Cliff Anderson in Baja SoCal


Locked Re: Icons on my CTC Panel

 

Bob,

Without looking at the panel xml file, my first guess is that you set the image to level 1. Although my panel editor experience is limited, I seem to recall that level 1 is special. If that is the case, you will need to carefully change the xml line that contains the icon from level="1" to level="2". Backup and/or make a copy the xml file first for safety.

Dave Sand


Locked Icons on my CTC Panel

 

Hello,


Please refer to file CTC PANEL.PNG in folder Bob Z CTC Panel.


I've built this panel using Bob Bucklew's tutorials. It's been in use for about 4 years and works great. I am currently in the process of adding block detection and virtual signals to my railroad. In order to accomplish this I need to replace the track schematic as shown on the image.


My problem is that I cannot seem to select the track schematic image. I created this scematic in another tool and placed it on the panel as an icon. I've since edited the schematic image and want to place the new one on the panel. Trouble is, I need to remove the track icon that is already there first.


I can select and move or remove every other icon on the panel. I cannot select the track schematic and the panel background icons. How did these icons get to this state where they cannot be selected? Is there a way for me to accomplish what I need to do, or do I need to rebuild the entire panel??!!


As always your assitance is greatly appeciated.


Bob Zeolla


Locked Re: New Computer

Nick Kulp
 

PJ,
When your friend upgraded his system, did he also upgrade to a newer OP system. W7 and W10 have different file structures so if he is using an older panel, the file locations for the resources are different. He will have to edit his xml file to reflect the new file locations since the panel cannot update that automatically. He needs to do that manually or replace all existing icons by editing the actual panel. Either way, it is a lot of work.
Nick Kulp
?"Laws that forbid the carrying of arms...disarm only those who are neither inclined nor determined to commit crimes...Such laws make things worse for the assaulted and better for the assailants; they serve rather to encourage than to prevent homicides, for an unarmed man may be attacked with greater confidence than an armed man."

-Thomas Jefferson



A friend of mine just got a new computer. He is having two problems. First we set everything up for his Panel Pro. But when it comes up all the switches come up with the Unknown Icon. How do we get it to come up with the proper switch. His next problem is the newest JMRI doesn't have some of the decoders he has. He says they are older decoders. Thanks for your help. P. J. Mattson


Locked Re: Odd problems with latest test version 4.9.1 Windows 10

 

Thanks Dave. Does sound like progress. John


Locked Re: New Computer

 

I tried to talk him though it but he got frustrated. I'll have to go to his house I guess.


Locked Re: System Console Warning Message

 

On Aug 8, 2017, at 6:53 PM, wmseapc@... [jmriusers] <jmriusers@...> wrote:
Here is my System Console below; is this what you are referring to as the "log"?
That information is also stored in a log file ( see below). So yes that was what I needed.

2017-08-08 18:32:55,715 util.Log4JUtil INFO - This log is stored in file: /Users/williamseabrooke/Library/Preferences/JMRI/log/session.log [main]
Now to the important bits of the log.

2017-08-08 18:32:59,359 liusb.LIUSBAdapter INFO - cu.usbmodem1411 port opened at 57600 baud with DTR: true RTS: true DSR: false CTS: false CD: false [main]
2017-08-08 18:32:59,522 jmrix.AbstractMRTrafficController

ERROR - Automatic Recovery from Error Message: 01 08 09. Retransmitted 0 times. [liusb.LIUSBXNetPacketizer Receive thread]
2017-08-08 18:32:59,522 jmrix.AbstractMRTrafficController
This is actually an improvement. This indicates your Mac is talking to your LIUSB, but it is sending back an error message ( one we should be able to recover from ).

This particular error message says the command station isn't giving the LIUSB a communication time slot. I am not sure why you are seeing this on startup.

Let me investigate and see what we can do to fix this.

Paul


Locked Re: Web Server

 

Harry,



Keep in mind that the address change (.2.2 to .2.3) was due to DHCP of your
access point. Unless a node is configured as 'static' in the DHCP server, it
will change from time to time due to the way DHCP works as other nodes join
and leave the network.



Consider changing the port numbers for both the Web server and throttle
server to the default values. This is helpful when others come to visit and
are used to looking for the 'default' port numbers.



If you have Bonjour service working right on your system, the values should
get advertised correctly and the use of defaults won't matter.



-Ken Cameron, Member JMRI Dev Team

www.jmri.org

www.fingerlakeslivesteamers.org

www.cnymod.com

www.syracusemodelrr.org


Locked Re: New Computer

Jim Albanowski
 

P.J.:

Was this a clean install of 4.8.0 (4.9.1?)?

I've never seen a decoder go away but the JMRI will know that better than I.

If you brought over older version of JMRI or the data from the old version did you refresh (recreate) the decoder index?

No help on the PP problem.

Jim Albanowski


Locked Re: New Computer

 

We need more specific information about which decoders appear to be missing.

There could also be a problem if your friend has been adding custom or prerelease definitions. In this case an Actions->Rebuild Decoder Index may help.
--
Dave in Australia

On 9 Aug 2017, at 9:42 AM, pj_mattson_rvr@... [jmriusers] <jmriusers@...> wrote:

His next problem is the newest JMRI doesn't have some of the decoders he has. He says they are older decoders. Thanks for your help. P. J. Mattson


Locked Re: DDA40X Dual DCC Controllers won't work

 

There are some issues here:
- ESU decoders also need CV15/16 locking enabled (bit 1 of CV 124).
- TCS decoders treat CV15=0 as a "universal unlock key" for a decoder, irrespective of the value in CV16. Other decoders lock if CV15=0 and CV16>0.

See for more quirks.
--
Dave in Australia

On 9 Aug 2017, at 2:41 AM, 5lnlyishzxstxtsfvind7xfatjliaehup6ojc2pi@... [jmriusers] <jmriusers@...> wrote:

My primary decoder is a Loksound Direct with all lights and the front motor connected to it. My secondary decoder is a TCS T1 for JUST rear motor control.


My primary decoder is programmed for decoder lock with CV16=2 and my secondary decoder is programmed for decoder lock with CV16=1.


Both decoders work fine and are brand new. Each decoder has separate track pick up wires wired to it, so decoder 1 picks up track power from the front trucks, decoder 2 picks up track power from the rear trucks.


When I program both decoders to the 4 digit loco address only the sound decoder will drive it's motors
When I assign the secondary decoder a separate 4 digit address and consist it with the first decoder, only the first decoder motor works.


CV15=0,1,2 depending on if I'm programming or not and which decoder I want to program.


Locked Re: Web Server

 

Hi Randall It's obvious when you think about it, isn't it! I had set them both to 12080 assuming they should be the same - but they're obviously not! Changed the web server port to 12090 and it works! The only different thing is it has changed the address from 192.168.2.2. to ... 2.3 but a simple edit sorted that out. The system console log did show up the error. I have tested it on the android 4.4 tablet, android 6 phone and a windows 10 tablet. All hunky dory.
I'm a relative newcomer to JMRI. I did try a while ago but something else got in the way and I haven't bothered again until now. Now I know it works I can do more over the coming winter months when it's too cold to go out.
Many thanks again for your advice.
best wishes
Harry


Locked Re: DDA40X Dual DCC Controllers won't work

 

Initially, both decoders received power from all pick-ups. But this problem occurred so I disconnected them. This gave me the added benefit of programming one decoder at a time in case the lock didn't work (CV16 & 15).

I'm well aware of the speed matching traps that befall this scenario. Most would be alleviated by the disabling of BEMF. I'd like to avoid that if at all possible.


Regards.


Locked Possible bug, how can we help the developers

 

System is Windows 7 using JMRI 4.8 though I am not sure the JMRI version matters. Using a DCS240.

Connection from PC through locobuffer to the 240. JMRI only finds 2 of the 5 UR92s on the layout. Unable to program Tam Valley quads (this worked on the DCS200 with the same connection).

Change connection from PC via USB direct to the 240. JMRI now sees all 5 UR92s. JMRI can now program the quads. Start up scripts run much faster. JMRI reports the status of turnouts and sensors also much faster.

In other words the last two items worked with the first set up but took a minute or so to run and report.

David Klemm


Locked Re: DDA40X Dual DCC Controllers won't work

 

Pcgumshoe,
I would think there are several issues here. If you have front pickups going to front decoder only and likewise for the rear, then if you have track issues, only one decoder is getting power and command signals and the other stalls out. Think of it this way, the whole point of DCC is being able to run multiple locomotives on the same track without blocks. So I would think you would want feeders from both front and rear trucks going to both decoders.

Second, you are going to have a heck of a time speed matching the two different brands of decoders to drive the motors at close to the same speed to keep the loco running smooth. If you are going to do separate decoders, I would think at least use the same brand so you have a decent chance of speed matching.

There may be other issues at play, but those struck me as foremost.

Others here may have more advice too. Or differing opinions.

I look forward to hearing how it all plays out for you.

Tom Wilson