¿ªÔÆÌåÓý

Date

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 -


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

 

Thanks Marc,

Of course COM ports might be different, as well as IP addresses and MAC addresses, if these?are important (I don't need wifi, IP or MAC?addresses known).? Those are easy to diagnose and change should it be necessary.
I suppose script files can be manually copied over, and preferences can easily be duplicated.

You answered my question.? So there?are no automatic tools.

Thanks,
Julius


Locked Re: Windows XP

Nick
 

Jim,

Sorry to call you on this but XP is NOT restricted to version 1.6 . I am currently running Ver 1.8 on my ancient Gateway XP laptop. You need to go to the Oracle site and do a stand-alone download, then run the exe file to install it. The only real "problem" is speed but the software will still run fine.

I learned this information from THIS group. Please check your info, I did.

Regards,
Nick Kulp

"I'm not a failure. I started at the bottom and I found it easily attainable. Life is too short to set unattainable goals"

- Nick Kulp

Don't forget that JAVA for an XP computer is restricted to version 1.6 (?) so you are forced to run older versions of JMRI. The newer Win-10 machines will run the new Version of JAVA and you can update JMRI with no problems. XP while a good operating system is getting harder and harder to find support for evolving software.

Jim (Houston)


Locked VSD Notching Question #vsdecoder

 

I have a working VSD file for an ALCO 251 engine. The engine wave files 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 there are 8 notches starting with idle. I¡¯m left without using run8.??And my first notch is really an idle one (steps 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

 

On Wed, Oct 23, 2019 at 02:14 PM, Jim Kelly wrote:


Don't forget that JAVA for an XP computer is restricted to version 1.6 (?)
so you are forced to run older versions of JMRI. The newer Win-10 machines
will run the new Version of JAVA and you can update JMRI with no problems.
XP while a good operating system is getting harder and harder to find
support for evolving software.

Jim (Houston)
As already mentioned early in thread, it's possible to install Java 1.8 on XP.

--
Peter Ulvestad

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


Locked Re: Windows XP

Jim Kelly
 

Don't forget that JAVA for an XP computer is restricted to version 1.6 (?) so you are forced to run older versions of JMRI. The newer Win-10 machines will run the new Version of JAVA and you can update JMRI with no problems. XP while a good operating system is getting harder and harder to find support for evolving software.

Jim (Houston)

On Wed, Oct 23, 2019 at 2:26 PM Bobby Abrams <balc99@...> wrote:
absolutely true
Bobby Abrams


On Wed, Oct 23, 2019 at 12:02 PM Joe Gibbs <joegibbersr@...> wrote:
Not going to get into the technical ups and downs about running JMRI on winXP...? I have run it on an older XP laptop fine... however, it was so slow booting and bringing up the software... not to say any internal processing (which was sluggish by todays standards)...? ? I bit the bullet and am very very happy I did.??
I bought a used HP laptop,, running Windows10... for little over $100? ?it was older generation,,speed and processor.. however it was superfast for booting and running the JMRI software... well worth the $100...? plus most newer DCC gear was very likable to the Windows10 platform....? my suggestion... get a newer Windows10 laptop... even its an older one... it will be much better that the WindowsXP operating system....? ? ? ?just my opinion...? joeg


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

 

On Wed, Oct 23, 2019 at 01:49 PM, 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.

Thanks,
Julius
Since the thread was moving Roster from OLD Computer A? to? NEW Computer B, that is what was covered using tools provided by JMRI.

Now if you want the whole nine yards to be transferred, that is another matter and there are no automated tools within JMRI to permit/assist in this.?

I could go into " HOW TOO :, but there are several variables in Windows and user knowledge required that an error can render it all as crap.
You must have an idea of what you are doing and if you had, you would not be asking HOW TOO..? Something as simple as a Locobuffer-USB on computer A is on COM2. but on computer B it is on COM5, throws a wrench in it.

As an example/test,? I took my C:\Users\XxXxXxXx\JMRI from my Win7 computer and moved/copied it over to my WIn10 system.?
1 - On Computer B Rename C:\Users\XxXxXxXx\JMRI to? C:\Users\XxXxXxXx\JMRI_backup for safe keeping.
2 - On computer A, Copy? C:\Users\XxXxXxXx\JMRI? to memory key/thumb driver/media
3 - Move media from Comp A over to COMP B, copy C:\Users\XxXxXxXx\JMRI ? to COMP B C:\Users\XxXxXxXx\

Certain profiles did not start (COM port mis-match)
Wifi did not work (change of IP address)?
Roster was intact.
Nothing else of note.

Marc
.?


Locked Re: Dispatcher Problems

 

After I run each dispatch I get lots of untitled empty frames left behind, one for every time I call dispatcher which can be a large number if I have a repeat loop.. I think the frame is the AutoTrains window at least I think it was the one the %speed on it. It is now 2 cm by 0.5 cm and has?

I have tried setting some variables to none. The problem disappeared at one stage but has re-appeared.

Some of the commands called are as follows:

R = RunTransit()

??????? R.runDispatch(EnterBlockStr, ExitBlockStr, Transit, TrainName, DCCAddress, TrainType, AutomaticRunning, ????SpeedFactor, MaxSpeed, RampRate, ResistanceWheels, RunReverse, SoundDecoder, MaxTrainLength )

??????? #R = None? (this solved the problem at one stage by some fluke but does not now)

**

In ?Class RunTransit the following are called

DF = self.getDispatcherFrame()

Where

def getDispatcherFrame(self):

????? return jmri.InstanceManager.getDefault(jmri.jmrit.dispatcher.DispatcherFrame)

*

at = DF.createActiveTrain (Transit, TrainName, TSource, StartBlock,

??????????????? StartBlockSeq, EndBlock, EndBlockSeq,

??????????????? AutoRun, DccAddress, int(Priority), False, False,

??????????????? True, DF,3)

aat = jmri.jmrit.dispatcher.AutoActiveTrain(at)

**

DF.getAutoTrainsFrame().addAutoActiveTrain(aat)

at.setTerminateWhenDone(True)????

DF.allocateNewActiveTrain(at)

DF.newTrainDone(at)

**

Is there anything I can call to close the empty frame (which I presume is the AutoTrainsFrame) when the dispatch is completed