Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
Re: Cannot operate turnouts from Layout
#layouteditor
Thanks.
So you should be able to address these as the same ¡°NTnnn¡± addresses they had before. The LTnnn addresses you discussed in another email are irrelevant. (Adding an electrical booster doesn¡¯t change anything about how JMRI addresses things) If that¡¯s not working, it¡¯s an electrical issue around the booster. Bob On Dec 25, 2019, at 6:14 PM, WHurry <Wttr@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: Anyone with an example of using simple server?
¿ªÔÆÌåÓýKen,On Dec 25, 2019, at 12:51 PM, Ken Cameron <kcameron@...> wrote:
I am in the process of rebuilding the communications computer ( remotely, from several hundred miles away... not a quick process ) The server configuration is in a github repository now ( here:??). I need to get the client configuration up on github as well. ?Send me a reminder next week, and I¡¯ll make sure I get that posted ( I am 600 miles away from any of the files I need right now ). We did discover that a bug was introduced to the server at some point in the last 4 years, which was the last time the configuration was changed, ?and that needs to be fixed for things to work correctly now ( status requests are being truncated by 1 character... ) Paul |
With all the discuss of Routes and LRoutes recently, I decided to look into using them. ?My question is ¡°Routes vs LRoutes?¡± ?According to the documentation of LRoutes, ¡°LRoutes extend the capabilities of Routes... LRoutes are capable of performing all of the tasks that Routes can do. For further discussion and examples consult the main?.¡± ?So is there any reason to use Routes if you are just starting down this path, rather than the ¡°extension¡± LRoutes?
Merry Christmas, Happy Chanukah, and Happy New Year to all! Jerry ___________________________________ jerryg2003@... |
Locked
Re: Cannot operate turnouts from Layout
#layouteditor
Bill,
Most likely the addition of the TV Booster change your System Name in your table Turnouts. The problem could be the Icons are associated with the old User name verses system name which causes the confusion.? Sometimes these types of problems require the deletion of the switches and rebuilding the association with the icons . Inobu ? |
Locked
Re: Cannot operate turnouts from Layout
#layouteditor
Bob,? To reduce the load on the NCE booster, a Tam Valley accessory booster was installed. ?The Tam Valley accessory booster has its own power supply. ?The Tam Valley booster is connected to the NCE booster track bus for the DCC signal. ?The Tam Valley booster passes through the DCC signal and now provides the power for the JWs to operate the Tortoise machines. I hope this clarifies the situation.? Bill R |
Locked
Re: Cannot operate turnouts from Layout
#layouteditor
I¡¯m very confused about how you have this wired. The post immediately below makes it sound like the turnout accessory decoders are attached to the LocoNet. But your prior post (appended below) made it sounds like they¡¯re attached to the DCC signal from the NCE command station.
Could you describe in detail how the turnout accessory decoders are wired? What type are they, were do they get their power, where do they get their signal(s)? Bob On Dec 25, 2019, at 4:13 PM, WHurry <Wttr@...> wrote: On Dec 24, 2019, at 4:25 PM, WHurry <Wttr@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: Cannot operate turnouts from Layout
#layouteditor
Initially, there was no observable activity on the Loconet when using the panel icon or via the table. I started by creating a NCE turnout (NTxxx). ?I modified the Loconet turnout (LTxxx) to have the NTxxx as a secondary turnout. ?That allowed me to make changes to the actual turnout via the panel icon with partial success. ?Depending on how the feedback was set up for the LTxxx and the NTxxx turnouts (different combinations of Monitoring and Direct), there was no successful combination of feedback settings that was 100% successful. ? While observing the Loconet activity, sometimes the following message would appear: ?¡°Request Command Stations Op Switches (or DCS210/DCS240 check for multiple command stations on Loconet). |
Torgrim,
On 26 Dec 2019, at 9:31 AM, Torgrim Gjelsvik via Groups.Io <torgrimg@...> wrote:That depends on your SPROG and Operating System types. Some use FTDI, my SPROG IIv3 reports as a generic modem-class device and in the case of macOS at least, uses inbuilt Apple drivers. But your problem isn't in that area. and what I see in the SPROG console is what JMRI sends to the USB port.I'd also be looking at the JMRI system console for any error messages. It sounds like JMRI thinks the SPROG is not in command station mode, or some other issue like inconsistent states. There are some different code paths for Signal commands sent to SPROG versus Turnout Commands sent to SPROG. That's correct. Check the JMRI system console for any error messages. Dave in Australia |
Yes, the SPROG connection *is* configured as "SPROG command station".
?
I don't know the interfaces her, between JMRI, SPROG driver and SPROG hardware.
But I guess the SPROG driver is a generic ftdi driver, and what I see in the SPROG console is what JMRI sends to the USB port.
?
I pulled out the scope and probed the DCC signal - the hardware keeps the frequency going in both cases.
The messages sent from JMRI are inserted into the idle stream.
?
In the erroneous state, the only thing that is sent is the signal decoder packets when I change a signal mast.
When pushing a turnout, *nothing* comes in the SPROG console, meaning JMRI sends nothing?
Even if the turnout changes on screen.
?
In the functioning state, JMRI keeps continuously sending "decoder idle packets", (FF 00 FF), mixed with signal and turnout packets.
?
I have now installed v 4.18, and the symptoms are now not so consistent.
The error state now comes more randomly, and it can take longer before it appears.
?
?
Torgrim
? |
Locked
Re: Anyone with an example of using simple server?
David P,
That sounds like a great way, but you are not using simple server, but the LCC bus as the distribution method. At least you say all the computers are on the LCC bus and not a single JMRI computer connected to the layout and the other computers talking to it. I'm looking for examples of using the JMRI simple server method and how to correctly setup the sensors and turnouts at the remote computer. I've got some sensors working but not well, there seems odd delays and such. So I'm looking for a running example to poke into so I can confirm if I'm doing some of it wrong. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.org www.syracusemodelrr.org |
Locked
Re: Anyone with an example of using simple server?
David Parks
¿ªÔÆÌåÓýKen ? My answer is LCC specific.? We had originally planned to use an Ethernet network for the functionality described, but found that OpenLCB works flawlessly.? .All our computers (11 in total with 16 screens) are connected via the CAN network (LCC).? We have separated all logix that is for display only from the CTC functional logic.? Each computer has a JMRI Configuration panel that selectively enables various clusters of the CTC logix.? Thus the CTC logic can be executed in a local computer with the CTC display or any other computer as we wish.? This allow for us to configure the layout for any combination of tower control or central CTC control.? When all logic is executed in a central CTC computer we use a modern style display similar to Cats in look and function.? The modern style CTC takes up less space and has considerably less work load for the operator than the old style CTC panels used with the Towers. ? We can thus blend any configuration of operator controlled CTC and trains with autonomous trains using JMRI Warrants.? We are planning to eventually replace the old style computer CTC touch-panel displays with hardware CTC. ? David Parks Los Altos, CA |
Locked
Anyone with an example of using simple server?
I have a layout computer and have been dispatching via a TeamViewer
connection. I'd like to make a CTC panel on another computer that would control that computer instead of running everything on the layout computer. Is there an example of a server and client computer somebody could point me to? Seeing examples usually works better than the docs. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.org www.syracusemodelrr.org |
Locked
Re: Running a python script in JMRI
#scripting
Am 24.12.2019 um 20:54 schrieb tim_p1964@...:
comments appreciated as to any methods of loading the files from the sound directory automatically and determining their lengths would be helpful?Tim, Here is a short example of how this could be done. import time import jmri buffer = audio.provideAudio("IAB1") buffer.setURL("program:resources/sounds/Crossing.wav") length = 1000.0 * buffer.getLength() / buffer.getFrequency() / 1000.0 print "Clip length in seconds:", length source = audio.provideAudio("IAS1") source.setAssignedBuffer("IAB1") source.play() time.sleep(length) source.rewind() source.play() Klaus |
Locked
Re: Running a python script in JMRI
#scripting
Randall Wood
Here is the Jython code the Northern Virginia Model Railroaders (NVMR) club uses to synthesize speech in JMRI running on Windows 10: msg = sensors.getSensor(readySensorSystemName).comment scrollArea.setText(scrollArea.getText() + msg + "\n") this is where you select the voice synthesizer (speak, espeak, or nircmd)if snSpkChgCheckBox.isSelected(): #pid = java.lang.Runtime.getRuntime().exec(["speak", msg]) #pid = java.lang.Runtime.getRuntime().exec(["C:\Program Files (x86)\eSpeak\command_line\espeak", msg]) pid = java.lang.Runtime.getRuntime().exec('nircmd speak text "' + msg + '" -2 100') pid.waitFor() nircmd is from and synthesizes msg and plays it through speakers directly |
Locked
Re: Cannot operate turnouts from Layout
#layouteditor
Bill R,
Key is confirming it works from the turnout table in JMRI. If for some reason that isn't working, the panel will clearly not work. Using the command monitor for the connection will also help to confirm the message is being passed out. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.org www.syracusemodelrr.org |
Locked
Re: Running a python script in JMRI
#scripting
Hi Tim, If you can convert this (one answer below the accepted one in the link? below) into a jython script you'd be home and dry, I think. Otherwise, you might consider creating it as a library 'as is' and calling it from jython. Or maybe someone involved in JMRI development could take it upon them to do this as an exported support routine so the standard scripting could get at it. Wouter On Tue, 24 Dec 2019 at 19:54, <tim_p1964@...> wrote: Hi all |
Locked
Re: Cannot operate turnouts from Layout
#layouteditor
I omitted the fact that the Tam Valley accessory booster is used to power a number of DCC Specialties Jack Wabbits? that power the Tortoise machines.? The Tam Valley booster has its own power supply.? The Tam Valley booster is connected to the booster bus and output from the Tam Valley booster is connected to a bus that is connected to all of the Jack Wabbits.
Bill R |
Locked
Re: Running a python script in JMRI
#scripting
Randall Wood
There is a club in Virginia that has Jython scripts send text to an external speech synthesizer. I¡¯ll see if I can find a version of the script they use. |
Locked
Re: JMRI and CMRI
¿ªÔÆÌåÓýJay:CMRINet IS Dr Chubb¡¯s protocol, you use it when use your SMINIs, SUSICs etc. ?Bruce and the late Chuck Catania took the spec Bruce published and extended it and then we, as the CMRI SIG, submitted it as NMRA Layout Control Spec S ?9-10. So the classic nodes, cpNode, the Arduino CMRI Library and a bunch of home brew systems all ¡±Speak¡± CMRINet. ?You can mix and match all of these nodes any way you like. (Of course each node needs a unique address).? JMRI uses the CMRINet protocol and it knows about SUSIC, SMINI and cpNodes. Check out Chuck¡¯s excellent configuration and management tools for CMRINet on JMRI under ¡°CMRI¡± on the panel pro control panel.? Seth Neumann On Dec 24, 2019, at 8:13 PM, Jay Beckham <james@...> wrote:
|
Locked
JMRI and CMRI
What does the CMRInet Protocol have to do with using JMRI with traditional CMRI hardware e.g. SMINI, SUSIC, and other CMRI hardware?? Is that only applical to CPNode and/or LCS?? The subject came up in JMRI Hardware Support - Chubb C/MRI writeup.
Thanks |