¿ªÔÆÌåÓý

Date

Locked Re: Database interface?

 

Hi Eric,

Whatever you build would have to be read-only. And that shouldn't be too much of a stretch, because there are xml-readers 'out there' that could be configured to create comma-separated files, with which I assume you'd be high and dry.

Should you wish to start injecting your own things into JMRI (in other words, forget about the 'read-only' constraint), then it gets messy and difficult very fast, and you'd have to start to refactor JMRI's storage from the ground up. Not everyone would be happy with that course of action, should you want to push it out into the rest of the world! After all, who needs new bugs taking the place of the ones we know and love?

Wouter


On Thu, 24 Oct 2019 at 19:27, Eric Smith <eric@...> wrote:
From my research into JMRI, the "database" is a series of XML files. Is anyone aware of any sort of database interface that can be used in place of the XML? I've built my own application to track my inventory, pictures, etc. and would love to be able to tie in my inventory database directly with JMRI for operations. I understand it does import/export, but I'd prefer a real-time connection to a database. Thanks.?

--
Eric Smith?
Northstar Computer Systems

(317) 288-1720


Locked Database interface?

 

From my research into JMRI, the "database" is a series of XML files. Is anyone aware of any sort of database interface that can be used in place of the XML? I've built my own application to track my inventory, pictures, etc. and would love to be able to tie in my inventory database directly with JMRI for operations. I understand it does import/export, but I'd prefer a real-time connection to a database. Thanks.?

--
Eric Smith?
Northstar Computer Systems

(317) 288-1720


 

Does anyone have or know where there are more Locomotive sound files ready to use?? I look for sound files besides those already in JMRI.


Locked Off line topic- old marklin z engines

 

i need help with marklin z engines, ?how can i clean and oil very old models that ran well for short period of time before being scored for at least 5 years and now wont move.
is there a place i can send them for repair.
please contact me directly rather than reply to this email

tony


Locked Re: More weird behavior - JMRI Web server (I think)

 

Rick,
My guess is that your older iPads do not support the WebSocket protocol. You can test this by going here on those devices:?
If your devices do not support WebSocket, the workaround is to use the older /frame server. You may need to enable it: Edit, Preferences, Web Server, Enable frames.
Then browse to ?here's mine for example:?

I don't follow what you're asking about the sizes. Sorry.

--SteveT


Locked Re: VSD Notching Question #vsdecoder

 

Idle and Run 1 have the same (Idle) RPM. the engine does not rev up until Run 2.

The motor might start turning in Run 1, depending on the load on the locomotive.

Steve Bartlett


Locked Re: VSD Notching Question #vsdecoder

 

Klaus

Thanks, I'll try it tomorrow

Conrad


Locked Re: VSD Notching Question #vsdecoder

 

Hi Conrad,

Notch numbers must be unique within a VSD profile. The maximum number is not fixed.

The following example worked for me:
I took a diesel3 VSD file with 8 notches (1 to 8).
I added an idle sound as notch 0 (the audio format must match with the existing notch WAV files).
I did not declare <idle-notch> in config.xml.
Then I adjusted "next", "prev", "accel-limit" and "decel-limit" in notch 0 and notch 1.

<idle-notch> can be declared in a config.xml to assign a notch number as the idle sound. If <idle-notch> is not declared, VSD takes the lowest notch number as the idle sound.
I have never used <idle-notch> before and I think it's best to let VSD choose the right notch number.

Klaus


Am 23.10.2019 um 23:33 schrieb conrad:

I have a working VSD file for an ALCO 251 engine. The engine wave file s consist of a start file, a stop file, an idle file and 8 run/accel/decel files. My set up is idle, run1, run2, ... run7 (each 12 steps apart). As you can see t here are 8 notches starting with idle. I¡¯m left without using run8. And my first notch is really an idle one (step s 1 to 12).
Question is can I add a ninth notch or can I somehow insert the idle.wav before the first notch?? I've also thought about "crushing" the first notch to say step 1 to step 2 then 12 steps apart for the remaining 7 notches.? This still leaves out run8.wav and some movement at idle.
I see <idle-notch>1</idle-notch> but don¡¯t know it¡¯s purpose. Is this an insertion location?
Bty, this ALCO V16 251 4 stroke diesel really has a distinctive sound.
Conrad


Locked Re: Windows XP

Jim Kelly
 

OOPS, my bad
I'll check into XP & Java 1.8
I guess my memory faded on the subject as I do remember all the chatter about 1.6 to 1.8 and thought it was recommended to move away from XP.?

I consider this thread closed,
Jim (Houston)


Locked Re: Windows XP

 

You can do the offline download and install of Java 1.8 up to version 153 or
some number close to that. Somebody posted the correct number not too long
ago, which was the last version that installed ok on Win XP.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.org
www.syracusemodelrr.org


Locked Re: audio file not playing

 

Leo,

And, to double-check - when you mention:

I can open the file and play it with no problem
Do you mean within JMRI or in software other than JMRI?

Thanks.

Best regards,

Matt H


Locked Re: audio file not playing

 

Leo,

That does not appear to be a file we ship in the JMRI distribution (despite it being located in the JMRI program directory).

(We recommend not adding user files within the JMRI program directory as these are at risk of removal during installation; rather add them to the user files location which, in your case would be a sub-directory of `C:\Users\Railroad\JMRI\`)

What is possible is that this .wav file is encoded using an audio codec that we do not support - we only support 8 and 16 bit PCM format wav files.

To verify, would it be possible to send a copy of the audio file such that I can double-check the codec used and run it through some debugging?

Thanks.

Best regards,

Matt H


Locked Re: Developing Jython Scripts

 

This is tutorial for Czech and Slovak users
Unfortunately for you it is in Czech language. Maybe Google Translate help you.
My favorite editor is jEdit

--
Petr ?¨ªdlo
Czech Republic


Locked Re: Fw: Subject: Downloading current roster to new computer

 

Julius,

On 24 Oct 2019, at 4:49 AM, Julius Olajos via Groups.Io <julius_olajos@...> wrote:

These comments take care of the roster.
What about everything else? I'm thinking of the communications settings (I have my clubs and my home layout in my decoder pro).
I would also think that preferences settings as well as script files should be backed up.
Copying/sharing the User Files Location will work across any computer. Likewise Scripts (if not already in User Files Location) should usually work fine.

Communication and other baseline profile preferences are usually machine-specific and may lock up JMRI on startup if copied.

It is possible to share profiles in the same way as User Files but more complex to set up. In the case of shared Profiles, JMRI does separate out machine-specific settings.

The Dropbox document Peter mentioned covers User Files sharing (with the same principles applying to copying):

<>

But Profile sharing/copying has a few more wrinkles/traps. We don't have a specific document for this, but this is a reference document for what is stored where:

<>

I actually share User Files between profiles and computers via a "~/Dropbox/JMRI" folder and entire profiles via a "~/Dropbox/JMRI Config Profiles" folder, but it's not trivial to set up.

You could try copying the entire Settings Location (see Help->Locations) but need to be prepared for a possible situation where you can't get going far enough to fix machine-specific preferences using the Preferences and may need help to manually edit/remove files to get going again.

Dave in Australia


Locked Re: Windows XP

 

Much to my surprise, this Windows XP Sp3 install is going thru 77 updates at this time.

Looks like there is still some support for XP? from Microsoft? : - )

Marc


Locked Re: Windows XP

 

With more time than brains. I blew away Win7 on a Thinkpad T60 2GHZ / 2GB ram and then went thru the Windows XP installation. I then got JAVA 1.8.0_152 (offline installer) from the link I had provided and JMRI 4.17.4 from JMRI Downloads.? Copied them both to a mem stick as the XP's? Internet Explorer would not connect to most sites.

The install was without a glitch and JAVA installed without a whimper. JMRI? loaded just fine. Downloaded the driver for the PR4 from Digitrax (using IE ??).
Everything works fine in both PR4 Standalone mode and/or attached to my DCS50.

I had more problems finding a browser that works under Windows XP.

The T60 starts up faster that another 32 bit system running Win10.? It is ready to work while the Win10 system is still churning away.

Marc


Locked Re: Fw: Subject: Downloading current roster to new computer

 

I am passing on this info that I figured out.? If you have JMRI earlier version 4.16 you will probably find issues with trying to export a complete roster or individual roster entries to DecoderPro.? I had this issue, but once I had upgraded to Version 4.16 the ESU V5 entries were recognized, where they were not? with Version 4.14.

Paul


Locked More weird behavior - JMRI Web server (I think)

 

Hello again all,
The upgrade to WiThrottle 3.0.4 seems to have resolved the not connecting issue we were seeing previously but now we have come across a new problem which is not WiThrottle specific.? My club has created a number of panels in JMRI and we bring those panels up on Gen2 iPads that we have strategically located around the layout.? To access these panels we have always used WiThrottle running on the iPads and selected the web server icon.? Now even before this latest issue there was a problem that if we selected certain larger sized panels from the first screen showing the panels they would be displayed as a 'fixed image' (for lack of a better description) that was smaller than the actual iPad screen, shows scroll bars (that do not work) and we could not move the panel around to see the rest of it.? What we had to do was select the 'Home' link at the bottom of a panel and then click the drop down for Panels and then select the panel we wanted.? It was then displayed taking up the full iPad screen (or something close to it) and we could move the viewing window (again for lack of a better term) around and see the whole panel.? Previously we JMRI 4.16 production release and WiThrottle 3.0.2 this is how things worked.? We then upgraded to test release 4.17.4 and WiThrottle upgraded to 3.0.3 (and then 3.0.4) and now when we click the 'Home' link the page displays 'Getting Panel' and hangs there.? This same behavior occurs if I use the safari browser on the iPad and log into the JMRI web server directly and try to bring up a panel.? It also says on this page "No shareable windows are open" (same when viewed via WiThrottle).? With all of this being said - if we use our iPhones and the WiThrottle 3.0.4 everything works as before so we have no issue.? The same is true if we directly log in to the web server from a windows box. We also tried an iPad that was still running WiThrottle 3.0.2 and same problem.? We then decided maybe 4.17.4 changed something and made it 'incompatible' with iOS 9.3.5 (which is what the iPads are running) so we removed JMRI from the raspberry pi where it runs (forgot to mention that earlier) and put production release 4.16 back on.? Same problem still exists - even with the iPad running 3.0.2 and was never upgraded.? I am at a total loss as to how the iPhones and Windows machines are working fine but the iPads are not?? When we first start WiThrottle on the iPads and go to the web server it shows the list of panels and the images and we can click them and use them, but the two panels that are two big cannot be used in this way - is there some way to change the viewable size of those panels (if that makes sense) so we can at least use what is working in the short term (we have an op session this Saturday and two of the yard panels are the ones we cannot use).? Or does anyone have any ideas on what may be going on?
One final bit of information, although I do not know if it is relevant - on the iPad WiThrottle app (3.0.4) it shows the actual wireless network id (BCMRC) but on on throttles the WiThrottle app (3.0.4) shows 'null' for the SSID?!?!?

Any help is greatly appreciated,
Rick


Locked audio file not playing

 

Hello all,

I have had this error for a while, but other problems had higher priorities, so I never looked into it.

But now I have some time, and here it is.

In the System Console I get this message:

2019-10-23 15:59:08,126 jmrit.Sound ? ? ? ? ? ? ? ? ? ? ? ? ? ERROR - file:/C:/Program%20Files%20(x86)/JMRI/resources/sounds/phonering.wav is not a recognised audio format [AWT-EventQueue-0]

though I can open the file and play it with no problem. I have also other wav files used in our panels, and they work fine. I am not sure why this file specifically does not work.?
Anyone can make a guess why?

My environment:

2019-10-23 10:21:20,175 util.Log4JUtil ? ? ? ? ? ? ? ? ? ? ? ?INFO ?- * JMRI log ** [main]
2019-10-23 10:21:20,191 util.Log4JUtil ? ? ? ? ? ? ? ? ? ? ? ?INFO ?- This log is appended to file: C:\Users\Railroad\JMRI\log\messages.log [main]
2019-10-23 10:21:20,191 util.Log4JUtil ? ? ? ? ? ? ? ? ? ? ? ?INFO ?- This log is stored in file: C:\Users\Railroad\JMRI\log\session.log [main]
2019-10-23 10:21:20,191 apps.Apps ? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- PanelPro version 4.17.5ish+pete_+20190923T0103Z+R957f63c605e starts under Java 1.8.0_221 on Windows 10 amd64 v10.0 at Wed Oct 23 10:21:20 PDT 2019 [main]
2019-10-23 10:21:20,441 apps.Apps ? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO ?- Starting with profile Development_System_Left.3eab7ac8 [main]
2019-10-23 10:21:20,566 node.NodeIdentity ? ? ? ? ? ? ? ? ? ? INFO ?- Using jmri-kYBg6dXWWhNiaalfABtd88-3eab7ac8 as the JMRI storage identity for profile id 3eab7ac8 [AWT-EventQueue-0]
2019-10-23 10:21:20,784 xml.AbstractSerialConnectionConfigXml INFO ?- Starting to connect for "LocoNet" [main]
2019-10-23 10:21:20,784 jmrix.AbstractSerialPortController ? ?WARN ?- old profile format port speed value converted [main]
2019-10-23 10:21:21,081 locobufferusb.LocoBufferUsbAdapter ? ?INFO ?- LocoBuffer-USB adapter set hardware flow control, mode=2 RTSCTS_OUT=2 RTSCTS_IN=1 [main]
2019-10-23 10:21:21,081 locobuffer.LocoBufferAdapter ? ? ? ? ?INFO ?- COM4 port opened at 57600 baud with DTR: true RTS: true DSR: true CTS: true ?CD: false [main]
2019-10-23 10:21:21,144 loconet.LnPacketizer ? ? ? ? ? ? ? ? ?INFO ?- lnPacketizer Started [main]
2019-10-23 10:21:21,144 xml.AbstractSerialConnectionConfigXml INFO ?- Starting to connect for "NCE" [main]
2019-10-23 10:21:21,144 jmrix.AbstractSerialPortController ? ?WARN ?- old profile format port speed value converted [main]
2019-10-23 10:21:21,175 serialdriver.SerialDriverAdapter ? ? ?INFO ?- NCE COM5 port opened at 9600 baud [main]
2019-10-23 10:21:21,175 xml.AbstractSerialConnectionConfigXml INFO ?- Starting to connect for "CAN" [main]
2019-10-23 10:21:21,175 jmrix.AbstractSerialPortController ? ?WARN ?- old profile format port speed value converted [main]
2019-10-23 10:21:21,284 nce.NceConnectionStatus ? ? ? ? ? ? ? INFO ?- NCE EPROM revision = 6.2.2 [AWT-EventQueue-0]
2019-10-23 10:21:21,300 gridconnect.GcSerialDriverAdapter ? ? INFO ?- COM3 port opened at 57600 baud, sees ?DTR: true RTS: true DSR: false CTS: false ?CD: false [main]
2019-10-23 10:21:22,709 util.FileUtilSupport ? ? ? ? ? ? ? ? ?INFO ?- File path program: is C:\Program Files (x86)\JMRI\ [main]
2019-10-23 10:21:22,709 util.FileUtilSupport ? ? ? ? ? ? ? ? ?INFO ?- File path preference: is C:\Users\Railroad\JMRI\ [main]
2019-10-23 10:21:22,709 util.FileUtilSupport ? ? ? ? ? ? ? ? ?INFO ?- File path profile: is C:\Users\Railroad\JMRI\Development_System_Left.jmri\ [main]
2019-10-23 10:21:22,709 util.FileUtilSupport ? ? ? ? ? ? ? ? ?INFO ?- File path settings: is C:\Users\Railroad\JMRI\ [main]
2019-10-23 10:21:22,709 util.FileUtilSupport ? ? ? ? ? ? ? ? ?INFO ?- File path home: is C:\Users\Railroad\ [main]
2019-10-23 10:21:22,709 util.FileUtilSupport ? ? ? ? ? ? ? ? ?INFO ?- File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main]
2019-10-23 10:21:23,755 PanelPro.PanelPro ? ? ? ? ? ? ? ? ? ? INFO ?- Main initialization done [main]

Thank you
Leo P


Locked Re: Fw: Subject: Downloading current roster to new computer

 

If you're looking at sharing files consider dropbox (or similar sharing service)

Preferences need to be setup separately on each computer

--
Peter Ulvestad

JMRI Users Group Moderator - ( )
Tam Valley Group Moderator - ( )
Sprog-DCC Group Moderator - ( )
Edmonton Model Railroad Association -