Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Jmriusers
- Messages
Search
Locked
Re: VSD Notching Question
#vsdecoder
Conrad,
On 25 Oct 2019, at 1:58 PM, conrad <conradandrose@...> wrote:For a prototype diesel-electric loco: - Idle: the diesel governor is set to keep the motor idling at rpm rate 1 of 8. The generator/alternator excitation is switched off so no electricity is being generated and the traction motors are doing nothing. - Notch 1: the diesel governor is still set to keep the motor idling at rpm rate 1 of 8. However the generator/alternator excitation is switched on so some electrical pressure (voltage) is being generated and the traction motors will try to rotate. This may or may not happen, depending on brake/load/grade. - Notch 2: the diesel governor is set to keep the motor idling at rpm rate 2 of 8. More electrical pressure (voltage) is being generated and the traction motors will try harder to rotate. This is more likely to happen, depending on brake/load/grade. - ... - Notch 8: the diesel governor is set to keep the motor idling at rpm rate 8 of 8. Maximum electrical pressure (voltage) is being generated and the traction motors will be applying a lot of force to the wheels. The motor current will be very great if the motor can't turn at the desired speed due to brake/load/grade and the motors will be getting very hot (possibly into the time-limited yellow or red zone of motor current). The motor current will decrease as the train gets up to speed due to BEMF being generated by the motor. (That's pretty approximate and based on older DC generator/motor technology but you should get the idea.) If so I will have to work on the VSD files and my decoder motor settings. All my n scale locos have been programmed to move on decoder step !. This means that whether lightly loaded or heavily loaded (many cars) they move on step ! (function of BEMF). Guess this is not prototypical.Personally, I set my models to creep off very slowly at speed step 1, but with motor sound still at Idle. A high momentum setting in the decoder will delay move-off. That's about the closest you can get within the limitations of typical decoders. Dave in Australia |
Locked
TMCC2 Commands in JMRI
I have made pretty good progress in the TMCC-2 command syntax. It is substantially different from TMCC1.?
The throttle needs the ability to select the appropriate setOpCode in order to set the first byte. This first byte lets the base station know which command format is being used. TMCC-1 or TMCC-2. As you switch between TMCC-1 to TMCC-2 the command set changes drastically. TMCC-2 has a 2 9 bit command bit syntax and 1 3 word command format. Because of this the JMRI throttle needs to allow the user to formulate the command via key strokes. TMCC-1 and TMCC-2 need to have their own class and 3 system connections 3 System connections because Lionel has 3 base stations. TMCC, Cab1L and CAB2L. TMCC only TMCC-1 Cab1L TMCC-1 and Limited TMCC-2 Cab2L TMCC-1 All TMCC-2 I'm trying to figure out the best way to organize the command list to roll into XML. From there is the GUI and then parsing itself. Hopefully I can get it to the point where the experts can evaluate what I have, fix my errors and make it an acceptable module.? ? Inobu |
Locked
Re: VSD Notching Question
#vsdecoder
Might I request that you that you post the solution for others to peruse. It is often a lot easier to work from an example than from a discussion of what's in it.
Just a thought... Thank you, Charles |
Locked
Re: VSD Notching Question
#vsdecoder
Stephen,
From what I gather, you are speaking of prototype locos.? I assume this is similar to an automatic transmission auto that, while in gear and idling, will not move when on an upgrade.? ? If so I will have to work on the VSD files and my decoder motor settings.? All my n scale locos have been programmed to move on decoder step !.? This means that whether lightly loaded or heavily loaded (many cars) they move on step ! (function of BEMF).? Guess this is not prototypical. Conrad |
Locked
Re: VSD Notching Question
#vsdecoder
Klaus,
Thank you, thank you.? It worked perfectly.? notch 0 (idle) goes from step 0 to 0, notch 1 (run1) goes from step 1 to 12, and so on up to run8. I did remove <idle-notch>1</idle-notch>.? ?Much success and a great sound.? The ALCO V16 251 is so different than the GE and EMD engines. Conrad |
Locked
Re: Database interface?
Eric, I did this a number of years ago I made my own program in perl and I was able to save my database info into the following formats as my railroad operating friends used different programs: Excel, access, flat file, MySQL/SQL and I was able to connect to jmri using raw xml.... friend of mine took it from there..sadly he's gone now and not sure how he did that..I'll have to see if I can find notes on it...the key to each program is finding the same fields in each database which was a pain because no one used a standard format...all fields were different and arranged in different heirarchy. On Oct 24, 2019 2:26 PM, Eric Smith <eric@...> wrote:
|
Locked
Re: Database interface?
You could write Python scripts within JMRI to handle the connection with your database.
How often does your inventory change? The tricky part of a real-time connection is handling coordination and conflict. Bob On Oct 24, 2019, at 11:26 AM, Eric Smith <eric@...> wrote:-- Bob Jacobsen rgj1927@... |
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:
|
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 |
Locked
Vsdecoder
#vsdecoder
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
Hi Conrad,
toggle quoted message
Show quoted text
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). |
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 problemDo 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 |
to navigate to use esc to dismiss