Re: Associating an init script with a panel file?
OK, that worked.
By
Robert Heller
·
#242136
·
|
Re: Associating an init script with a panel file?
The simplest way I've created a way to have something start with the panel load is a LRoute. Pick the type: Initializer. Then have it do whatever you want. -Ken Cameron, Member JMRI Dev Team
By
Ken Cameron
·
#242135
·
|
Re: How do I hook up a bar code reader to JMRI
Bob, I ran the program yesterday at baud=19200; I thought I had changed that to 9600. When I ran again today with baud=9600 it worked. Yeah! -- Ready to process past next = self.inputStream.read() (0,
By
Nick Brownsberger
·
#242134
·
|
Re: Audio Icon on Web Panel - Java
Vinny, Yes, my code was Java. But you write Jython code. JMRI is written in Java, but it's difficult for users to write Java code. Therefore JMRI supports Jython, which is another language. But the
By
danielb987
·
#242133
·
|
Re: Audio Icon on Web Panel - Java
I thought you told me that the code you provided (see snip in my first message) was Java script?
By
Vinny DeRobertis
·
#242132
·
|
Re: Associating an init script with a panel file?
Robert, If you are loading the xml file with a "Preferences -> Startup" action, you can also use a startup action to run the script. The other approach is to use Logix or LogixNG to run the script.
By
Dave Sand
·
#242131
·
|
JMRI 5.11.5 OBlock File corruption
After running Version 5.10 I upgraded to 5.11.5 to access New Decoder incusions. All was well until I needed to make some changes to OBlocks. On accessing the Oblock table I eiher saw nothing in the
By
waldenjohn@...
·
#242130
·
|
Associating an init script with a panel file?
I have a panel file (https://github.com/RobertPHeller/WendellDepotMusuem/blob/main/PanelPro/WendellDepot-JMRI-withPanel.xml) that I have written an init script (it just initializes the internal
By
Robert Heller
·
#242129
·
|
Re: What¡¯s the optimum blocks in a fiddle/storage yard
Thanks all,? good thoughts.? ?Im stayiung for a short week in the Hamptons Virginia, In October. Any good railroad shops in that area I should try and look at. Im visiting from the UK, perhaps I
By
Howard Witt
·
#242128
·
|
Re: Audio Icon on Web Panel - Java
And you should run it from PanelPro. Daniel
By
danielb987
·
#242127
·
|
Re: Audio Icon on Web Panel - Java
Vinny, Sorry for late reply. If it's a Jython script, use ".py" extension. .js is for JavaScript. Daniel
By
danielb987
·
#242126
·
|
Re: LCCTools v5.11.6 fails with unrecoverable error
Thanks for including the traceback of the error. That really helps. Might take a few days to sort this out. It¡¯s in the code from a 3rd party, Bob ¡ª Bob Jacobsen rgj1927@...
By
Bob Jacobsen
·
#242125
·
|
Re: How do I hook up a bar code reader to JMRI
If that¡¯s what the reader manual says, and if the script is currently set at 9600, you should probably try 4800 in the script. Looking at the raw data you provided, it looks like the 1 bits are
By
Bob Jacobsen
·
#242124
·
|
Re: How do I hook up a bar code reader to JMRI
Bob, The baud rate should be 9600, parity bits=none, data bits=8 and stop bits=1. Nick
By
Nick Brownsberger
·
#242123
·
|
Re: What¡¯s the optimum blocks in a fiddle/storage yard
I have 3 total. The yard entrance splits and each has a detection block. One is the freight arrival and Dispatcher brings train to a stop 80% into Block #1. Yardmaster takes over to break up the
By
Ken Heywood
·
#242122
·
|
Re: jmri & Arduino DCC-EX
#dcc-ex
Yes got them off amazon together with the motor head 4 years ago , they were about ?12 in 2021 Rob
By
Rob Heath
·
#242121
·
|
Re: jmri & Arduino DCC-EX
#dcc-ex
Hi Rob. like to ask are you using a clone Arduino.to run the locos with. Andrew.
By
andrew_pink58@...
·
#242120
·
|
Re: Principles for signal decoders (LocoNet/LCC)
Hej Even if a decoder is called "signal decoder" it can be a very different animal compared to other brands. I usually talk about three categories: 1. "I/O-decoders" - the simplest type is just a
By
Anders Bostr?m
·
#242119
·
|
Re: Script does not Print to System Console on Linux laptop
#scripting
Phil, If it is important that a script force a message be printed on the System Console, the use of the logging library provides a number of useful features. A simple example in the distributed
By
Cliff Anderson
·
#242118
·
|
Re: Script does not Print to System Console on Linux laptop
#scripting
Phil, If Script Output is NOT open, print output goes to the system console. Dave Sand
By
Dave Sand
·
#242117
·
|