Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
Re: Touch Screens
Amazon Fire tablets are also good options, especially with sale prices. Even new ones. I got a pack of two 7" tablets for $50 total earlier this year. Good as Engine Driver handhelds.
toggle quoted message
Show quoted text
With Black Friday et al soon, I expect prices will be good again. /Jack On November 6, 2019 5:33:25 PM PST, Bob Jacobsen <rgj1927@...> wrote: For smaller touchscreens, some model railroads have used iPads and Android tablets. Older ones can be gotten pretty inexpensively. --
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
Locked
Re: Touch Screens
For smaller touchscreens, some model railroads have used iPads and Android tablets. Older ones can be gotten pretty inexpensively.
Bob On Nov 6, 2019, at 5:26 PM, leo pesce <lpescester@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: Touch Screens
On the Cumberland West, all touch screebs are HP models, one 15", three 19" and one 21". All the rest are non touch screens, a variety of Dell and HP. Leo P On Wed, Nov 6, 2019, 1:32 PM Seth Neumann <sneumann@... wrote: David Parks uses them on his Cumberland West. |
Locked
Re: Touch Screens
Bob
toggle quoted message
Show quoted text
Thanks for the link. David railroad is something else. I am in O scale currently running CTC using Visual Basic and have a physical CTC board. After seeing some flight simulator guys using touch screens and my digital organ I built was wondering about if anyone had use a touch screen. So thanks again Jay -----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Bob Jacobsen Sent: Wednesday, November 6, 2019 5:47 PM To: [email protected] Subject: Re: [jmriusers] Touch Screens More info on that: Bob On Nov 6, 2019, at 1:31 PM, Seth Neumann <sneumann@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: MIld panic: all ID tags appear to be gone
¿ªÔÆÌåÓýAllen,On Nov 2, 2019, at 1:37 AM, ahouse3761 <trainmail1@...> wrote:
My testing locally shows this solving the problem, but I want to verify it works for you too. Paul |
Locked
Re: Where to put shutdown.py script and how to use it?
#scripting
Jason, Try the following script. import java import jmri from org.apache.log4j import Logger log = Logger.getLogger("jmri.jmrit.jython.exec.ShutDownTask") class MyShutDownTask(jmri.implementation.AbstractShutDownTask): ??? def setup(self): ??????? log.info('setup for shutdown') ??????? self.firstTime = True; ??? def execute(self): ??????? log.info('Step 1') ??????? turnouts.provideTurnout('IT1017').setState(THROWN) ??????? log.info('Step 2') ??????? powermanager.setPower(jmri.PowerManager.OFF) ??????? log.info('Step 3') ??????? log.info('First time = {}'.format(self.firstTime)) ??????? if self.firstTime: ??????????? self.firstTime = False ??????????? log.info('Skip first shutdown') ??????????? return False ??????? log.info('Allow the second shutdown') ??????? return True sd = MyShutDownTask('Test Shutdown') sd.setup() shutdown.register(sd) It has a number of log.info statements to show progress. ?You will need to look at the session.log file to see the full output. 2019-11-06 17:25:23,604 PanelPro.PanelPro ? ? ? ? ? ? ? ? ? ? INFO? - Main initialization done [main] 2019-11-06 17:25:30,772 exec.ShutDownTask ? ? ? ? ? ? ? ? ? ? INFO? - setup for shutdown [AWT-EventQueue-0] 2019-11-06 17:25:39,315 eventtable.CbusEventTableAction ? ? ? INFO? - Saving event xml file [AWT-EventQueue-0] 2019-11-06 17:25:39,326 exec.ShutDownTask ? ? ? ? ? ? ? ? ? ? INFO? - Step 1 [AWT-EventQueue-0] 2019-11-06 17:25:39,335 exec.ShutDownTask ? ? ? ? ? ? ? ? ? ? INFO? - Step 2 [AWT-EventQueue-0] 2019-11-06 17:25:39,338 exec.ShutDownTask ? ? ? ? ? ? ? ? ? ? INFO? - Step 3 [AWT-EventQueue-0] 2019-11-06 17:25:39,340 exec.ShutDownTask ? ? ? ? ? ? ? ? ? ? INFO? - First time = 1 [AWT-EventQueue-0] 2019-11-06 17:25:39,341 exec.ShutDownTask ? ? ? ? ? ? ? ? ? ? INFO? - Skip first shutdown [AWT-EventQueue-0] 2019-11-06 17:25:39,341 managers.DefaultShutDownManager ? ? ? INFO? - Program termination aborted by "Test Shutdown" [AWT-EventQueue-0] 2019-11-06 17:25:48,313 eventtable.CbusEventTableAction ? ? ? INFO? - Saving event xml file [AWT-EventQueue-0] 2019-11-06 17:25:48,323 exec.ShutDownTask ? ? ? ? ? ? ? ? ? ? INFO? - Step 1 [AWT-EventQueue-0] 2019-11-06 17:25:48,324 exec.ShutDownTask ? ? ? ? ? ? ? ? ? ? INFO? - Step 2 [AWT-EventQueue-0] 2019-11-06 17:25:48,324 exec.ShutDownTask ? ? ? ? ? ? ? ? ? ? INFO? - Step 3 [AWT-EventQueue-0] 2019-11-06 17:25:48,325 exec.ShutDownTask ? ? ? ? ? ? ? ? ? ? INFO? - First time = 0 [AWT-EventQueue-0] 2019-11-06 17:25:48,325 exec.ShutDownTask ? ? ? ? ? ? ? ? ? ? INFO? - Allow the second shutdown [AWT-EventQueue-0] 2019-11-06 17:25:48,414 managers.DefaultShutDownManager ? ? ? INFO? - Normal termination complete [AWT-EventQueue-0] I am using an internal turnout since I don't have your hardware. Make sure the script works as expected using the internal turnout. ?Once that works, then try the real thing. Dave Sand ----- Original message ----- From: "Jasen Krueger via Groups.Io" <jasenk2@...> Subject: Re: [jmriusers] Where to put shutdown.py script and how to use it? #python Date: Wednesday, November 06, 2019 4:08 PM All, No such luck again.? I can start another script with the shutdown script but it will still only execute the first command.? I can run the second script independent from shutdown and both parts work in that script. What am I doing wrong or what can I do besides this? ? -- Thank you, Jasen |
Locked
Re: Touch Screens
More info on that:
Bob On Nov 6, 2019, at 1:31 PM, Seth Neumann <sneumann@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: VSD CLICKING SOUNDS REDUX
#vsdecoder
On Wed, Nov 6, 2019 at 02:00 PM, Jim Wells wrote:
Conrad,Jim, in my view, you are correct and here is my story: As stated in the thread, I'm working with a mono, uncompressed, 8 bit, 11025Hz sample rate .wav file.? To me, this mean that every 91us an amplitude sample of the audio signal was taken and placed into the digital .wav file.? I think of it as a table of values each with a timestamp.? When zoomed in my sound editing software (both Audacity and WavePad Sound Editor)? shows me these values as vertical "zero length" spikes every 91us.? I see both the postive and negative values.? However, I have yet to find a zero value.? For example say at time from start 100,000us it's +4 and at 100,091us it's -3.? Thus we have a zero crossing when demodulated.? But, as I understand digital sampling, there is no actual way to trim the file at the "zero" crossing point.? No sample was taken at that point in time.? You either cut it at 100,000us (+4) or at 100,091us (-3).? In the digital world it's either there or it's not.? There is no in-between, that's the job of demodulation. Zooming into the waveform will always work, although sometimes, it requires zooming out a little to get your cursor to drop in at the exact crossing.I don't believe this is exactly true.? In WavePad Sound Editor an attempt to select a spot between the 91us time ticks will always "bounce" to the closest tick.? In Audacity I can select a spot between the ticks but any action (trim, etc) always reverts to the nearest tick.? This make sense because there are no .wav values between the time ticks. Following this thread it seems like the problem happens when loading. ?It may be something with the file bit/sampling rate you load, maybe a different ?bit/sampling rate would be more compatible?Maybe I'm wrong, but doesn't a .wav file have a set sample rate?? As for loading, note that the problem only exists when the file is used within the engine tags of VSD.? When used as a stand alone sound, say as an electric motor tag or compressor tag, there are no clicks, buzzes, etc.? Per Klaus, this is because in those instances the file is being played completely, untouched.? In the motor tag case VSD chops up the file into 250ms segments for buffering purposes.? Say the files is 1,100ms long then you get five 250ms sub-buffers: 248,251,252,248,109.?I assume this is necessary so that when the throttle is moved within a notch (e.g. 24 to 36 out of 100) VSD can keep the sound flowing smoothly.? ?What is actually happening is a mystery to me. As a possible hint as to what is happening, I am able to eliminate a loud buzz at the end of a file by trimming of enough of the end to reduce the number of sub-buffers by one.? Then the file only has a click at the end. Hope any of this helps,Every bit helps.? It great having big, booming sounds in n scale.? Not prototypical but hey it's my railroad. Conrad Ps: Take all of this with a grain of salt.? I peeked at .wav wiki and there is much more to wav files than I know about. |
Locked
Withrottle
Price is not a concern. I just mentioned it. I will probably go with Wii. I don¡¯t really need an app to run trains as I have enough ¡°real¡± throttles. I just have no wireless throttles, and I have an old iPhone which is just collecting dust in a drawer.? Is the JMRI server part of JMRI, or is it a separate download? ?Thanks.? Jim K Sent from my Steve Jobs PopTart.? |
Locked
Re: Trains do not run with JMRI Throttle
Bob, yours could be a problem within PREFERENCES. DEFAULTS. The? throttles may be on Internal.
This does not apply to Henk's case? as his Throttle has the functions working but not the Speed/Direction Control. Henk , what version of JMRI were you running on the OLD laptop that died. Are you on the same version or updated ? Marc |
Locked
Re: Fatal crash - JMRI V 4.16
John,
WIthout more to go upon, it will be difficult to investigate the issue you are seeing. The error message you provide points out that there is some basic flaw in play, and that flaw could be caused by your script or by something in JMRI's basic functionality, or within the libraries you are working with. It _might_ help JMRI's developers to debug your problem if you provide the remainder of the error message. It can be many lines long, and sometimes something in that long list of messages can help focus the debugging process. Other times, this type of error message leaves very few bread crumbs to follow. What does your script do, in general? What JMRI features does it attempt to exercise? Perhaps you will need to provide the JMRI developers with a copy of any scripts you are running, and perhaps even the panel file(s) you use. If you installed JMRI 4.17.4 over the top of a JMRI 4.16 install (or some previous version), it may be that you have some old library files hanging around. A "clean" install (meaning to an entirely new or entirely empty "program" directory) can sometimes resolve this kind of problem. Regards, Billybob |
Locked
Re: Where to put shutdown.py script and how to use it?
#scripting
All,
No such luck again.? I can start another script with the shutdown script but it will still only execute the first command.? I can run the second script independent from shutdown and both parts work in that script. What am I doing wrong or what can I do besides this? ? -- Thank you, Jasen |
Locked
Re: Trains do not run with JMRI Throttle
I have a similar problem....I can program decoders and they read back all day long, but they do not respond to a throttle. I know the obvious, make the throttle window the dominant window, etc. but nothing works. I admit, I'm running a PIII 1.3MHz Dell with Ubuntu 8.04 Hardy, JMRI 3.10.1 and Java 1.6. If they respond to queries and can write to the decoder, I can't figure out why they won't respond to the throttle.
Bob |
Locked
Re: Touch Screens
David Parks uses them on his Cumberland West.
toggle quoted message
Show quoted text
On Nov 6, 2019, at 12:34 PM, John <jonie41@...> wrote: |
Locked
Fatal crash - JMRI V 4.16
Since I loaded version 4.16 I repeatedly get an unrecoverable error: an extract from the JMRI session.log, when I first encountered it in July on my Raspberry Pi, shows:- ? ¡°2019-07-20 20:16:23,827 ptionhandler.UncaughtExceptionHandler ERROR - Uncaught Exception caught by jmri.util.exceptionhandler.UncaughtExceptionHandler [AWT-EventQueue-0] java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread¡± ? This error occurs both on my Laptop and on my Raspberry Pi and happens randomly. I also tried version 4.17.5 on the Laptop - it has a slight variation of the same problem (only occurs when I ¡®Quit¡¯ PanelPro - I ran a script for 30mins without fault). I am not running Dispatcher !! Is this a known problem? I can provide more details if required.It does not occur on Laptop nor R.Pi with earlier version (4.14). Laptop: Windows 10, Java1.8.0-231, MERG interface, via USB. Raspberry Pi: MERG interface on CANPiCap. John |
Locked
Re: Touch Screens
any idea which ones?
toggle quoted message
Show quoted text
John ---------- Original Message ---------- |
Locked
Re: Touch Screens
yes.
toggle quoted message
Show quoted text
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jay Beckham Sent: Wednesday, November 06, 2019 9:16 AM To: [email protected] Subject: [jmriusers] Touch Screens Have touch screens been used at CTC driven by JMRI? |
Locked
Re: Engine Driver not connecting
Hi Tony,
First, can you run a loco using a JMRI Throttle window? If JMRI cannot communicate, EngineDriver cannot. Second, your phone must be on the same network as your JMRI computer. The ip address and port should be shown on the WiThrottle window of JMRI. What address and port are shown there? Does your JMRI computer show up under Discovered Servers in EngineDriver? Try manually entering the ip address and port into EngineDriver and pressing Connect. You should get an error message if something is amiss. Please provide the details of that error message.?You can press Connect multiple times if needed to keep the message on screen. The most likely guess is that you have a firewall blocking the incoming connection. Turn off all firewalls (temporarily) and try again. If it works, add an exception for JMRI. A less likely guess is that you're connecting to the Lenz WiFi, and not to the JMRI computer. (Not familiar with the 23151, so not sure it even has a wifi). Please provide the error message and any other details. --SteveT |