¿ªÔÆÌåÓý

Date

Locked Re: Can JMRI interconnect two DCC systems? (i.e.NCE & Digitrax).

 

SwissChris,
Thanks helpful info!!

Kind regards,
Joseph


Locked Re: Can JMRI interconnect two DCC systems? (i.e.NCE & Digitrax).

 

Bob,
Went to the website great info!!? I think I'm heading in the right direction now.

Thanks for the help
Kind regards,
Joseph


Locked DS64 KATO switches

 

Dick L

I'm running DCC++, JMRI 4.14+Rd060e0b, Java 1.8.0_191 on a
Windows10 computer.? Model is KATO N gauge.?
I have 3 KATO turnouts connected to a Digitrax DS64
defined as follows.
?
DCCPPT1??? DCCPPT2??? DCCPPT4

Configure base station shows:

Index??? Address??? Subaddress
1????????? 1?? ? ? ? ? ? ?? 0
2????????? 2 ?? ? ? ? ? ? ? 0
4 ??????? 4?? ? ? ? ? ? ? ? 0

Activate 1 by using the turnout table or layout panel, shows the turnout
position has been thrown, and the actual turnout throws.

Activating either 2 or 4, causes the turnout table and layout panel,
to show the turnout thrown.
No reaction to the actual turnout.

Sending packets to DCC++ has the same reaction as using the turnout
table or layout panel.

Digitrax has confirmed that the DS64 inputs or working

Any and all help greatly appreciated


Locked Re: MQTT Connection in JMRI

 

Actually the way it should be is /channename/MT, so /trains/MT/01?

The channel name should always be first in the MQTT topic.?

Chris?


Locked Re: MQTT Connection in JMRI

 

Folks,

I'm seeking some clarification on the finer details of what topic structure we are proposing and how the system name will get defined for each MQTT device.
?
Bob mentioned "system names should include a complete, unconstrained topic path (without wildcards)."
?
System names normally commence with system letter and device type letter,? e.g. MT for turnouts.
?
The current implementation has the MQTT "channel" defined on the system connection options page (/trains/) as the top two levels of the topic (the top level technically is the text that precedes the first /, null in this case). I think everyone agrees that using the channel should continue though with a name of the user's choice.
?
So, does this mean that when an MQTT turnout gets created, MT/channelname/ will be prepended to the text entered for the hardware address to make the full topic as the system name?? MT therefore replaces the null top level of the topic so that is fine and means we don't need "turnout" as part of the topic because "MT" already defines it as a turnout and enforces consistency, even better!? That works for me.
?
Compatibility with the current arrangement is pretty much lost regardless. Perhaps it will need a setting on the connection page that says something like Use basic (i.e. the original) format topic for turnouts with this being selected by default if existing MQTT devices are found so existing use doesn't fail when the new release of JMRI gets installed and the user can migrate to the new format at their convenience. All other devices to use the new format. Don't display that option if no old format MQTT turnouts exist. NB: Just a warning that there are other systems that can use the system character 'M'.

Regards, David.
?


Locked Re: Trying to get on top of jython

 

Your end (and intermediate) goal, as written needs no custom or external scripts.

All the functionality is already within JMRI.

The hard part for you will probably be detection. For automated train running, JMRI will need to know where the train is ALWAYS. As such, most people use area sensors, such as current sensors. Using point sensors, such as? light-beam sensors may be of use to you to give exact locations, such as near stations.

I'm assuming that eventually, you'll be installing physical signals.? As such, as you build your panels, you should use the signal type that you've decided on.? I've not found a way of converting a signal to a different type (eg virtual mast to DCC signal mast or 2turnout controlled head).

Basically, don't use Virtual Signal Head/Mast if it's ever going to be real. The signalling system will work fine while software only, and then your hardware will be drop-in.


On Sun, Jan 6, 2019, 02:49 whmvd <vandoornw@... wrote:
Bob and Dave,

Since you both asked after my plans for the future of my railway, here's the summary of where I want to go with my layout. Or rather, layouts.

What I want to do has intermediate stages. Although I have in the past already successfully connected to a tiny circle of track and a program track (NCE PowerCab and NCE USB) and programmed all decoders to my satisfaction, the first stage is entirely virtual. There will be an indoor layout consisting of a single track circle with three passing places. No further frills at all. That's all measured out, and exists in JMRI as a Layout Editor panel with a Panel Editor panel for each of the three passing places. So six switches/turnouts/points. Signal system in place, everything working fine under simulator and everything (so far) virtual.

Eventual goal is a more complicated garden railway (still nothing fancy, but more stations and more involved than the extremely simple test track). Type of operation is almost exclusively passenger trains, occasional goods train in between, but fixed rakes of wagons, so no switching other than engines being replaced by others or running around at a terminus (it will be point-to-point). To that end, all locos have DCC-controlled automatic couplings installed.

Stage 1: that's where I am - JMRI able to control my indoor layout that doesn't exist yet. All the hardware for stage 2 is available (rails, locos, PowerCab, NCE USB, detectors, two AIUs, switch decoders) and a lot for stage 3 as well (though no Power Pro yet).

Stage 2: Actually build the virtual layout and make JMRI control it all. Two trains in opposing directions, halting at all stations, totally automatic. Right-hand traffic. Trains to run autonomously, but heeding (virtual) signals (more on this a bit later). Single track sections secured by (virtual) signal boxes. Each end of each station has one signalbox, that communicates with the one in the next station. In tandem, they prevent cornfield meets, each controlling their own switch and the signal (only held/not held) of a train departing into the single track to the next station. Signalling (signal masts, my further simplified version of 'basic' signalling) is working, the signalboxes and the state machines inside them was where I was going to use python. That makes six instances of identical signalboxes (I love OO). No timetabling; each train just runs as and when it can. Apart from the signal boxes, I'll also need a 'driver' object, able to control a JMRI throttle with knowledge of the way around, speeds, time it takes, distance to next signal, and ability to 'see' the appropriate signals.

Stage 3: Expand on this into the garden, with more, and more complex, train movement, at least one larger station, timetable control (an additional OO object that both signalboxes and drivers need to be aware of) and a 'plan' for the driver to follow. Again, I mean to have the signals control train movement rather than the other way round, even when the signal system already works by being controlled by the trains. So: playing with 'held' alone. Add into that mix the ability to take control of any train myself.

Quite ambitious, I think, but nothing undoable as far as I can see.

There's also a live steam loco ready to go, but mixing that in isn't something I'm really prepared to think about yet. It has no decoder (and don't plan one) but at least the wheels are isolated.

Enough to keep me ging for a number of years to come!

Thanks again, both, for your time, patience and insights.
Wouter

On Sat, 5 Jan 2019 at 21:10, Bob Jacobsen <rgj1927@...> wrote:
There are quite a few developers who work via JMRI via Eclipse.? The Eclipse support (see ) occasionally has rough edges because Eclipse evolves pretty fast.? If you¡¯re experienced with it, though, I think it¡¯s probably a good entry point.

Most of the instructions are about working with the JMRI code itself, which isn¡¯t entirely required.? You could just include the jmri.jar and work with it as s formal library, but pulling the while thing gets you (a) an environment that a bunch of people know works and (b) easy access to Javadoc, etc, within Eclipse.

(Even with Java code, a bit of scripting can be the easy way to invoke your new classes, etc, so that might still be a bit on the table.)

Could you remind me of what you¡¯re working on as your first project?? I can perhaps point you to some examples and docs that¡¯ll help you pull together a starting point.

Bob

> On Jan 5, 2019, at 12:55 PM, whmvd <vandoornw@...> wrote:
>
> I will ask for more advice, though. And that is: what's good tooling for me to start out with (on Linux)? I'm familiar with Eclipse, but not so in-depth that I'd hate to use anything else. And what are gotchas with how I set up my coding bit separately enough so that a new JMRI-release slots in nicely and easily?

--
Bob Jacobsen
rgj1927@...







Locked Re: Can JMRI interconnect two DCC systems? (i.e.NCE & Digitrax).

 

A variation of this issue came up about 18 months ago. See the message thread starting with #139664.

At that time, with a lot of help from Dave Sand, I was able to modify a script written by Bob Jacobsen. A copy of that file has now been uploaded to /g/jmriusers/files/ProblemsBeingWorkedOn/Master%20and%20Slave%20Turnout%20Control/TurnoutsMasterSlave.py

Some of the comments concerning the Identifier Prefix strings may be out of date.

Editing may be required at lines # 50 & 51 for the prefixes on your layout, because as-is, this script will translate an instruction to a real or hypothetical turnout LT1234 into the same instruction to a real hardware turnout NT1234.

There may be some subtle portion of the original posting in this thread that I have not picked up on, so some additional investigation may be necessary.

Cliff in Baja SoCal


Locked Re: SD-50 ECONAMI

 

¿ªÔÆÌåÓý

I'm preparing an update for the Athearn RTR Eco definition but I'm no longer getting replies to my emails to Soundtraxx for more info, so can only add decoders that I have or someone who does that is willing to send me info.

First reset the decoder to factory with setting CV8 to value of 8 then placing on powered track to allow the reset to happen.
Select any of the models in the "Econami Diesel OEM Athearn" family.
Read all sheets.
Once everything has been read, from file menu pick export - CSV file, give it a name and note where it is saved and send me that file.

I'll be adding the recent release SD40 and SD40T-2
And on Genesis TSU2 side, second version of SD60E decoder and GP7u.
Michael Mosher
Member SFRH&MS              
DCC Master PVSMR            
On 1/5/2019 12:01 AM, Marc wrote:

Looked at it a little deeper.?

With your JMRI 4.12 use the? Athearn Econami RTR SD-45 for now.? The RTR version is not an exact match to the ECO-200, certain CV's are missing and the default values are different. The RTR- SD-45? is close enough for now.

Read type from decoder may be helped in narrowing it down with the NEW Soundtraxx? ID CV's.

Marc


Locked Re: Can JMRI interconnect two DCC systems? (i.e.NCE & Digitrax).

 

Joseph,
I use both NCE for trains and Loconet for turnouts, sensors and signalling. More info is on my web site at


As others have said, the Loconet does not connect directly to NCE. But JMRI connects to both and makes it one integrated system. In fact some of my block detectors are BD20 and AIU on the NCE cab bus. Others are BOD8 on the Loconet. JMRI integrates them into one working system.
Bob Bucklew

----- Original Message -----
From: "Joseph Carlino" <coastiejoe64@...>
To: "jmriusers" <[email protected]>
Sent: Tuesday, January 8, 2019 10:07:00 AM
Subject: Re: [jmriusers] Can JMRI interconnect two DCC systems? (i.e.NCE & Digitrax).

Bob,
I have heard this before in some online articles.? Please excuse my ignorance but, do you know where I can find anything on how to go about? connecting the NCE DCC signal to the Railsync on the loconet buss? (I think this is pretty much exactly what I am trying to accomplish).? What I am actually trying to do is pretty straight forward and I'm sure has been done or at least tried before.? I want to use my NCE system to control my trains and leave open the option to use Digitrax components for other layout functions like switching, block detection and signaling.? However, I don't want them to be two completely different systems that can't inter-operate.? This way I can also power components like DS64 or SEC8 with a simple DC power supply , (not the track bus) and have the Digitrax components communicate through the Loconet to my NCE Command Station.? In the most basic sense it would give me the ability to pick the components I prefer to use from both manufactures combining them sort of as one DCC system.

Thanks so much to everyone for your replies!!
This is my first experience with any kind of user group, so I'm not very sure of myself.
Best regards,
Joseph


Locked Re: Can JMRI interconnect two DCC systems? (i.e.NCE & Digitrax).

 

There are various methods of connecting Non loconet to loconet. Digitrax themselves gve circuits and there are a couple of circuits here in MRi.
Railsync from NCE controller can be found here?
igitrax manuals for the equipment you want to use are here?
If your NCE system doesn't have a ground connector and you're using BDL168 ocupancy sensors, the circuit diagram can be found here.
jmri.org/help/en/html/hardware/loconet/StandaloneLocoNet.shtml
This is probablty the best page for information as i m trying to do something similar with a Gaugemaster (MRC) Prodigy connecting to the sensors.
Have fun and happy linking
SwissChris.


Locked Re: Can JMRI interconnect two DCC systems? (i.e.NCE & Digitrax).

 

How to do the connection is in the link in my prior post: but you should probably read that entire page, particularly

But you¡¯ll never get the "Digitrax components communicate through the Loconet to my NCE Command Station¡±. That¡¯s just not how it works. But that¡¯s OK, because there¡¯s no need for that. The LocoNet components would instead communicate to JMRI, which then handles whatever needs to be done.

Bob

On Jan 8, 2019, at 7:07 AM, Joseph Carlino <coastiejoe64@...> wrote:

Bob,
I have heard this before in some online articles. Please excuse my ignorance but, do you know where I can find anything on how to go about connecting the NCE DCC signal to the Railsync on the loconet buss? (I think this is pretty much exactly what I am trying to accomplish). What I am actually trying to do is pretty straight forward and I'm sure has been done or at least tried before. I want to use my NCE system to control my trains and leave open the option to use Digitrax components for other layout functions like switching, block detection and signaling. However, I don't want them to be two completely different systems that can't inter-operate. This way I can also power components like DS64 or SEC8 with a simple DC power supply , (not the track bus) and have the Digitrax components communicate through the Loconet to my NCE Command Station. In the most basic sense it would give me the ability to pick the components I prefer to use from both manufactures combining them sort of as one DCC system.

Thanks so much to everyone for your replies!!
This is my first experience with any kind of user group, so I'm not very sure of myself.
Best regards,
Joseph
--
Bob Jacobsen
rgj1927@...


Locked Re: DCC++ Connection prefix

 

Could you email me your panel file? (jacobsen@...) I¡¯ll update it and send it back to you.

Bob

On Jan 8, 2019, at 3:57 AM, Jonathan Hamilton <joffham@...> wrote:

I have upgraded to JMRI Version 4.14 recently. The old DCC++ Connection prefix was DCCP, which is now showing as ¡°This is a legacy prefix which should be migrated¡­¡± I believe that the correct Prefix is now just D, which I changed, but doing this deleted all of my Sensors. So, for the time being, I have not changed that Preferences.

Any clues?

Joff
--
Bob Jacobsen
rgj1927@...


Locked Re: Can JMRI interconnect two DCC systems? (i.e.NCE & Digitrax).

 

Bob,
I have heard this before in some online articles.? Please excuse my ignorance but, do you know where I can find anything on how to go about? connecting the NCE DCC signal to the Railsync on the loconet buss? (I think this is pretty much exactly what I am trying to accomplish).? What I am actually trying to do is pretty straight forward and I'm sure has been done or at least tried before.? I want to use my NCE system to control my trains and leave open the option to use Digitrax components for other layout functions like switching, block detection and signaling.? However, I don't want them to be two completely different systems that can't inter-operate.? This way I can also power components like DS64 or SEC8 with a simple DC power supply , (not the track bus) and have the Digitrax components communicate through the Loconet to my NCE Command Station.? In the most basic sense it would give me the ability to pick the components I prefer to use from both manufactures combining them sort of as one DCC system.

Thanks so much to everyone for your replies!!
This is my first experience with any kind of user group, so I'm not very sure of myself.
Best regards,
Joseph


Locked Re: Setting serial port speed for CMRI connection to JMRI

 

Bob:

My example RR is old enough that the host computer that it started with was back in the dark ages... processors with clock speeds in Mega Hertz... So as the computer evolved the C/MRI bus speed never changed... We just redid the computer using a "baby" box a Minix NeoZ83-4 Pro not that high powered but more than sufficient for the task.

So if I were starting out now I would go to at least 19,200 or 28,800 given a 1+ GHz system clock...

RS485 is rather bullet proof and unless you really do something really strange with the wiring those speeds should be good even with some wiring issues... The history of 422/485 was with *big* washtub disk drives with very long 60 conductor cables under the raised computer room floor... noisy environment you bet.

Just re-read Bruce's manual section on 485 and I think we're in agreement.

Where I see a genuine concern was raised, one I haven't considered is the modular world, termination. When you build a RR in the "basement" you tend to start in one place and work out from there. So yes a terminated to the computer interface but that's normally at one end... Is there an issue if the nodes are rearranged and the interface is in the middle? Shouldn't but in our DCC world of applied witchcraft?

I can't see where there needs to be any order to the node addresses. You send the node address out over the entire C/MRI bus, all nodes listen, so where they are doesn't matter. Same for the node talking that's on the entire bus...

Jim Albanowski


Locked DCC++ Connection prefix

 

¿ªÔÆÌåÓý

I have upgraded to JMRI Version 4.14 recently.? The old DCC++ Connection prefix was DCCP, which is now showing as ¡°This is a legacy prefix which should be migrated¡­¡±? I believe that the correct Prefix is now just D, which I changed, but doing this deleted all of my Sensors.? So, for the time being, I have not changed that Preferences.

?

Any clues?

?

Joff


Locked Re: VSDecoder: Problems with xml and sound #vsdecoder #rpi #ubuntu

 

Graham,


Please see my answers below.


Am 07.01.2019 um 22:03 schrieb SettleDown:
Is it really the case that it's not possible to "save" the multiple decoders/profiles/VSDfiles in the VSDecoder Manager window for future sessions ?? I currently only have a small number of locos so it doesn't take that long to rebuild the Manager window for my fleet, but I imagine this is an issue for modelers with a large fleet.? The only option I can see at the moment is to keep the session running overnight if I want to go back to the layout with all sounds active the next day.? Is this on the to do list ?? If it's going to be possible in " "VSDecoder faceless", to skip the dialog and load the Rosters automatically", why isn't it possible to do that in the standard VSD UI ?
Because building the GUI is skipped too. I have to look closer on this to understand, whether there is a solution to go. For now I'd like to recommend to use a roster per VSDecoder and setup "Start Virtual Sound Decoder Manager" at startup. I counted four clicks to have a VSDecoder up and running.

Yesterday I worked on "VSDecoder faceless" and I'm preparing a JMRI change request shortly.


Q2. i have Class64.vsd file assigned to one of my locos but when it appears in the Manager it always shows the same layout of buttons as in the GenericSteam.vsd without the combination of whistle sounds as shown in the document ?which you referenced in the post above.? The problem may be caused by the fact that even if I choose Class64 as the profile and then as the VSD file, it always appears as GenericSteam profile in the Manager.? Is this a known issue?? Similarly I can't get Class94 to work as I've only ever seen the decoder for this once - it always reverts to GenericSteam.
I haven't seen this behavior before. It is possible to assign a profile multiple times to different rosters or numeric addresses. But to get this I have to select the same profile always.

I do not understand...
"I choose Class64 as the profile and then as the VSD file"
Selecting the profile should always be the last step before clicking the OK button.


Regards,
Klaus


Locked Re: Setting serial port speed for CMRI connection to JMRI

 

Don,

In that layout we moved the RS-485 and the terminator to trade them. So now
the terminator is at node 0 and the RS-485 serial is at the end past node 4.
The way Bob had worded his statement of things it seemed to me he had a
concern if the order of the node ids has some possible issue. His later
message seemed to say there isn't any sensitivity to the order of the nodes.

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


Locked Re: Setting serial port speed for CMRI connection to JMRI

 

Order shouldn't matter, but in a terminated system, moving the controller, which might include one terminator to the other end, and not also removing the terminator that had been there and connecting it to the former source end, would produce a transmission line double terminated on one end and open on the other. That would be plagued by transmission problems if long enough to matter.

RS-232 is NOT terminated, as I recall (it's been a couple decades since I used RS-232). That's one reason for having a length limit speed limit, and a cause of the leading edge rounding mentioned by someone in another message.

Don Weigt


Locked Re: Decoder pro version

 

The SD60E that is in the released version is based on the decoder that was in the NS 9-1-1 SD60E and other numbers released at the same time.? The just released NS 6920 Veterans unit has different ID number and a few changes compared to 9-1-1.? Definition is being updated.

Michael Mosher
Member SFRH&MS
DCC Master PVSMR

On 1/5/2019 8:03 PM, Marc wrote:
Michael,

That Athearn SD60E was added to JMRI in August 2018, so it should be present in 4.12

4.10 is dated 2017 so will not have your SD60E in it.? Plus the fact 4.10 was an error prone version I would not bother with it.

Marc


Locked Re: Can JMRI interconnect two DCC systems? (i.e.NCE & Digitrax).

 

Is the idea to create a standalone (no command station) LocoNet?

Then you might not need JMRI for it. LocoNet contain a Railsync (RailSynch?) signal that¡¯s a copy of the DCC signal. The DS64, along with most, maybe all, LocoNet connected components, can take their instructions from that.

So you can connect your NCE-generated DCC signal into the Railsync of your standalone LocoNet and you should be able to get things to work without going through JMRI or any other software.

See along with the rest of that page.

Bob

On Jan 7, 2019, at 9:06 AM, Joseph Carlino <coastiejoe64@...> wrote:

When creating a simplified Loconet bus on a non-Digitrax layout, can both systems (in my case NCE & Digitrax Loconet bus) connect to JMRI at the same time through separate USB ports? Can the Digitrax components be accessed from the home system. For example can I throw turnouts with my NCE Cab through a DS64 connected to the Loconet?
--
Bob Jacobsen
rgj1927@...