¿ªÔÆÌåÓý

Date

Locked Re: Keyboard Input

 

Hi Peter,
with my method you need to put focus on/put the marker in the memory field to be able to write something in it.
But if I understand you right you want to be able to push a key on the keyboard regardless of where the mouse marker/ focus is? In that I cannot help you.
Just for fun I took a screenshot of my panel. You find a link to it just below. The yellow field is my input field.
Sorry I cannot help you more


Dag Cato

fre. 27. sep. 2019 kl. 12:45 skrev Peter <peteralloydjones@...>:

Hi Dag
Thanks but I must be doing something wrong or it does not work as I want.? I have followed your instructions and yes if I alter the value in memory (either on a panel or in the Memory Variables Table) the sensor reacts.? However I have to physically navigate to the memory variable to change it.? I wish simply to be able to say, set Sensor 1 by pushing the 1 key on my keyboard.? I can do this using Debug -> USB Input Control but one can not save the settings.
Unfortunately I have not found the relevant bit of code in the source to give my a clue as how to hack Bob's USB Throttle.py.
Thanks again
Peter


Locked Re: Keyboard Input

 

Hi Dag
Thanks but I must be doing something wrong or it does not work as I want.? I have followed your instructions and yes if I alter the value in memory (either on a panel or in the Memory Variables Table) the sensor reacts.? However I have to physically navigate to the memory variable to change it.? I wish simply to be able to say, set Sensor 1 by pushing the 1 key on my keyboard.? I can do this using Debug -> USB Input Control but one can not save the settings.
Unfortunately I have not found the relevant bit of code in the source to give my a clue as how to hack Bob's USB Throttle.py.
Thanks again
Peter


Locked Re: Keyboard Input

 

Hi Peter,
I use keyboard input to control my FREMO fiddleyard. 4-digit codes to control signals in and out from the station.
In Panel Pro, under tools/tables you can define memory variables.
In Control panel editor, under item palette/memories you can find memory fields to put on your panel. These fields needs to be connected to your memory variables just like you connect a sensor icon to a sensor adress.
After that it's just a bit of simple logix to activate your sensor.

Dag Cato

tor. 26. sep. 2019 kl. 21:34 skrev Peter <peteralloydjones@...>:

Hi
I am wishing to use a Keyboard to activate a sensor.? I think what I need is in "USB Input control".? However I can not save my settings as that bit has not been written yet.? I realise that I can use a script but is there a simple way of doing this.? My plan is to use the keyboard inner as a input device.

Thanks

Peter L-J


Locked Re: Decoder Pro 4.16 opens with Roster Screen Instead of with "Menu" Screen

 

Marc and Jim,

On 27 Sep 2019, at 5:57 AM, forfoum@... wrote:

You are probably running JAVA 32 bit on a 64 bit machine. Since I am 32 bit Win10, it runs 32 bit JAVA so no (x86). Glad you got your Legacy running
if that is what you want.
JMRI installs in:
- "C:\Program Files\JMRI\" on a 32 bit machine.
- "C:\Program Files\JMRI(x86)\" on a 64 bit machine.

This is irrespective of whether you are using 32 bit or 64 bit Java. Either will work on a 64 bit machine.

I'm guessing "C:\Program Files\JMRI\LaunchJMRI.exe" is a 32 bit application, but I'm not an expert on the Windows Installer nor the "LaunchJMRI.exe" stub app. This app serves to launch Java (whichever version is installed/prioritised) with the main JMRI code package "JMRI.jar", which is compiled Java token code and bit-size insensitive (a bit like an Excel spreadsheet or Word document - not text but not machine code).

Dave in Australia


Locked Re: Decoder Pro 4.16 opens with Roster Screen Instead of with "Menu" Screen

 

¿ªÔÆÌåÓý

Maybe so, but there are so many that it can do....


Peace,

Mike G.


On 9/26/2019 12:57 PM, forfoum@... wrote:

There are still thing JMRI can not do.


Locked Re: Decoder Pro 4.16 opens with Roster Screen Instead of with "Menu" Screen

 

You are probably running JAVA 32 bit on a 64 bit machine.? Since I am 32 bit Win10, it runs 32 bit JAVA so no (x86).? Glad you got your Legacy running
if that is what you want.

I also got use to the legacy when it was what is was. But times change and things move on, so got use to the new presentation.
DecoderPro is handy. but If it did not exist, we would use what the manufacturer provides (Digitrax, ESU, MRC) and live with it.

There are still thing JMRI can not do.

Marc


Locked Keyboard Input

 

Hi
I am wishing to use a Keyboard to activate a sensor.? I think what I need is in "USB Input control".? However I can not save my settings as that bit has not been written yet.? I realise that I can use a script but is there a simple way of doing this.? My plan is to use the keyboard inner as a input device.

Thanks

Peter L-J


Locked Re: Clocks - Questions

 

Sorry, Perhaps its just new to me.

I thought there was going to be multiple fast clocks of which one I would set to 1:1 for "real time"?

Its important to my club to start the fast time clock based on the "real time".

Tim A

On 9/18/2019 11:05 AM, Peter Ulvestad wrote:
I'm unsure of what "new" clock functionality you are referring to.

Clocks have been in JMRI for years.

Click on tools followed by Clocks and then Setup Fast Clock.
from that screen you can get online help by click on help followed by window help to get assistance on using the fast clocks screen.


Locked Re: Decoder Pro 4.16 opens with Roster Screen Instead of with "Menu" Screen

 

¿ªÔÆÌåÓý

I tried this second method and I got the same invalid message. I did see what the problem might be though. When comparing the original target script to the replacement script I noticed that (x86) was missing from the replacement. When I add that as it was in the original script it worked.
?
Why do I like the legacy interface? Probably since I got use to it when it was a regular part of DecoderPro. I could certainly live without it but because of the tedium of programing decoders I don¡¯t know if I could live with DCC without DecoderPro.
?
Many thanks to all who work to provide JMRI
Jim Bright
?
?
?
?

Sent: Wednesday, September 25, 2019 9:00 PM
Subject: Re: [jmriusers] Decoder Pro 4.16 opens with Roster Screen Instead of with "Menu" Screen
?
Well I tried it as well.? If you want to make a mess of things, give it a try.

Ended up with three icons... and a mess to sort out.? Win10 seems to not agree with the instructions.? And neither does Win7
I believe you can not Copy&Paste a duplicate of a shortcut that is on desktop, which is what they are trying to have you do.?
Maybe it worked back when.

Found this were other have found it not to work as well :? and the backout was nasty

https://answers.microsoft.com/en-us/windows/forum/all/duplicate-desktop-shortcut-icons/6e4f8377-a974-4cbe-bee4-02f47406f611

Did it another way and it worked.

Go into? Program Files\JMRI?? and find the file called LaunchJMRI.?
Right click on it, find button to "Create Shortcut "
it will tell you it can not Create shortcut here? but that it can drop one on the desktop. Answer Yes.

Go to the DESKTOP and find the NEW ICON? that says LaunchJMRI.exe -- Shortcut
Right click on this icon?? and RENAME? it to "DecoderPro Legacy "

Now? open PROPERTIES of the same ICON? and? change the "TARGET line from this :

"C:\Program Files\JMRI\LaunchJMRI.exe"

to this :

"C:\Program Files\JMRI\LaunchJMRI.exe" apps.DecoderPro.DecoderPro

Now hit the APPLY button.

As far as I am concerned the whole exercise is pointless, why would you want to go backwards to Legacy.

Marc


Virus-free.


Locked Re: Speed Profile does not work #speedprofiling

 

Patrick: From your description it sounds like JMRI is controlling trains on your layout but that you are unable to get one specific loco to respond to control via its speed table. Is that correct? If so, I would test to ensure that the loco is actually being programmed by reading back CV values and checking them against the values you intended.

If that is OK, I would make sure you've got the correct value for CV29 which affects many things including whether the loco is even using the speed table and how many speed steps it's looking for. JMRI will look after CV29 and everything else providing that the decoder is the one it thinks it is but if you have any doubt about whether the actual decoder is the one assigned in your JMRI roster I suggest doing a factory reset of the decoder.

BTW what type of decoder is it?

Jan


Locked Re: Decoder Pro won't open decoder windows

 

Browsing his older post, he reported same (if not similar) issue in June 2018 but never reported if issue was resolved.? He was getting long list of errors and
it was suggested he rebuild roster index then run Update Decoder Definitions.

Marc


Locked Re: Layout editor - connecting slips to turnouts #layouteditor

 

Hi Dave,

The Stack Overflow is caused by a LE Turnout being paired in 2 different panels,
have raised???to discuss this,

Steve.


Locked Re: Layout editor - connecting slips to turnouts #layouteditor

 

Thanks to all who have read this thread and particularly those who have contributed. A great exercise and I have learnt a lot from it.
Just to finish off, I have gone to single sensor inputs the turnout table (Mid Travel events) and have managed to set up PanelPro with the layout which works perfectly controlled from MERG.
Next challenge will be signalling (colour light). I shall start another topic on this when I have done some reading.
Best wishes
Peter


Locked Re: VSD CLASS 64 COASTING WEIRDNESS

 

Conrad,

I have now created a change request regarding HALF_SPEED, see https://github.com/JMRI/JMRI/pull/7455

Klaus


Locked Re: VSDecoder: questions for gurus #vsdecoder

 

Am 26.09.2019 um 00:25 schrieb Charles Meo:
Copied the sound files definition in config.xml--since there aren't any other to use, just doubled them up. Example:
<snip>

Tried this with 3 and 4 cylinders, no crash but also the chuff sounds are now far too rapid. Not sure how to approximate BR96 sound with this system, but this particular hack didn't work.
Thanks for the test.

I also tried the doubling method, for notch1 and notch2. I didn't change the rpm thresholds. The chuffs are coming as expected. Slow and faster, depending on the throttle status.

Maybe this setting will help to slow things down:
...
<cylinders>4</cylinders>
<exponent>1.4</exponent>
...

Explanation:
Before the speed value is passed to the rpm formula, the speed value is potentiated with "exponent". Default value of "exponent" is 1.


Klaus


Locked Re: Decoder Pro won't open decoder windows

 

Rick,

On 26 Sep 2019, at 6:29 AM, Richard Stern <rjs8@...> wrote:

I am running Windows XP. The version of JMRI I downloaded is 4.16+R6f9aced; it seems to have installed correctly. I'm using Java 8, Update 31.
You can install Java 8, update 151 on XP, provided you use the workaround procedure described at:
<>

That may not fix your problem, but it will help reduce the possibility of problems.

Dave in Australia


Locked Re: VSDecoder: questions for gurus #vsdecoder

 

Am 25.09.2019 um 22:31 schrieb conrad:
Maybe I'm math challenged.? With 75mph top speed and 60" drivers I get? ((75mph)(12in/ft*5280ft/mi)/(60min/hr))/(pi*60in/rev)=420rpm.? This is much higher than the maximum last step of 178rpm.? What am I missing?? ?For every 1mph I get 5.6rpm using the above.
Conrad, your math is correct.

If you want to allow 420rpm you can do that. But it's better then to use
appropriate sound files. Class64.vsd doesn't sound good with 420rpm (if it works at all - computer must be fast enough). MRR locos often drive too fast and I like to limit the top speed.

Another point is that VSD has no special support for particularly high speeds. I've thought about it, but I don't have a solution yet.


I'm interested in this because of my success with the "steam1" file in adding stop/start, coast and half-speed plus many additional sounds, i.e, long & short whistles, crossing gate, and radio chatter.? Now I would like to take this to a USRA 0-6-0 slope back tender with a top speed of 40mph and 51" drivers. My "0-6-0" file does respond differently than the unmodded "steam1" at low speeds but I would like to spread out the low speed chuffs to better match the switcher.
I suggest to try different rpm thresholds. It is also useful to consider the speed curve of the loco decoder. I use a linear curve. DecoderPro supports such customizations excellently.

Does the USRA 0-6-0 have different top speeds for reverse and forward travelling?


Klaus


Locked Re: Possible roster problem #zimo

 

Bob, It was a good idea, but didn't help....

I downloaded the latest EasyDCC system manual from the CVP Products website. Set the Command Station default speed step value to 28 (choice 2). Pressed ESC when finished, per the instructions.

Made no difference. Tried three locos. Two with Lenz LE103 decoders couldn't be controlled with WiThrottle. The Command Station isn't reading the 128 speed step JMRI commands from the serial port and converting them to 28 step commands to the track. The one loco with a newer decoder that supports 128 speed steps worked fine.

Bottom line: if I want to use WiThrottle, and JMRI isn't enhanced to offer a 28 speed step option, I will need to replace almost all my decoders, or build a circuit to take 128 speed step packets from JMRI on the serial cable, and convert them to 28 speed steps to the EasyDCC's serial port, including whatever ACKs or other replies are needed. Sigh...

I think I go work on benchwork and tracklaying for a while! It'll be more rewarding.

Don Weigt
Connecticut


Locked Re: Possible roster problem #zimo

 

¿ªÔÆÌåÓý

Don

Setup

Key #6

then #2

ESC

Down load the manual from the CVPUSA web site.

Gerry

On 26/09/2019 1:12 pm, Don Weigt wrote:
Thanks, Bob.

It would be great if that fixes my problem!

I must need a newer manual. Mine was printed 3/27/2000. I looked at the index and thumbed through all the promising parts. Nowhere was there anything about setting the command station to default to 28 speed steps.

It's probably time anyway. The tethered throttle information is out of date, mine have pushbuttons for the function keys, and lack the illustrated rotary switches the older ones used for setting the decoder address being controlled.

Don Weigt
Connecticut
-- 
Gerry Hopkins MMR #177 FNMRA
Great Northern Downunder




NMRA Australasian Region
Contest & AP Chairman
Web Administrator




Virus-free.


Locked Re: Decoder Pro 4.16 opens with Roster Screen Instead of with "Menu" Screen

 

1 - Right Click on existing DecoderPro Icon
2 -? Select copy.
3 -? Now move cursor over to blank spot and Right click .
4 - NOTICE the are two PASTE options? available. PICK? PASTE SHORTCUT
5 - We now have a? DUPLICATE of the Decoderpro icon (2).
6 -? Right on Icon DecoderPro(2)? and rename it to? DecoderPro Legacy
7 - Click on the DecoderPro Legacy Icon and open PROPERTIES
8 -? The TARGET line where it says? :?

"C:\Program Files\JMRI\LaunchJMRI.exe" apps.gui3.dp3.DecoderPro3??

Change the TARGET to?

"C:\Program Files\JMRI\LaunchJMRI.exe" apps.DecoderPro.DecoderPro

Hit the APPLY button.

Marc