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: Trying to get on top of jython
Wouter,
toggle quoted message
Show quoted text
Do you have "import java" and "import jmri" at the beginning of each python file? Dave Sand On Jan 3, 2019, at 5:37 AM, whmvd <vandoornw@...> wrote: |
Locked
Re: SoundPro Map Engine Start - And UK Sounds
Scott,
toggle quoted message
Show quoted text
please see my answer in /g/jmriusers/message/155347 Thanks. Klaus Am 03.01.2019 um 10:41 schrieb Scott Rixon: I keep dipping in and out of SoundPro, I feel there is something?interesting here but it doesn't quite play. Are you able to map the engine start and stop to a function button? I've got whistles etc mapped as I can see that in the config file, but I can't figure out how to do the start/stop. |
Locked
Re: Decoder Pro problems
I have found this forum to be very confusing and some of the participants to be caustic bullies and am going to stop using it!.?
Mr. Heap, I want to thank you for your time.? I have decided because I can use Digitrax's SoundLoader software and it seems to work correctly that I will go with that, instead. Good luck and thanks to those of you who were helpful; or, trying to help me!? It is much appreciated.? To those of you with caustic intent... Mark DeSchane |
Locked
Re: Decoder Pro problems
¿ªÔÆÌåÓýMark Deschane, I sent my responses, including embedded images, it to you via private email (as you requested) around 21 hours ago. I'll resend it now. Please acknowledge receipt (reply by email or on the list). --? Dave in Australia On 3 Jan 2019, at 10:42 PM, mvdeschane@... wrote:
Dave Heap, |
Locked
Re: VSDecoder: Problems with xml and sound
#vsdecoder
#rpi
#ubuntu
Scott,
toggle quoted message
Show quoted text
Thanks for your interest! The function mapping is declared by triggers, right. A trigger can be a button on a VSD panel as well as a throttle key, or both. Just want to mention that flexiblity of VSD. A Start/Stop trigger is a little bit different. The difference is the underlying functionality, i.e. some Java code. Such triggers have to be declared in the section (or tag) <sound-event name="ENGINE" ...>. I've put some more details in the VSD documentation here: A Start/Stop throttle key works with a JMRI web throttle, so I hope that it also works with Engine Driver and an Android based throttle. Klaus Am 03.01.2019 um 10:35 schrieb Scott Rixon: I've been following your progress with interest. The part I've kind of figured out is this. |
Locked
Re: For Andrew (Andy) and his Walthers GP7
Hi Marc, Program track wires are attached to the zephyr. Today, I will move them to the PR4 and use a higher output power supply. I¡¯ll make sure to change preferences to PR4 as programmer instead of interface.? I¡¯ll report back after that.? On Wed, Jan 2, 2019 at 11:35 PM Marc <forfoum@...> wrote: Andrew.. --
Andrew Roberts
Potomac Sound LLC
PO Box 223
Monrovia, MD 21770-0223
(301) 332-6111
Andrew@...
|
Locked
Re: VSDecoder: Problems with xml and sound
#vsdecoder
#rpi
#ubuntu
Hi Graham
toggle quoted message
Show quoted text
Thank you very much for the feedback! Nice progress! Love the simulator mode too. And my wife loves that I'm wearing headphones :) LocoNet Simulator even allows to send LocoNet packets, e.g. transponding messages. That's the way I'm testing "sound follows loco", a cool VSD feature. Sounds like you can manage all well regarding the RasPi! We can come back to VSD headless later. I've worked on it just now and I think it's not yet ready for adding it to JMRI. On the function buttons. Notch sounds are different to sounds triggered by function buttons (a GUI button or a throttle key). Notch sounds in VSD are called Engine Sounds. Others are Configurable Sounds. A detailed specificion is not available. If you "read" a config.xml you will find out the concepts quickly. A good introduction can be found here: Klaus Am 02.01.2019 um 23:53 schrieb SettleDown: Hi Klaus |
Locked
Re: Decoder Pro problems
Dear Dave Heap,
I'm uncertain why there are now three thread named Decoder Pro problems.? This thread is the one I started and so I will attempt to answer; or, do the things recommended to me at the other Decoder Pro problems threads here.? You requested that I download V4.15.1? This I have done and I have opened it up; but, not done anything in it.? ?? |
Locked
Re: Decoder Pro problems
Dave Heap,
I have not received anything from you today, no image as you suggest, above.? However, thanks for the help you have given me! Mark Deschane |
Locked
Re: Trying to get on top of jython
Hello again, Bob, Thanks for bearing with me on this. It didn't go quite as planned when I went looking for the global variables 'turnouts', 'masts' and 'sensors'. Weirdly, turnouts and sensors are there, but masts is not. That is now the only little niggle left. Considering where I was only yesterday, that's a nnumber of huge leaps forward. The error reported is "global name 'masts' is not defined". I can bypass the problem easily by including the following line in my code: masts = jmri.InstanceManager.getDefault(jmri.SignalMastManager) but that's really cheating, shouldn't be necessary and keeps the back of my mind worried at what else could go wrong when I continue. Any advice on this?masts = jmri.InstanceManager.getDefault(jmri.SignalMastManager) Wouter On Wed, 2 Jan 2019 at 20:31, Wouter van Doorn <vandoornw@...> wrote:
|
Locked
Saving Files.
Running JMRI 4.14 Win 10 And a networked drive connected directly to my home hub as my internet is still in the dark ages.and I program on one machine and my layout is connected to another
I do some work on a panel and try to save it as a new file naME. error message. Error during storing IO error writing file XXXXX.xml While writing string to file XXXXX.xml Exception java.io.IOException: The request could not be performed because of an I/O device error i check in the file directory. The file might be fully written, or it might have a file size of zero. Repeat the save, and it goes through no problem. I can close down JMRI and re-open it without any errors (apart from the ones I've made). I can open the files on the machine connected to the layout without any problems. Any clues on how to stop this error message please? Another problem which there must be an answer but I can't find it.My accessories are currently controlled by a Prodigy. JMRI prefix M. JMRI can find them using the USB.. I want to change the connection to Loconet Prefix L2. JMRI can find signals with the L2 Prefix and operate them. Is there an easy method of changing the prefix from M to L2 so that JMRI can find these accessories under Loconet, or do I have to create them all again, change the panels and the SML and Logix, Sections and Transits which is a few day's work. |
Locked
Re: JMRI Not Identifying Locomotives Properly
My experience is that the "Identify" button currently does a "first match" and doesn't flag multiple matches (unlike "Read Type from Decoder").
toggle quoted message
Show quoted text
In my testing I often create multiple test entries (of the same or another decoder) without changing the address from the default of 3. I occasionally hit "Identify" without thinking and get a first-match. -- Dave On 3 Jan 2019, at 9:58 PM, Dave Heap via Groups.Io <dgheap@...> wrote: |
Locked
Re: JMRI Not Identifying Locomotives Properly
We also need to be careful to not lead a user into jumping to conclusions.
Just because a loco on the programming track returns an exact match to either: A) DCC Address alone. or B) DCC Address plus CVs 7 & 8. or C) DCC Address plus CVs 7 & 8 plus ProductID. Does not unequivocally mean that the loco under test is represented by that roster entry. 1) It's possible that the loco under test has had its DCC Address accidentally reset or changed and you have a false match. 2) It's possible that the loco under test doesn't have a roster entry but its DCC Address (and possibly also other items listed above) happen(s) to match an existing roster entry. It is not uncommon to encounter user confusion between the roles of the "Identify" button versus the "Read Type from Decoder" button, since both of them involve the concept of identifying something. We tend to assume others have the background knowledge we do. Another unrelated gotcha is that if you have a roster group selected and an "Identify" returns a match to a non-visible entry the "Identify" will succeed but no loco will be seen to be selected. Dave |
Locked
Re: JMRI Not Identifying Locomotives Properly
¿ªÔÆÌåÓýReading the ProductID from a decoder is not a simple operation as it is manufacturer-specific. The code is in: Haven't got a computer on at present so can't refresh my memory on the details but it would need to be a case of using that class. We wouldn't want that code to be duplicated elsewhere. But I should be heading towards bed... --? Dave On 3 Jan 2019, at 6:38 PM, Bob Jacobsen <rgj1927@...> wrote:
If somebody wanted to read the ProductID from the decoder, that could be done only when needed by putting another check on the number left selected at the end fo the code in RosterFrame, and perhaps in the other places. |
Locked
SoundPro Map Engine Start - And UK Sounds
I keep dipping in and out of SoundPro, I feel there is something?interesting here but it doesn't quite play. Are you able to map the engine start and stop to a function button? I've got whistles etc mapped as I can see that in the config file, but I can't figure out how to do the start/stop.
Thanks, Scott |
Locked
Re: VSDecoder: Problems with xml and sound
#vsdecoder
#rpi
#ubuntu
I've been following your progress with interest. The part I've kind of figured out is this.
I'm going to have a play with configuring the VSD files, including looking at which function buttons (is that the same as "notches" ?) each sound is allocated to. Is there any JMRI or other standard specs for what particular function applies to a particular button ? In the VSD files you can see the function mapping. <trigger name="HORN_START" type="BOOLEAN">
<event-name>F2</event-name>
<target-name>WHISTLE</target-name>
<match>true</match>
<action>LOOP</action>
? ? ? </trigger> F2 is a whistle.? What I can't figure out is the sound stop and start! If I'm controlling from Engine Driver on my Android the engine keeps playing until I open VSD and stop it. |
Locked
Ops and Roster question
I'm having an interesting foray into ops, but have got stuck on the following issue.
I initially imported locos from the roster, but have since been entering hem directly in ops. Some of them are analog, as I will be running some manually but now I am not sure how to sync these back to the decoder pro roster. Any suggestions welcome. Thanks and Happy New Year! John Thanks |
Locked
Re: JMRI Not Identifying Locomotives Properly
It¡¯s true that IdentifyLoco reads CV7 and CV8, but in at least some of the places in the code it does not use those values. Other places it does use them.
For example, java/src//jmrijmrit/roster/swing/RosterFrame.java has a selectLoco(int dccAddress, boolean isLong, int mfgId, int modelId) that uses the CV7/CV8 information when multiple values would otherwise match just the address. See the code right below the "//Still more than one possible loco, so check against the decoder family¡± comment. Other places _don¡¯t_ use the CV7/CV8 information. For example: java/src//jmri/jmrit/symbolicprog/KnownLocoSelPane.java java/src//jmri/jmrit/symbolicprog/CombinedLocoSelPane.java java/src//jmri/jmrit/symbolicprog/CombinedLocoSelTreePane.java which just use the address. Depending on what code is selecting the locomotive, the selection might use CV7 and CV8 or it might not. RosterFrame (which does use CV7 and CV8, at least as far as I can see) handles the ¡°Identify¡± button on the upper left of the main DecoderPro roster pane. So that should be doing what¡¯s requested already. It¡¯s not clear to me what invokes the other code, but if somebody is seeing CV7/CV selection not working, that might be why. If somebody wanted to read the ProductID from the decoder, that could be done only when needed by putting another check on the number left selected at the end fo the code in RosterFrame, and perhaps in the other places. Bob On Jan 2, 2019, at 10:28 PM, Dave Heap <dgheap@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: For Andrew (Andy) and his Walthers GP7
Hi Marc, I've been getting conflicting info. Some say that you also program on the main using "blast" mode, or get the PTB-100. It sounds like you're saying I should scrap the idea (at least for now)of using these components with the computer and just swicth the PR4 to programmer? Andy? On Thu, Jan 3, 2019 at 2:10 AM Marc <forfoum@...> wrote: Andrew,? The DCS51, on it's own,? will not read a Tsunami decoder without the PTB-100 present.? -- Andrew Roberts |
to navigate to use esc to dismiss