Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
Re: VSDecoder: questions for gurus
#vsdecoder
Charles,
toggle quoted message
Show quoted text
I've created an issue ( ), where you can track this. Klaus Am 25.09.2019 um 13:58 schrieb Charles Meo: I tried changing 'cylinders' to 4 and then three, since I run BR96 0880 Malletts and I wanted to see if this would produce more appropriate noises. |
||||||||
Bottom line, with the hardware (command station, decoders) that you have, you have to set the command station to default to 28 steps. See page 85 in the (current version) EasyDCC command station manual.
Bob On Sep 24, 2019, at 10:40 AM, Don Weigt <dweigt47@...> wrote:-- Bob Jacobsen rgj1927@... |
||||||||
Locked
Re: VSDecoder: questions for gurus
#vsdecoder
Hi Charles,
toggle quoted message
Show quoted text
I just tried a 3-cylinder BR 44 and it worked. It looks like I didn't do enough checks. So, thanks for reporting this. In my VSD file I provided 6 WAV files for 6 chuffs per revolution. Could you please check if it works for you with 8 WAV files? Thanks, and sorry for the trouble. Klaus Am 25.09.2019 um 13:58 schrieb Charles Meo: Hi Klaus, |
||||||||
Locked
Re: VSDecoder: questions for gurus
#vsdecoder
¿ªÔÆÌåÓýHi Klaus, I tried changing 'cylinders' to 4 and then three, since I run BR96 0880 Malletts and I wanted to see if this would produce more appropriate noises. Got java exceptions for both values. java.lang.IndexOutOfBoundsException: Index: 4, Size: 4 Looks like the code isn't expecting a value larger than 2. Not sure about hacking this myself since I don't know what side-effects might be produced by messing with the array size. In all other respects, Class64 and Class94 are absolute winners and I'm having no trouble tweaking them to sync up with my test loco (BR05, Zimo? MX635) quite nicely. Might not be 100% prototypical but I'm happy as a clam. Charles On 25/9/19 5:57 pm, Klaus Killinger
wrote:
Charles, --
|
||||||||
Locked
Re: VSDecoder: questions for gurus
#vsdecoder
¿ªÔÆÌåÓýExcellent, thank you Klaus. That certainly explains why accel and decel weren't working. I'm using the generic steam project with 'steam' not 'steam1' I'll mull over the other stuff and do more tinkering. Cheers, Charles On 25/9/19 5:57 pm, Klaus Killinger
wrote:
Charles, --
|
||||||||
Locked
Re: VSDecoder: questions for gurus
#vsdecoder
Charles,
Getting into "Virtual Sound Decoder" (VSDecoder or VSD) is not easy. So it's good to ask questions here. The mentioned documentation VSD_File_and_Config.shtml is intended as a supplement. A good entry page is this one here: - the author is the main developer of VSD. For steam sound there are two programs: steam and steam1. They are selected via * <sound name="ENGINE" type="steam"> or * <sound name="ENGINE" type="steam1"> in your config.xml file. On you will find an example for "steam" (Generic_Steam.vsd) and two examples for "steam1" (Class64.vsd and Class94.vsd). "steam1" is the newer program. It is more flexible and complex. It allows parameters like <accel-rate> and <decel-rate>. "steam" ignores these parameters. Also can we have an explanation of what these things do:<top-speed> defines the maximum speed in miles per hour. <driver-diameter> defines the diameter of the driver wheel in inches. <cylinders> defines the number of the steam engines. Mostley there are 2 cylinders. Because cylinders are double-acting there are 4 chuffs per driver wheel revolution. and a guide to how to change them to get various results. If they plug into a formula, what's the formula, and what does it do?VSD gets the speed from JMRI as a value of 0 - 1. Then VSD calculates the speed as revolutions per minute (RPM). Here is the formula: speed = % of topspeed (mph) RPM = speed * ((inches/mile) / (minutes/hour)) / (pi * driverdiameter) With the calculated RPM VSD can choose the suitable sound files. I haven't thought about how RPM should be set for various prototypes. Of course the value RPM must match the maximum speed of the loco type. More important is the typical sound of a loco type. Throttle values are used for diesel sounds. See the <accel-limit> and <decel-limit> parameters in a diesel VSD file. I think RPM can be "identical" to the throttle value, if the speed curve of VSD and the DCC decoder matches. Sorry if this has been dealt with elsewhere, but I couldn't find it so far and if anyone has a pointer to another thread or document, that will do nicely.It's fine. The documentation is not perfect. Regards, Klaus |
||||||||
Marcus and All, I had already tried the security chest method, it did not work for me! How ever I was successful by sending the download to the documents folder and clicking it there; it worked! I still have? 1 Win 10 laptop and 2 Win 7 pcs to try my method on. I will report back. Although maybe Avast's embargo has been lifted? Thanks to everyone for your help,? Mike.
On Wednesday, 25 September 2019, 03:30:08 BST, Marcus Ammann <mammann@...> wrote:
Hi Marc, Charles, Dave H, Andrew & Michael ? Marc, thanks for going to the trouble to test the AVG then itemise the steps to get the latest download into my Windows 7 Laptop. I still needed to ¡°phone a friend¡± as I could not ¡°find¡± the appropriate files/folders etc or to even open up AVG. I told you I am computer illiterate. Using Marc¡¯s suggestions and my friends help, my procedure was: ? Left Click on AVG Icon from the Drop Down Box from the Toolbar R/H side. Select Menu Select the Quarantine Tab 3 Threats listed. Check Ticked the 4.17.4 File that also showed ¡°FileRepMalware¡± message. A ¡°Delete¡± Box was highlighted in Orange. Clicked on the Down Arrow to provide Options. Selected ¡°Restore and Add Exception¡± Waited a minute and there was message to say something close to ¡°Okay ¨C Completed¡± Selected my Downloads. Clicked on the JMRI 4.17.4 file and the my JMRI was upgraded. ? I didn¡¯t do anything with the? 2 other Quarantined file - JMRI works. I¡¯ll have to remember this above process to keep my JMRI up to date ¨C one version less than the latest beta version as Marc suggests. ? Michael, maybe your AVG/Avast is similar to mine and following my Steps above, might give you JMRI in the computers you¡¯re having trouble with. ? ? Once again Marc thanks for your help. ? Regards Marcus Layout Video Web Site ? ? ? ?
From: [email protected] [mailto:[email protected]] On Behalf Of forfoum@... ? Win 7 Home Prem N, Sp1.? ?
? |
||||||||
Locked
Re: Running JMRI on networked PC's
Barry,
On 25 Sep 2019, at 9:11 AM, barrychinn <bechinn1@...> wrote:JMRI wasn't initially designed to be multiuser and have simultaneous file access. However, many users and developers now use Dropbox or similar to share user files, so we have made it easier: <> Dropbox (OneDrive, Google Drive) work fairly well because they are a file syncing service, not a file sharing service (each instance of JMRI is working on local copies), so file corruption does not occur (Dropbox keeps both versions if there is a sharing conflict). However Network File sharing is quite likely to corrupt files. So a service like Dropbox is fine for files that are not being written while open on another computer. In the case of a panel or decoder file, that may mean the file has to be closed and reopened to see changes. The one small problem area is that the Roster Index is always open in any instance of JMRI and is rewritten on close. This means that: - Additions or deletions to the roster will not be visible on another computer unless you "Rebuild Roster" on all connected computers. - Sometimes conflicted roster index files are created. No harm done, just make sure only one JMRI instance is running and Rebuild Roster. I don't recommend having Rebuild Roster as a Startup item. It is quite resource intensive and time consuming for large rosters. You are more likely to have problems. Just Rebuild Roster when needed (you suspect something missing) or as an occasional cleanup tool. Dave in Australia |
||||||||
Locked
Re: Web Server And Custom GUI
Hi Steve,
Thanks for the reply. But I think the fixes you suggest are beyond my limited novice capabilities. Note that everything works exactly as it should, including click position on the lists, if I use pnl.add(self.cb2) without the scrollpane. The problem then is , because I have to make the font large to make text selection practical on a touchscreen, I cannot display a long enough list. If I could scroll up and down within the frame that would give me what I want. Is that possible ? Thank for your help again. Dave |
||||||||
Locked
Re: Decoder Pro 4.16 opens with Roster Screen Instead of with "Menu" Screen
Bob,
The "new" DecoderPro3 is just a different "look" and accesses the same underlying code as the legacy DecoderPro interface. Like you, I much prefer the legacy interface and have created an icon to launch it, using the directions located here:? HTH, Steve "Breezlys" |
||||||||
Locked
Re: Running JMRI on networked PC's
I've done something similar, using google drive, but separate spaces, incase of corruption, and to avoid file lock problems. You can add to the startup "add action" -> "Rebuild Roster" to one or both machines, this way each time they're started they'll rebuild from all the individual files. Of course, this doesn't fix when an engine is changed while both machiens are running.? If thats a big enough issue, I suspect a script could run that at intervals forces a roster rebuild, but I've no clue how rto implement that. And I can imagine some downsides, such aas a person trying to aquire an engine at the same time the roster is nuked, so seeing no engines at all. On Tue, Sep 24, 2019 at 11:11 PM barrychinn <bechinn1@...> wrote: Hello everyone, |
||||||||
Locked
Re: layout editor continuing route signal help needed
It seems the original problem is that the heads where reversed from how you wished them displayed. In a stupid-but-works solution, rotate the mast 180 degrees on screen (you'll need to wire it apporipriatly in the real world, of course). I'm using dwarf icons everyplace, so you just see the 'base' line at top, in the 1 place I had to do this. On Mon, Sep 23, 2019 at 11:57 PM Robin Becker <rbgroups@...> wrote: Dave, |
||||||||
Locked
VSDecoder: questions for gurus
#vsdecoder
|
||||||||
¿ªÔÆÌåÓýHi Marc, Charles, Dave H, Andrew & Michael ? Marc, thanks for going to the trouble to test the AVG then itemise the steps to get the latest download into my Windows 7 Laptop. I still needed to ¡°phone a friend¡± as I could not ¡°find¡± the appropriate files/folders etc or to even open up AVG. I told you I am computer illiterate. Using Marc¡¯s suggestions and my friends help, my procedure was: ? Left Click on AVG Icon from the Drop Down Box from the Toolbar R/H side. Select Menu Select the Quarantine Tab 3 Threats listed. Check Ticked the 4.17.4 File that also showed ¡°FileRepMalware¡± message. A ¡°Delete¡± Box was highlighted in Orange. Clicked on the Down Arrow to provide Options. Selected ¡°Restore and Add Exception¡± Waited a minute and there was message to say something close to ¡°Okay ¨C Completed¡± Selected my Downloads. Clicked on the JMRI 4.17.4 file and the my JMRI was upgraded. ? I didn¡¯t do anything with the? 2 other Quarantined file - JMRI works. I¡¯ll have to remember this above process to keep my JMRI up to date ¨C one version less than the latest beta version as Marc suggests. ? Michael, maybe your AVG/Avast is similar to mine and following my Steps above, might give you JMRI in the computers you¡¯re having trouble with. ? ? Once again Marc thanks for your help. ? Regards Marcus Layout Video Web Site ? ? ? ?
From: [email protected] [mailto:[email protected]] On Behalf Of forfoum@... ? Win 7 Home Prem N, Sp1.? ?
? |
||||||||
Locked
Re: Web Server And Custom GUI
David,
The /frame server does not handle embedded windows properly. The click positions do not take the "offsets" of parent widgets into account, so the clicks are off by the header depth, etc.
I see a couple of options for you: 1) Fix the /frame server. I tried to fix this quite a while back and failed. Perhaps you'll have better luck.
1a) Rig the /frame server client for your specific use. Copy the javascript to your user area and then hard-code the missing offsets as needed.?
2) Build your desired window as a JMRI panel and use the /panel server. It is supported and does a good job of mirroring elements into a live web page. Maybe handle the "scrolling" with a fixed array and "next" "prev" buttons to change the context.....?
3) Build your desired window client-side using javascript and jquery. Using the json websocket server to communicate with JMRI as needed. This would be the most flexible option, but without knowing more about what data you'd need to pass back and forth, this may or not be possible.
?
HTH,
? SteveT |
||||||||
Locked
Running JMRI on networked PC's
Hello everyone,
We () have been running PanelPro / DecoderPro on networked computers.? One of the computers (SLHRS-Cab) runs PanelPro and is interfaced with the NCE system to run routes and control turnouts.? One of the other computers is attached to a SPROG and is used for programming decoders (SLHRS-Pgm) and?runs DecoderPro.? SLHRS-Pgm accesses (reads & writes)?the data files associated with the Roster from SLHRS-Cab.?In theory, updating roster files from either computer should be?available to be read correctly from either location.? In practice, updates from either location (sometimes?) necessitates rebuilding the roster at?the other computer.? I am speculating that because personal computers were?designed as 'single user',?most of the programs written for them don't have file / record sharing data integrity?algorithms built in.? As an example, what if more than 1 user accesses and tries to update the same?record at the same time?? As all of the?decoder files reside on the SLHRS-Cab computer, you wouldn't expect there to be any record deviations. I don't know how the read / write?protocols are built into the DecoderPro program(s).??In a multi user environment, it was typical that for example, an inventory item would be read to find information relating to quantity on hand.?? While the?inquiry is being processed, it?can frequently happen that another user will inquire?or order that same part number - what is referred to as a data collision.??When the item is actually ordered, the?order entry program will read and lock the part number record preventing any other user om updating / writing that same part number.? The?order program would then update?/ write on the part number, then unlock the record, thus preventing simultaneous?read /?writes on the same record.? Does anyone have any information on this?? TIA /s/ Barry Chinn |
||||||||
Locked
Re: Decoder Pro 4.16 opens with Roster Screen Instead of with "Menu" Screen
That changed a long time ago.
If you are really intent on having the old look use the PanelPro startup. You could add buttons to the screen by changing your preference or just access DP features from the top menu. -- Peter Ulvestad JMRI Users Group Moderator - ( ) Tam Valley Group Moderator - ( ) Sprog-DCC Group Moderator - ( ) Edmonton Model Railroad Association - |
||||||||
Locked
Decoder Pro 4.16 opens with Roster Screen Instead of with "Menu" Screen
All,
I am new to this group, but have been using JMRI for quite a few years. To get right to it, when I started with JMRI I was using ver 1.xx. I would open Decoder Pro and get a screen which said "Decoder Pro" and had various selections across the top - File,Edit, Tools, Roster etc. I upgraded the version several times and everything was fine. Recently, I purchased a new computer (Dell Inspiron 3670 running Win 10) and loaded JMRI Ver 4.16. Now when I start DecoderPro it opens with the Roster screen. I setup all my preferences along with the Withrottle. I can't seem to get that opening screen back.? Is this a new starting point which is now being used or am I missing something? Thanks in advance for any help you can give me. Bob Grimm |
||||||||
I have taken this problem as far as I can. I have duplicated Gerry's results. I can control all my locos with the JMRI monitor "vthrottle" if I change it to 28 speed step mode from 128. But, I can't save that. Each time the loco is released and then selected again, it's back to 128 speed steps and can't control my loco until changed again to 28 speed steps. Like Marc, I could find no way to change the WiThrottles to 28 speed steps, and they can't control my locos. I would like JMRI throttles, including WiThrottles, to have the option to set and save each loco as 28 speed steps (and probably even 14 steps) instead of 128.
I'm very reluctant to change out about 10 good decoders, and throw away about that many perfectly good, unused ones. I can't believe I'm the only JMRI user or would be user with this problem
If JMRI's throttles don't get 28 speed steps added as an option, then I'm going to make an inline filter to convert RS-232 128 step speed commands to 28. My thanks to everyone who helped find what's happening. It sure had me confused! It's a relief to understand what's wrong. Don Weigt Connecticut |