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
Hi Bob, It's 4.14 (I'm on Linux Mint 18.3), and no, I did not mess with properties. I'm no believer in fresh downloads, but if you think it's any use I'll happily try it - just let me know. I've also got 4.12 still ready to run. Up to yesterday, it gave me all the same results as 4.14 did, and I've more or less let that branch of investigation go. I'll look at Dave Sands approach tomorrow or the day after (big shopping day tomorrow) and see if that'll work for me. My problem is that if a totally valid approach does not work, then my trust in 'it' (in this case python) goes swiftly down the drain. <rant ignore=true> Where are the good old days of reliable software (C compilers just didn't go wrong or if they did it got fixed)... I know - complexity... I chucked my job because I positively hated having to work with javascript, bane of my professional life. I chucked Windows because over 90% of my time over the last three years was spent doing system maintainance and problem seeking (what a relief Linux is)! And now I want to spend my time enjoying railway automation with JMRI, and railway film editing/DVD production, which Windows also killed and I need to get that started from scratch on Linux. In short, I am in really desperate need of some success, and will fight tooth and nail to get there! </rant> I'm very grateful for the help I get here - this community is as supportive as they come. I am already way beyond where I'd ever have been without you. Wouter On Thu, 3 Jan 2019 at 20:25, Bob Jacobsen <rgj1927@...> wrote: Thanks. |
Locked
New file uploaded to [email protected]
[email protected] Notification
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the [email protected] group. File: Table print w slips.py Uploaded By: Dave Sand Description: You can access this file at the URL: Cheers, |
Locked
Re: PanelPro icon sets question
Nick
Greg, Thanks for the info. I will get to play around with it and other suggestions from our great group. As things progress, I will post my successes and failures. My interest in making panels has been reignited by all of the help I have received. Thanks to all that provided the help. 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 Hey Nick,? ? ? ?In the scenario you describe above, you have two options.? The first option would be to not do anything with the last signal at the entrance to the yard.? Since it is in a pair with the previous signal, it should show up and not be a red x.? You can directly control the signal by clicking on it.? Two aspects are all that would be needed.? Stop and something else depending on your desires.? The second option is a little more complicated and would produce more realistic results.? In this scenario, you would need to create a virtual signal mast that would be the destination mast for the signal at the yard entrance.? Set the virtual mast to stop.? That will allow the signal at the yard entry to display approach.? Then to control the yard signal, set up a sensor and have the signal mast logic include that sensor.? If you turn the sensor on, the signal will go to red.? If the sensor is off the signal will "clear" and show approach allowing a train to enter the yard.? Greg McCartney |
Locked
Re: Ops and Roster question
Thanks Dan and Mike for your responses. I may not have explained things clearly enough. I have mostly analogue DC locos at present, and can not see how / whether I should enter these in the roster in order to get Ops schedules together? Maybe I am stuck entering them in Ops, but then when I do add a chip, do I have to delete and re-add? Is there a way to enter analogue locos anywhere into the roster?? Thanks. |
Locked
Re: Trying to get on top of jython
Thanks.
Wouter, what version of JMRI are you using? Re this: 3) util.pyI simply don¡¯t understand this at all. The comment says that the print statement shows in the log, but there¡¯s nothing to invoke it. With the masts assignment commented or not, I get: masts= jmri.managers.DefaultSignalMastManager@2f7c2f4f so something else is going on in your installation. Have you messed with the python.properties file? (Whether or not you have, the right answer is ¡°don¡¯t¡±) Bob On Jan 3, 2019, at 12:10 PM, Dave Sand <ds@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: Test version 4.15.1 of JMRI/DecoderPro is available for download
Downloaded and installed today. Work fine and no problems on the RVR. ? PJ
|
Locked
Re: Trouble with JMRI to JMRI client/server
On Thu, Jan 3, 2019 at 09:05 AM, mabooker76 wrote:
Using the Loconet sim on the RPI, and the LocoBuffer (PS) as the command station type on the iMac (client)Martin, if your "client" machine is using a Locobuffer to connect to the Loconet directly, then you are not using (or needing) the LoconetOverTCP Server connection.? I'm not sure what your desired configuration is here. Can you describe it further? --SteveT |
Locked
Re: Trying to get on top of jython
Bob,
toggle quoted message
Show quoted text
The directory is up one level. Dave Sand On Jan 3, 2019, at 2:06 PM, Bob Jacobsen <rgj1927@...> wrote: |
Locked
Re: Trying to get on top of jython
I¡¯m not seeing that directory. Link please?
What may be going on here is the scope of global variables: Bob On Jan 3, 2019, at 8:14 AM, whmvd <vandoornw@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: Trying to get on top of jython
instead of programmers, it should say addressedProgrammers and globalProgrammers, will fix.
Bob On Jan 3, 2019, at 8:14 AM, whmvd <vandoornw@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: Ops and Roster question
There isn't a way to export locos from operations to Decoder Pro.? You should always enter them into Decorder Pro first.
Dan |
Locked
Re: Trying to get on top of jython
Wouter,
toggle quoted message
Show quoted text
I have uploaded 2 files to your folder. It appears to me that the issue deals with scope and how import actually works. I don¡¯t think it is a JMRI issue. Most likely something with Jython or maybe how you are structuring your program. miniTest DS.py uses the AbstractAutomaton class to handle the threading. It does not import util and the method calls to util where changed. The existing def in util DS.py was changed to act as static method. To run miniTest, util DS is run first which sets up the util environment with the util methods becoming global, then miniTest DS is run. This approach works but I am sure there are others. Dave Sand On Jan 3, 2019, at 10:14 AM, whmvd <vandoornw@...> wrote: |
Locked
Re: SoundPro
HI Al,
The .spj file can be accessed by audio editor.? I use an opensource editor called Audacity.? You can get it here.??? ? or here??. When you use it, you will need to choose, [Import Audio] and then choose Raw Audio.? On the next screen select 11k sampling rate and 8 or 16 bit depth depending on your spj. file. The .spj file is simply a single audio file.? If you open the spj in SoundPro the timings will correspond to the timings in the editor file.? I used this to pull apart some spj. files to create my own .vsd files.? Using Audacity you can select portions of this file, copy, create new file and paste.? Then export the file as .wav.? be sure to set the proper bit depth.? All your files need to be the same bit depth.? ?I will not share any I've made as I'm doing this for my own use and sharing will violate the intellectual property rights of the sound file owners. |
Locked
Re: JMRI Not Identifying Locomotives Properly
Perhaps there is a solution by looking at the User1 and User2 settings for differentiation? That maybe a good compromise solution. I could then go back to the duplicate numbers and give them different values in the user cv's to correct the issue.?
|
Locked
Re: Ops and Roster question
I haven¡¯t found a good way either, although I usually get them set up in DecoderPro first and then manually enter them into Locomotives in Ops. There may be a way to do a single entry import into Locomotives but I haven¡¯t found it. Of course the other option is to delete everything in Locomotives and then reimport the whole roster from DecoderPro, but that seems daunting.
|
Locked
SoundPro
I would like to use soundpro to access a spj file and copy the associated wav files. How do I access SounPro from JMRI? Is there an Icon that can be added so the program can be accessed? Thanks for any help,
Al Babinsky |
Locked
Re: Trouble with JMRI to JMRI client/server
Thanks Steve and Bob,
The Loconet over IP server generally works from the iMac to the RPI.? The status window on the RPI shows running and the client count 1. Using the Loconet sim on the RPI, and the LocoBuffer (PS) as the command station type on the iMac (client) I am able to manipulate the panel (which has to be on both computers) though the sensor states get out of synch, i.e. I am triggering routes for yard ladders and though the switch positions are correct for the 'activated route' picked on the client the server shows a different active sensor.? Do not think that it will be a problem as the virtual panel used by the yard master will be the 'system of record'. I will go down to the club and try it 'for real' to see if there is still an issue. Much appreciated, Martin Booker |
Locked
Re: PanelPro icon sets question
Hey Nick,?
? ? ?In the scenario you describe above, you have two options.? The first option would be to not do anything with the last signal at the entrance to the yard.? Since it is in a pair with the previous signal, it should show up and not be a red x.? You can directly control the signal by clicking on it.? Two aspects are all that would be needed.? Stop and something else depending on your desires.? The second option is a little more complicated and would produce more realistic results.? In this scenario, you would need to create a virtual signal mast that would be the destination mast for the signal at the yard entrance.? Set the virtual mast to stop.? That will allow the signal at the yard entry to display approach.? Then to control the yard signal, set up a sensor and have the signal mast logic include that sensor.? If you turn the sensor on, the signal will go to red.? If the sensor is off the signal will "clear" and show approach allowing a train to enter the yard.? Greg McCartney |
Locked
Re: Trying to get on top of jython
Indeed, Dave, I have. I've now created a WoutersPythonbug directory in ProblemsBeingWorkedOn which contains just three tiny scripts, together showing that there is, as far as I can make out, really a bug here. 1) jmriShortCuts.py Simply prints all the objects that should be predefined according to the following documentation link: (it turns out that 'programmers' (or indeed 'programmer') is not present, which is probably a very minor documentation buglet, but masts, the one I focus on, is. So my environment does set it up correctly for me. 2) miniTest.py A main test program that simply runs, in its own thread, my object under test. 3) util.py Totally useless as is, but that's because it has been pruned of everything that could go while still showing the bug. As uploaded, it works, but only because of the assignment statement that creates a valid 'masts' variable. Comment that out, and things go horribly wrong, which they shouldn't if masts were properly preset. Also, edit a signalmast name into this file that is a valid one in your panelfile, instead of EastNorthOuter. I've also included my panelfile, should that be handier to use instead. Put the three scripts into the resources directory and run: 1) jmriShortCuts.py proving that the environment sets up the masts variable ?2) miniTest.py proving that that test shows a validly retrieved signalMast Comment out the line that should not be in miniTest.py (masts=...) Restart JMRI to get rid of possibly remaining classes in memory (that bit me at some point) 3) miniTest.py proving that now it does not work anymore, with all the symptoms listed in the file itself. I'm using JMRI 4.14 under Linux Mint 18.3 Anything more I can do to help explain why I think this is a bug? Thanks, Wouter On Thu, 3 Jan 2019 at 15:02, Dave Sand <ds@...> wrote: Wouter, |
Locked
Re: Running JMRI From A MacBook Pro
Bob
Thank you for the notes. I have done more research and testing, it would appear that I am missing a driver that will connect the JMRI system to a MERG CBUS system via the Macbook's Mojave operating system. I believe that previous MacBook os versions had the appropriate driver (Because they work) but sadly Mojave does not. This would appear to be the same with Windows 7 and 10 where windows 10 has a driver and Windows 7 does not.? Steve? ? |
to navigate to use esc to dismiss