开云体育

Date

Locked Re: NEW USER

 

Marc,

My roster disappearing issue has not come back since updating to a jenkins build after was committed. Because this issue seemed to come and go I have not closed my issue #8144 yet and was waiting until after the next test release which should be coming out any day.

--
Peter Ulvestad

JMRI Users Group Moderator - ( )
Tam Valley Group Moderator - ( )
Sprog-DCC Group Moderator - ( )
Edmonton Model Railroad Association -


Locked Re: How to get decoder pro to work on an imac running OS catalina, a Locobuffer-USB and a digitrax DCS51 command station #mac-os #digitrax #locobuffer-usb

 

I have not upgraded to 10.15.4 yet, so what follows is based on 10.15.3.

The previous Apple supplied extension is no longer in /System/Library/Extensions. ?It is now part of DriverKit and is located at /System/Library/DriverExtensions/DriverKit.AppleUSBFTDI.dext. ?The Info.plist file does NOT have a product id entry for the LocoBuffer-USB.

Using the link provided by DaveH, I installed the 2.4.2 version. ?After the install, plugging in the LocoBuffer-USB resulted in no changes. ?I then used the About This Mac >> System Report. ?After selecting Software >> Extensions, I scrolled to the FTDI entry. ?The "Notarized" status was "Unknown" and the detail section indicated there was a signing error.

I then deleted the install using terminal.

cd /Library/Extensions
sudo rm -r FTDIUSBSerialDriver.kext?

Rather than using the FTDI website, I downloaded the LocoBuffer-USB drivers from RR-CirKits: ?

After extracting the DMG file from the download, I opened it and ran the package installer. ?Part way through the install a prompt occurs to set security settings.
After opening the security window, click on the lock, provide the credentials and the click on Allow. ?After the install completes, it should now be possible to use Dave's one line terminal command to see the?cu.usbserial-FTXZHHQF line come and go as the LocoBuffer-USB is plugged in and out.

A review of the system report confirms a good install.


Dave Sand



----- Original message -----
From: Dave Sand <ds@...>
Subject: Re: [jmriusers] How to get decoder pro to work on an imac running OS catalina, a Locobuffer-USB and a digitrax DCS51 command station #mac-os #digitrax #locobuffer-usb
Date: Friday, May 08, 2020 3:08 PM

Rober, DaveH, et al.,

I have successfully installed the driver for the LocoBuffer-USB on macOS Catalina, 10.15.3.

Details to follow.

Dave Sand



Locked Re: Displaying the "Alternative Track Colour" when using Logix (or Lroute or anything else that works) #layouteditor #logix

 

Dave,

Thank you so much for your kind, detailed and rapid help.? I have been playing with an NCE AIU and BD20s this afternoon - testing them before trying to fit them under my layout.

I understand all of your reply (well so far!). Its not that I was worried about multiple "reserve" calls, but that a route would be invalid and setting must be aborted (vetoed) if any of the Blocks it requires is either Occupied (Block occupancy sensor active) OR in Reserved status (alternate colour displayed - and of course already in another route).? I get your point about keeping Sensor setting out of the ManageBlocks Script.? I shall define 2 sensors for each Block: e.g for "Platform 1a", OP1a (activated by an occupancy sensor) and RP1a? (reserved via ManageBlocks) which will enable me to test if occupied or if reserved in a Logix conditional. The Logix action(s) which calls ManageBlocks will also set the appropriate "R" sensors.? I have yet to think through the route clearing process to ensure that when a Block becomes inactive again it reverts to normal (released) status and not reserved.? This may be something to attach to a changed "O" Sensor state (going to inactive) setting its twin "R" Sensor inactive and invoking ManageBlocks to release to ensure the "normal" line colour appears on the diagram.

I am sorry - you DID tell me how to set up an RTXINITIALIZER before - it was hidden in an email exchange.? Likewise you had taught me "Notice that the script is part of the user files location. ?This way it is protected from JMRI installs." before too - but I would have forgotten (again!).

Pointing me at LRoute again made me think I should re-read that documentation as a way forward to generate the Logix.

Thanks again.? Got me started ................

Iain


Locked Re: NEW USER

 

Second computer I am also usiing is running JMRi 4.19.5 , JAVA 1.8.0_241? and I added a Loconet Simulator connection in Preferences and then when I changed to another Profile, the (existing) roster had vanished on me (again).?? I simply restart the SAME Profile? and the ROSTER returns BUT? the layout/format/columns width/setup? has gone back to defaults.

This is the same issue I reported in FEB? ( /g/jmriusers/message/169109 )? and? led to GITHUB #8144.? So it does not seem to have been resolved and in 4.18 seems to be worse as this morning I tried restarting JMRI 4.18 running on other computer and kepped getting a blank Roster. ? For some unknown reason it resolved itself.? This JRMI Install is not using alternate Profiles, just the single default profile (My_JMRI_Railroad)

All I did to this 4.18 install yesterday was delete the JMRI User folder and create a new (None) profile with all default values and then added a single Roster entry.? Today the " ROSTER vanishing "? appeared, thow the ROSTER folder existed and the ROSTER.xml was present and in proper location.?? Going thru PREFERENCES, ROSTER and? doing a SET to the proper xml file did? NOT correct the issue.

For the remainder of day the issue did not appear under 4.18.. until now...? Start DP =? No roster after no changes made.

Marc


Locked Re: How to get decoder pro to work on an imac running OS catalina, a Locobuffer-USB and a digitrax DCS51 command station #mac-os #digitrax #locobuffer-usb

 

Richard and Robert,

On 9 May 2020, at 12:16 AM, Richard Schiek <rschiek@...> wrote:

I'm able to run JMRI on a Mac running OS 10.15.4 and an RR-Circuits LocoBuffer-USB. I don't know if this will work for you, but I found that I did NOT need to install the drivers recommended for LocoBuffer. The system just recognized the device when it was plugged in and all was well from there. I did try installing the extensions as the documentation suggested, but then it wouldn't work. So I uninstalled them and it's working again (with a reboot in between to ensure they weren't still running) Strange, but since it was working I stuck with it.
Thanks, I understand some macOS releases have an Apple-supplied FTDI driver in /System/Library/Extensions.

Dave in Australia


Locked Re: How to get decoder pro to work on an imac running OS catalina, a Locobuffer-USB and a digitrax DCS51 command station #mac-os #digitrax #locobuffer-usb

 

Rober, DaveH, et al.,

I have successfully installed the driver for the LocoBuffer-USB on macOS Catalina, 10.15.3.

Details to follow.

Dave Sand


Locked Re: ESU Loksound v5 Decoder Definition

 

David,

On 9 May 2020, at 2:49 AM, David Bowman via groups.io <lucideye2001@...> wrote:

Is it possible to add an ESU Loksound v5 and v5 micro decoder definition into an older version of JMRI (4.7.2 R471b21f) ?
Not possible. The LokSound 5 series required considerable modification/addition to the special JMRI code for these extremely complex decoders. The 5 series decoders have over 2,000 CVs and almost 10,000 Variables (settings).

You'll need to upgrade to V4.19.5 or later.

Dave in Australia


Locked Re: NEW USER

 

On the "empty roster" issue see and especially the last comment.

Klaus


Am 08.05.2020 um 18:36 schrieb alain c via groups.io:

Hi Marc and Peter
I've seen this same error (no roster shown, even if the roster.xml file is there in the directory) sometime when switching from my simulator config (DCC being None) to my ECoS config, both using the same folder for my roster (2 roster groups, one being the full fleet, the other one being a substract of the 1st one).? The problem happened only when using the ECoS config after a session with Simulation, not while staying with the same config, nor using Simulation after a previous session with ECoS.
The bypass I found is similar to yours: I took the 2 following actions from the menu:
*1) Rebuild Roster,* result being no roster entries shown, but the 2 roster groups being there,
*2) Update decoder definitions* , result being OK, every entry was there OK, no need to restart JMRI
I tried yesterday to recreate it wo success. I'm wondering if it didn't happened each time (each month) I updated JMRI.
Alain355 in Paris
--
Alain355


Locked Re: How to get decoder pro to work on an imac running OS catalina, a Locobuffer-USB and a digitrax DCS51 command station #mac-os #digitrax #locobuffer-usb

 

On Fri, May 8, 2020 at 12:55 PM, Robert lambert wrote:
INFO? - cu.Bluetooth-Incoming-Port port opened at 57600 baud
I can tell you that this selection is wrong. The Locobuffer is not a Bluetooth device. But the baud rate is as it should.

Marc


Locked Re: Displaying the "Alternative Track Colour" when using Logix (or Lroute or anything else that works) #layouteditor #logix

 

Iain,

Define the memory variable with whatever system name you want and use the r???? names as the user names. ?I use IM900, etc., for the system names.

Setting UseExtraColor to it's current state has no impact on anything. ?I handle block locking outside of the ManageBlocks process. ?

A typical allocation action:
?????????????? On Change To True, Set Memory, "OD1-Lock". to 2.??
?????????????? On Change To True, Set Memory, "BDM-Lock". to W.??
?????????????? On Change To True, Set Sensor, "LK-BSME" to Active??
?????????????? On Change To True, Clear Signal Mast Held, "SM-CS1W".??
?????????????? On Change To True, Set Memory, "OD1-Signal". to SM-CS1W.??
?????????????? On Change To True, Set Memory, "rBlocks". to iBDM1, iBDM2, iOD1.??
?????????????? On Change To True, Set Memory, "rDirection". to W.??
?????????????? On Change To True, Set Memory, "rAction". to reserve.??
?????????????? On Change To True, Set Memory, "Message".??

You could update a sensor within the script but you have to have a method to correlate a block name with a locking sensor name. ?It is easier to let the Logix handle it.

To initialize Logix, create a LRoute with the "Initializer" type selected. ?To simplify things, select one sensor from Output Actions and return to the Basics tab and select Create. ?This will create a RTXINITIALIZER Logix. ?As of 4.19.5, the name changes to IX:RTXINITIALIZER. ? This is the first Logix that runs after panel loading is complete.

Once the Logix is created, you can edit the RTXINITIALIZER Logix to perform whatever startup processing you need. ?Here is mine:

? IX:RTXINITIALIZER1T? Route 1C Initialize??
?? Antecedent: R1?
??? [x]? R1? IF? IX:RTXINITIALIZER type???
???????????? THEN??
?????????????? On Change To True, Run Script from file, preference:scripts/TurnoutSimulator.py.??
?????????????? On Change To True, Set Memory, "rAction". to Done.??
?????????????? On Change To True, Set Memory, "rDebug". to No.??
?????????????? On Change To True, Run Script from file, preference:scripts/ManageBlocks2.py.??
?????????????? On Change To True, Set Sensor, "Reset1" to Active??
?????????????? On Change To True, Delayed Set Sensor, "Reset2" to Active, after 10 seconds.??

I am using ManageBlocks2 which has additional features. ?

Notice that the script is part of the user files location. ?This way it is protected from JMRI installs.

Dave Sand


----- Original message -----
From: Iain <iain@...>
Subject: Re: [jmriusers] Displaying the "Alternative Track Colour" when using Logix (or Lroute or anything else that works)
Date: Friday, May 08, 2020 12:05 PM

Had my first read through of the code and I think (?) I understand it.

The reserve/release does exactly what I want - by flipping? the variable?layoutBlock.setUseExtraColor() so I'll get either (as set up) Dark-Grey or white. Excellent!

I have played with reserving Memorys and I have the problem that JMRI insists on putting IM at the front - is that OK or should I be using the user name column?

It looks as if I will have to add to the .py Script an "rTest" function so I can check which state the block is in - normal or reserved since I do not want my Logix to reallocate a reserved block or an occupied block.? The test for an "active" occupied block is already available on a sensor setting.? I can see that there is a?layoutBlock.getUseExtraColor() construct so if I read that and have an "rState" memory to return I would be able to test that as 0 or 1 perhaps? It will complicate the Logix a bit since I will have to fetch the value before I can test it - unlike with a sensor - or is there a way to set a sensor from within the Script?? There must be, I just don't know enough about JMRI.? Could you give me a hint please when you have time?

Finally, my ignorance showing again, I have no idea how to set a Logix to run on start up??????


Locked Re: Displaying the "Alternative Track Colour" when using Logix (or Lroute or anything else that works) #layouteditor #logix

 

Had my first read through of the code and I think (?) I understand it.

The reserve/release does exactly what I want - by flipping? the variable?layoutBlock.setUseExtraColor() so I'll get either (as set up) Dark-Grey or white. Excellent!

I have played with reserving Memorys and I have the problem that JMRI insists on putting IM at the front - is that OK or should I be using the user name column?

It looks as if I will have to add to the .py Script an "rTest" function so I can check which state the block is in - normal or reserved since I do not want my Logix to reallocate a reserved block or an occupied block.? The test for an "active" occupied block is already available on a sensor setting.? I can see that there is a?layoutBlock.getUseExtraColor() construct so if I read that and have an "rState" memory to return I would be able to test that as 0 or 1 perhaps? It will complicate the Logix a bit since I will have to fetch the value before I can test it - unlike with a sensor - or is there a way to set a sensor from within the Script?? There must be, I just don't know enough about JMRI.? Could you give me a hint please when you have time?

Finally, my ignorance showing again, I have no idea how to set a Logix to run on start up??????


Locked Re: How to get decoder pro to work on an imac running OS catalina, a Locobuffer-USB and a digitrax DCS51 command station #mac-os #digitrax #locobuffer-usb

 

HI,

here is the system console log from decoder pro.


2020-05-08 17:48:57,386 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - * JMRI log ** [main]
2020-05-08 17:48:58,253 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is appended to file: /Users/robertlambert/Library/Preferences/JMRI/log/messages.log [main]
2020-05-08 17:48:58,254 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is stored in file: /Users/robertlambert/Library/Preferences/JMRI/log/session.log [main]
2020-05-08 17:48:58,262 apps.AppsBase? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - DecoderPro version 4.18+R37ad3d0 starts under Java 1.8.0_251 on Mac OS X x86_64 v10.15.4 at Fri May 08 17:48:58 BST 2020 [main]
2020-05-08 17:48:58,504 profile.ProfileManager? ? ? ? ? ? ? ? INFO? - Created default profile "My JMRI Railroad" [main]
2020-05-08 17:48:58,549 gui3.Apps3? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO? - Starting with profile My_JMRI_Railroad.3ed8a0b7 [main]
2020-05-08 17:48:58,638 apps.AppsBase? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - No pre-existing config file found, searched for '/Users/robertlambert/Library/Preferences/JMRI/My_JMRI_Railroad.jmri/ProfileConfig.xml' [main]
2020-05-08 17:48:58,639 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path program: is /Volumes/JMRI 4.18+R37ad3d0 1/JMRI/ [main]
2020-05-08 17:48:58,639 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path preference: is /Users/robertlambert/Library/Preferences/JMRI/My_JMRI_Railroad.jmri/ [main]
2020-05-08 17:48:58,639 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path profile: is /Users/robertlambert/Library/Preferences/JMRI/My_JMRI_Railroad.jmri/ [main]
2020-05-08 17:48:58,639 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path settings: is /Users/robertlambert/Library/Preferences/JMRI/ [main]
2020-05-08 17:48:58,639 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path home: is /Users/robertlambert/ [main]
2020-05-08 17:48:58,640 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path scripts: is /Volumes/JMRI 4.18+R37ad3d0 1/JMRI/jython/ [main]
2020-05-08 17:48:59,122 node.NodeIdentity? ? ? ? ? ? ? ? ? ? ?INFO? - Using b359113e-ad2f-42a4-9f01-c04d7f15cbaa as the JMRI storage identity for profile id 3ed8a0b7 [main]
2020-05-08 17:48:59,123 managers.JmriUserPreferencesManager? ?INFO? - No saved user preferences file [main]
2020-05-08 17:49:40,305 locobufferusb.LocoBufferUsbAdapter? ? INFO? - LocoBuffer-USB adapter set hardware flow control, mode=2 RTSCTS_OUT=2 RTSCTS_IN=1 [Start-Up Wizard Connect]
2020-05-08 17:49:40,307 locobuffer.LocoBufferAdapter? ? ? ? ? INFO? - cu.Bluetooth-Incoming-Port port opened at 57600 baud with DTR: true RTS: true DSR: false CTS: false? CD: false [Start-Up Wizard Connect]
2020-05-08 17:49:40,348 loconet.LnPacketizer? ? ? ? ? ? ? ? ? INFO? - lnPacketizer Started [Start-Up Wizard Connect]
2020-05-08 17:49:40,405 logix.WarrantPreferences? ? ? ? ? ? ? ERROR - _fileName null. Could not create warrant preferences file. [Start-Up Wizard Connect]
?


Locked Re: ESU Loksound v5 Decoder Definition

 

Too convoluted.

Best is to upgrade to 4.18? or to the TEST version 4.19.5? as the LokPilot 5 has just been added to it.

Marc


Locked ESU Loksound v5 Decoder Definition

 

Is it possible to add an ESU Loksound v5 and v5 micro decoder definition into an older version of JMRI (4.7.2 R471b21f) ?


Locked Re: NEW USER

 

I forgot to add I'm running Beta 4.19.5 with Win10 updated and Java 1.8.0_251-b08

--
Alain355


Locked Re: NEW USER

 

Hi Marc and Peter

I've seen this same error (no roster shown, even if the roster.xml file is there in the directory) sometime when switching from my simulator config (DCC being None) to my ECoS config, both using the same folder for my roster (2 roster groups, one being the full fleet, the other one being a substract of the 1st one).? The problem happened only when using the ECoS config after a session with Simulation, not while staying with the same config, nor using Simulation after a previous session with ECoS.

The bypass I found is similar to yours: I took the 2 following actions from the menu:
1) Rebuild Roster, result being no roster entries shown, but the 2 roster groups being there,
2) Update decoder definitions, result being OK, every entry was there OK, no need to restart JMRI

I tried yesterday to recreate it wo success. I'm wondering if it didn't happened each time (each month) I updated JMRI.

Alain355 in Paris
--
Alain355


Locked Re: Classification yards #operationspro

 

开云体育

Phil
I assume when i read this statement that if i create train 1 using route 1 that i cant pickup the car with train 2 using route 1 because the program will see that the route is the same. ? Statement in manual specifically says ?“the same route”.

Are you saying that the program will allow train 2 to pickup the car dropped off by train 1 because the train name is different?

For the program to not pickup a car it must somehow mark the car to be not picked up by the train that left it. Is there a way to check which cars in my classification yard are so restricted as i do use the same train name with the same route name over and over.?

Tony


On May 8, 2020, at 10:11 AM, Phil in gorgeous Young Harris via groups.io <philabernathy@...> wrote:

?On Thu, May 7, 2020 at 07:08 AM, AD wrote:
the manual indicates that a train with the same route cant re-use cars it delivered.?
Tony, just create another Train does has the same Route and alternate them.

Phil


Locked Re: NEW USER

 

I see nothing indicating an error with the JMRI ROSTER.
I believe you (or JMRI) are pulling the engine database from the ECOS? which are the messages seen in the log (three times).

there is a reported bug in JMRI that causes the ROSTER to not show up. I am seeing this today in my JMRI Install? of 4.18.? I restart JMRI DecoderPro several times with no Roster presented (thow one exists).

There are no messages regarding the error condition in the System Console.

To fix this today I had to go to ACTIONS, Recreate Roster Index.?? Try this on your install.

Marc


Locked Re: NX Routes? LRoutes? other? #entryexit

 

I use the hooks in Logix now to generate a signal request based on extant NX routes.?

Question: when an NX pair activated by a conditional, is that a "hard" activation (route comes in come hell or high water) - or is it the same as the user selecting Entry-Exit, subject to the same checks before activating the route?

My guess is it would be the latter scenario.

I will look at the python script. A dozen years back I programmed a whole interlocking in python starting with the "siglet.py" as an example.

Thanks,
Dave


Locked Re: Auto running/dispatcher

 

Iain,

Automatic trains with signal heads/SSL require direction sensors the the SSL.

When a train is created, the direction sensors will be automatically added to the SSL if necessary. In your sample panel, a mixture of forward and reverse sensors are being added. When the train is created, only the forward sensors are set to Inactive which means the signal heads still show red.

I don't know the reason for the sensor issue. It could be a bug or your sample panel is too simple.

You might try doing a simple 3 section without a turnout. Or add a second turnout so that you end up with a siding and another set of signal heads. Or use signal masts and signal mast logic instead of signal heads with SSL. This removes the direction sensor requirement.

Dave Sand

----- Original message -----
From: "Iain Burr via groups.io" <iain.burr@...>
To: [email protected]
Subject: Re: [jmriusers] Auto running/dispatcher
Date: Thursday, May 07, 2020 3:29 PM

Hello

I have changed the anchors to end bumpers then tried dispatcher again. When I create a new item in dispatcher all the signals in the layout panel go red. I have checked them and I think they are correct. I will load up the panel if you would like to have a look.

Kind regards

Iain
Aberdeen Model Railway Club Member
On 7 May 2020, at 8:21 pm, Iain Burr via groups.io <iain.burr@...> wrote:

?Steve, Dave

Many thanks, I will try that out

Kind regards

Iain
Aberdeen Model Railway Club Member
On 7 May 2020, at 7:42 pm, Dave Sand <ds@...> wrote:

?Steve, Iain,

You can also just right click the anchor point at the end and change it to an end bumper.

Dave Sand


----- Original message -----
From: Steve_G <RailRodder@...>
To: jmriusers <[email protected]>
Subject: Re: [jmriusers] Auto running/dispatcher
Date: Thursday, May 07, 2020 12:27 PM

Hi Iain
THe end of the track needs to be an "End Bumper" not an "Anchor point". Just add
an end bumber, a piece of track between the anchor and the end, click the join
between the two and merge. Or delete the anchor, the track, add the end put back
the track, set up the block..
Steve G.

---------- Original Message ----------
From: "Iain Burr via groups.io" <iain.burr@...>
Date: May 7, 2020 at 1:03 PM


Thank you Steve

I have updated the signal heads. I get warning messages:

Cannot set up logic because the next Signal (in or at the end of block 70-3)
apparently is not yet defined

Same for 70-4 and 70-1 as well

Loco still does not start itself in dispatcher. If I use the AutoTrains tab
that comes up with dispatcher and go manual train will move and will stop
itself in block 3.

Kind regards

Iain
Aberdeen Model Railway Club Member
On 7 May 2020, at 4:41 pm, Steve_G <RailRodder@...> wrote:
?Hi Iain
You are trying, by the looks of it, to use SignalHeads (Simple Systems
Logic). To do that, remove the xisting heads from the panel, then you need
to add the heads to either a block boundry or a Switch. Your heads dont
appear to be linked to either. To add then to the switch right click on the
Switch (not a boundry, the switch) and "set signal heads". Youll need 4
signals, 2 at the throut, and one each on the diverginging/continuing. See
if that gets you any further.
Steve G.