Locked
Re: Servos, Ardunios, and JMRI
#arduino
I think those changes will do it. Another approach would be to pass the output stream into the listener objects, so that two separate copies of the class wouldn¡¯t be needed. Bob
By
Bob Jacobsen
·
#162020
·
|
Locked
Re: Servos, Ardunios, and JMRI
#arduino
If you have a panel file loaded (before the script is run) that has created internal Turnouts with the appropriate user names, then all is well. However, it¡¯s good to have scripts like this (which
By
Bob Jacobsen
·
#162019
·
|
Locked
Re: Servos, Ardunios, and JMRI
#arduino
Bob, et al., If : *# get I/O connections for later* *inputStream = port.getInputStream()* *outputStream = port.getOutputStream() ... outputStream.write(event.source.userName) outputStream.write(",0")
By
Geoffb
·
#162018
·
|
Locked
Re: Servos, Ardunios, and JMRI
#arduino
Cliff & Bob, Thank you for your responses. Apologies for the hidden code; some other forums have a "code" tag and I was trying to see if it would work as such in an effort to keep things neat...
By
Sam Simons
·
#162017
·
|
Locked
Re: loco assignments
#operationspro
Matt, You can always manually assign a car or loco to a train.? You can add the car or loco anywhere along a built train's route, and you can drop off the car or loco at any location and track after
By
Dan Boudreau
·
#162016
·
|
Locked
Re: Servos, Ardunios, and JMRI
#arduino
Correction to my previous post: ``` # The following will set up 5 listeners for Turnouts PT1 though PT6 (by username) for x in range(1,6) : Datatransfer(x,x+100) ``` Your changes within the
By
Cliff Anderson
·
#162015
·
|
Locked
Re: Servos, Ardunios, and JMRI
#arduino
The problem is that both scripts are using the same global variable for `outputStream`. A single script sets that, then installs some code that listens for changes so that it can later forward those
By
Bob Jacobsen
·
#162014
·
|
Locked
Re: Servos, Ardunios, and JMRI
#arduino
Sam, From your original post: This symptom is consistent with the use of the same name for what should be considered two variables. In the text you supplied in your most recent post, it is apparent
By
Cliff Anderson
·
#162013
·
|
Locked
Re: DP feature request
Just to be clear, the consisting tool I am discussing is the JMRI consisting tool: described here: http://jmri.org/help/en/manual/DecoderPro3/dp3_Main_ConsistControl.shtml and here:
By
Paul Bender
·
#162012
·
|
Locked
Re: marker / follow number of train on screen
I know that the block contents tries to keep track of trains as they go around the layout.? I use Dispatcher and that puts the loco number in the block contents at the start.? Then as it moves
By
Roger Merritt
·
#162010
·
|
Locked
Re: marker / follow number of train on screen
Hello, a little "up". no one has any idea to help me?
By
FCOT2002
·
#162009
·
|
Locked
Re: loco assignments
#operationspro
Sorry, my question was for Dan Boudreau or one of the programmers that has history with RailOp I don't have my railroad tied to the computer and I don't want it to be. My understanding is to have more
By
cascaderwy
·
#162008
·
|
Locked
Re: JMRI and NCE
Ken, The key in either version is this: 2019-07-24 09:15:08,453 jmrix.AbstractMRTrafficController WARN - Timeout on reply to message: AA consecutive timeouts = 0 in nce.NceTrafficController
By
Ken Cameron
·
#162007
·
|
Locked
Re: DP feature request
I run in several layouts. I set up my consists to run on all these layouts without change. SO, programming track for all consist setups. I set up specific function settings on each Lok in each
By
thomasmclae
·
#162006
·
|
Locked
Re: JMRI and NCE
Hello Ken, Here are the JMRI 1.12 LOG and JMRI 4.16 Log. I am a computer novice computer novice. JMRI 1.12 Log 2019-07-24 09:14:55,777 util.Log4JUtil INFO - * JMRI log ** [main] 2019-07-24
By
Kenneth Skopp
·
#162005
·
|
Locked
Re: Alternate Sections in Transits using Dispatcher
Hi Torben. You cant actually call it a bug as it was done by design. If both the primary and alternate are both occupied then it wants the operator to choose which will be the next section, that is
By
Steve_G
·
#162004
·
|
Locked
Pi 4 heat and cases
Group: I was posting about the new Raspberry Pi 4 and heat issues... I've added a gallery and photo of a DIY 3D printed case and a commercial product. The case came from Thingiverse though I can't
By
jimalbanowski
·
#162003
·
|
Locked
Re: Cantons / Stop trains in block with red signal
@Dave : Thank's ! ! !
By
FCOT2002
·
#162002
·
|
Locked
Re: Controlling Servos directly connected to Arduino with DCC++ Base Station
#arduino
#dccpp
Hello, I may repeat myself but managing the servo directly in the DCC++ sketch is not a good idea. It seems simple but it is not the case, you will have to modify the DCC++ sketch. A simple solution
By
FCOT2002
·
#162001
·
|
Locked
Re: Best system setup for signaling
Ken, I monitored the commands being sent through jmri to the command station and found no error on the jmri side. However the light it's still missed on occasion seems like about after 4 or 5 turnout
By
Scott Clements
·
#162000
·
|