¿ªÔÆÌåÓý

Date

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


Locked Re: FW: Panel hardware

 

Ken,

Unless I reported otherwise, the switches I listed were "non-shorting" switches. But if you are using a 30-degree-indexed switch for a 60-degree-indexing or a 90-degree-indexing application, then the question of shorting vs. non-shorting contacts is really irrelevant. For such an application, there will always be at least one (unused) contact between any two used contacts. So I would consider switches with "shorting" contacts if equivalent switches with "non-shorting" contacts were unavailable.

Most of the switches I reported have 6mm shafts (and metric mountings). Some had 1/4" shafts (and imperial mountings). I was focusing on what's available at Mouser that could be usable.

I figure that a flat is usually needed, but what orientation does it have versus a position? Well, that depends on how the switch is mounted. That gets tricky when mounting a 60-degree-indexed switch in a panel; where does the anti-twist "pin" hole get oriented in the mast with respect to the mounting hole? I don't know, and cannot really guess. So I assumed that the user will add a flat, once he knows exactly what switch orientation is used on the panel and the position of the set-screws on the lever. The switches with flats are available from the manufacturer with flats at any of four angles, but I cannot guess which is correct for a given install.

Even if the lever casting is cast for an internal flat, the user can always file down the round shaft to add the appropriate flat, and even get it in the position he/she likes.

Want a manufactured flat on the shaft? Do the research and make your choice. I'm not giving away any more of my time on this subject.

Regards,
Billybob


Locked New Computer

 

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: System Console Warning Message

 

Paul;


the command station is still showing disconnected


the command station version and type is unknown


my Mac is a late iMac 2015; it still takes time before I can even just read the system console or check the Preferences/connections or defaults


& when I click on Restart it doesn't restart very soon after doing so so I usually just click the Force Quit from the Apple Menu


Here is my System Console below; is this what you are referring to as the "log"?


2017-08-08 18:32:52,827 util.Log4JUtil INFO - * JMRI log ** [main]
2017-08-08 18:32:55,714 util.Log4JUtil INFO - This log is appended to file: /Users/williamseabrooke/Library/Preferences/JMRI/log/messages.log [main]
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]
2017-08-08 18:32:55,761 apps.AppsBase INFO - DecoderPro version 4.9.2ish+jenkins+20170804T0543Z+Reaaaf8a starts under Java 1.8.0_144 on Mac OS X x86_64 v10.13 at Tue Aug 08 18:32:55 EDT 2017 [main]
2017-08-08 18:32:57,024 gui3.Apps3 INFO - Starting with profile wmseamac.3f48e951 [main]
2017-08-08 18:32:57,635 node.NodeIdentity INFO - Using jmri-28F0761979C8-3f48e951 as the JMRI Node identity [main]
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


INFO - Message added back to queue: 21 21 00 [liusb.LIUSBXNetPacketizer Transmit thread]
2017-08-08 18:33:29,879 lenz.XNetInitializationManager


WARN - Command Station disconnected, or powered down assuming LZ100/LZV100 V3.x [main]
2017-08-08 18:33:32,128 util.FileUtilSupport


INFO - File path program: is /Applications/JMRI/ [main]
2017-08-08 18:33:32,129 util.FileUtilSupport
INFO - File path preference: is /Users/williamseabrooke/Library/Preferences/JMRI/wmseamac/profile/jmri-28F0761979C8-3f48e951/ [main]
2017-08-08 18:33:32,129 util.FileUtilSupport
INFO - File path profile: is /Users/williamseabrooke/Library/Preferences/JMRI/wmseamac/ [main]
2017-08-08 18:33:32,130 util.FileUtilSupport
INFO - File path settings: is /Users/williamseabrooke/Library/Preferences/JMRI/ [main]
2017-08-08 18:33:32,130 util.FileUtilSupport
INFO - File path home: is /Users/williamseabrooke/ [main]
2017-08-08 18:33:32,130 util.FileUtilSupport
INFO - File path scripts: is /Applications/JMRI/jython/ [main]
2017-08-08 18:33:34,880 jmrix.AbstractMRTrafficController


WARN - Timeout on reply to message: 21 21 00 consecutive timeouts = 0 in liusb.LIUSBXNetPacketizer [liusb.LIUSBXNetPacketizer Transmit thread]
2017-08-08 18:34:09,976 jmrix.AbstractMRTrafficController


WARN - Timeout on reply to message: 21 24 05 consecutive timeouts = 1 in liusb.LIUSBXNetPacketizer [liusb.LIUSBXNetPacketizer Transmit thread]


Thank you Paul for expressing interest in this feed!


Locked Re: Web Server

Randall Wood
 

In your Preferences, I would expect WiThrottle tab to show port 12080 (based on your description). The Web Server port is something else, shown in Preferences under the Web Server tab. In the browser, you will need to connect to <>.2:that-other-port

The default port for the Web Server is 12080 and the default port for WiThrottle is 12090. If those ports are the same, the WiThrottle server will get the port, but the Web Server will simply be blocked from working (the logs under System Console will likely show something to this effect).

Hope this helps,
Randall

On Aug 8, 2017, at 13:23, harry.rigby@... [jmriusers] <jmriusers@...> wrote:

Can anyone help? JMRI runs OK on a Windows 10 PC. I can control throttles, turnouts and I have a working panel. Using Engine Driver on an Android 4.4 tablet, it connects OK to 192.168.2.2:12080 and I can control throttles, turnouts and routes. However, when I select "web" it shows either a blank screen or sometimes a screen full of text, which looks like a status report. If I try to connect using a browser to 192.168.2.2:12080 I get a "no response" message.
In preferences Frames is disabled (as per default) and I have started the WiFi Throttle server and the web server with the application; both appear in the "startup" list.
Is there a setting I have got wrong?
Hope someone can help.
Best wishes
Harry





Locked Re: Panel hardware

 

Uh Mark, where do you think Radio Shack got theirs? <g>

Seth Neumann
Mountain View, CA

Sent from my iPhone, please excuse the typing.

On Aug 8, 2017, at 8:42 AM, Bob McCown rmccown@... [jmriusers] <jmriusers@...> wrote:


Great, thanks. I, too, bought a bunch of cheap Chinese ones and they
wernt any better quality than the ones I got at the local Radio Shack
when it closed.



On 8/7/2017 4:54 PM, 'Mark Juett' modelrailroadbuilder@...
[jmriusers] wrote:

Bob,

Yes many of the little push buttons are unreliable. On recommendation of a
friend I bought a large quality from We Hxoxoxo in China. I had several
split open. It was no bargain.

I have since gone to Grayhill 706-30-601RED for just above $2 each and
have
had no issues since.

Mark

-----Original Message-----
From: jmriusers@... [mailto:jmriusers@...]
Sent: Monday, August 7, 2017 3:33 PM
To: jmriusers@...
Subject: Re: FW: [jmriusers] Panel hardware

What about for pushbuttons? Those tiny ones that are around are very
unreliable.

On 8/7/2017 4:24 PM, 'Mark Juett' modelrailroadbuilder@...
[jmriusers] wrote:

Billybob,

You are correct in that Mike B does not provide much electronics. His
forte
is the casted metal levers and plates. Likewise Rick R provides the
molded
plastic reproduction parts. They do however, recommend parts that
you can
buy from most electronic suppliers.

Several years ago Rick suggested the Alpha 10YD062 rotary switch
available
from www.Mouser.com It has been replaced by 105-SR2511F-62FN.
Unfortunately
the min on this is 1000. Although the cut over is at 30 degrees it is a
multi-position and 2 clicks get 60 deg. Not perfect.

However, the 105-SR2511F-62FN is a Grayhill single deck 2 position SPDT,
rated at 200 ma, 28V, DC 115VAC, with a 60 degree rotation. Only
$11.58 in
single quantities. From there prices go up. It has a lug connection
but not
easily soldered. The data sheet shows a solder lug style available.

For controlling signals you will need a 3 position switch. Grayhill
105-SR2511F-62FN is similar in a 3 position. Same price.

I have not taken the time to do an exhaustive search of Mouser to
find the
perfect match but it may be there amongst the many parts that they
have. If
you come up with something let us know. As I get some time I will
search, as
I have plans to build a reproduction CTC machine (USS&S).

Mark Juett

From: jmriusers@... [mailto:jmriusers@...]
Sent: Sunday, August 6, 2017 11:01 PM
To: jmriusers@...
Subject: Re: [jmriusers] Panel hardware

There are some limits to what CTCParts.com can provide.

CTCParts.com specializes in the "plates" one uses on a CTC machine.
This is
where Mike's product offerings excel.

In general, Mike doesn't offer much in the way of electronics things
like
rotary switches, pushbuttons, or lamps. One exception is a pushbutton
which
mimics the "feel" of a US&S pushbutton.

What are the alternatives?

For these "common" electronics components, your best bet is likely
to be a
general-purpose electronics supplier. In the US, some suppliers include
Mouser.com, Digikey.com, All-electronics.com.

Rotary switches with 60 degree rotation (for US&S machines) or 90 degree
rotation (for GRS machines) can be tough to find off-the-shelf. They
do show
up occasionally. And Mouser and Digikey have often "mis-cataloged" a
manufacturer's parts as 30 degree when they really were 60 degree or 90
degree, so it helps to spend the time looking at manufacturer's
specs for
the various part numbers cataloged by the supplier.

Last time I looked, Digikey and Mouser did not have any stock for 60
degree-indexed switches, but could provide 60 degree rotary switches for
orders of 2000 parts.

Tomar Inc., of Benton Harbor, MI, provides (or provided) some cast-brass
inserts which can be used in some "open" styles of commercial rotary
switches to convert a 30 degree-indexed rotary switch to 60 degree
indexing
or 90 degree indexing. Tomar also has produced US&S-like "knobs", but I
think that they no longer produce the knobs.

An alternative is to purchase "Alpha" brand enclosed 30 degree-indexed
rotary switches, and modify for 60 degree or 90 degree indexing.
I've done
this by filling in one or two consecutive "indents" in the rotary switch
shell with epoxy. The trick is to open the thing without losing the
spring
or ball-bearings. And to put the spring and bearings back into the
shell and
reassemble it, without losing the parts.

I do not have any particular recommendations for
lampholders/bezels/lenses
or for pushbuttons.

Regards,
Billybob

[Non-text portions of this message have been removed]





------------------------------------

------------------------------------

------------------------------------

Yahoo Groups Links







------------------------------------

------------------------------------


------------------------------------

Yahoo Groups Links