Locked
Re: id tags not found error though they seem to be there
Hmmm... I had to go back and look... the first Route implementation was introduced on June 11,2004. The first reporter was July 18, 2004, so yes, routes predate reporters, but only by 5 weeks....
By
Paul Bender
·
#167236
·
|
Locked
Re: id tags not found error though they seem to be there
Ok, I will look at this when I get a chance. Pau
By
Paul Bender
·
#167235
·
|
Locked
Re: Running a python script in JMRI
#scripting
Inobu, It helped me, thanks. -- Mike Heintzman Modeling the P&PU since 1953
By
Mike Heintzman
·
#167234
·
|
Locked
Re: Setting up routes
#routes
Wayne, I can't tell from your post if you use JMRI or not. If you use JMRI, setting up routes is much much easier than if you have to use the Digitrax throttle to do it. The DS64 manual has a copy of
By
Clay
·
#167233
·
|
Locked
JMRI 4.18 is available for download
#4-18
Production version 4.18 of JMRI/DecoderPro is available for download. This is a new production release containing changes since last July. If you are currently using JMRI 4.9.6 or earlier, we strongly
By
Bob Jacobsen
·
#167232
·
|
Locked
Re: Running a python script in JMRI
#scripting
Could you do the combining separately, in an audio editor, to create a new wav file outside JMRI? Then, at the appropriate time, just select that file and play it. Bob -- Bob Jacobsen
By
Bob Jacobsen
·
#167231
·
|
Locked
Re: Running a python script in JMRI
#scripting
Hi Matt was just contemplating that way around the issue, there would i say be around a max of 8 files all very small in size wav files, I can add all the files to the JMRI audio buffers and play them
By
tim_p1964@...
·
#167230
·
|
Locked
Display throttle panel/frame from script
Hi, having issued a self.getThrottle is there a way to cause the throttle to be visible from a script. Thanks Jim.
By
James Anderson
·
#167229
·
|
Locked
Re: Running a python script in JMRI
#scripting
Tim, I'll need to take a closer look, but you might be able to achieve what you're after by using the queueAudioBuffer method available within the Audio framework in JMRI. In essence, you would load
By
Matthew Harris
·
#167228
·
|
Locked
Re: Running a python script in JMRI
#scripting
Some notes about scripting in JMRI: - JMRI *does not* support Python C, the Python variant that ships with most Linux distributions - JMRI supports Jython, a Python variant that runs inside a Java
By
Randall Wood <rhwood@...>
·
#167227
·
|
Locked
Re: Running a python script in JMRI
#scripting
Hi The issue is not the playing of the Wav file from JMRI when a sensor is triggered, this I can do. the issue is that of having several wav files that are selected and combined depending on the value
By
tim_p1964@...
·
#167226
·
|
Locked
Re: Running a python script in JMRI
#scripting
TIm, Create SensndExample_1.py file from the test code below the ** , save it in your directory C:/Users/tim_p/sounds/Peter/ In Panel Pro, Panel, select Run Script - go to the Peter directory and
By
Inobu One
·
#167225
·
|
Locked
Re: Decoder Pro not seeing Power Cab
#nce
#powercab
Andrew, No need to reinstall and it's almost certain that port will stay at cu.SLAB_USBtoUART, so just give it a try. But system console is your friend... If you get the same symptoms, you've ruled
By
Dave Heap
·
#167224
·
|
Locked
Re: Running a python script in JMRI
#scripting
Tim, It's funny I had the same thing in mind. I have been playing around with this today between tasks. JMRI uses jmri.jmrit.Sound to play the wav file. You are trying to pull up the wave module and
By
Inobu One
·
#167223
·
|
Locked
Re: Running a python script in JMRI
#scripting
Hi guys this is the relevant section of the JMRI session window that shows whats wrong i think. javax.script.ScriptException: ImportError: No module named wave in <script> at line number 3 at
By
tim_p1964@...
·
#167222
·
|
Locked
Re: Running a python script in JMRI
#scripting
Hi Guys Thanks for the replies. i have previously tried adding import JMRI and import java, makes no difference. the premise for the script is that i want to be able to combine various short wave
By
tim_p1964@...
·
#167221
·
|
Locked
Re: Decoder Pro not seeing Power Cab
#nce
#powercab
By ¡°go¡±, of course I mean, ¡°run some more tests¡±.
By
andrew.woolman
·
#167220
·
|
Locked
Re: Decoder Pro not seeing Power Cab
#nce
#powercab
Well, new USB interface arrived today. ?Given that everything is already installed and working on the computer, should I just be able to swap it in and go, or do I need to re-install driver? thanks,
By
andrew.woolman
·
#167219
·
|
Locked
Re: Running a python script in JMRI
#scripting
LOL, Maybe I should read the thread completely to understand the objective. At least I got script tested an done. lol. Inobu
By
Inobu One
·
#167218
·
|
Locked
Re: Running a python script in JMRI
#scripting
Tim, Others on this list will have to provide help concerning your wave questions. A few general remarks concerning Jython and JMRI might help. 1 Insert two lines at the head of your script: ```
By
Cliff Anderson
·
#167217
·
|