开云体育

Date

Locked Re: RFID Connectivity #rfid

 

Discussions on CAD software is off topic for this this group.

--
Peter Ulvestad

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


Locked Re: RFID Connectivity #rfid

 

Circuit/PCB Design

All,

Any suggestion on the best free Windows software for this? There are various out there and one called KiCad caught my eye. I felt like trying to put a design together and see what we think.

Steve


Locked Re: RFID Connectivity #rfid

 

MRFC522, Nano/Uno/Mega Serial Ethernet?

Tom,

I thought I'd try this setup with another computer and JMRI using the Serial output, just in case it was some sort of problem with my laptop. Unfortunately it still doesn't work on the Serial output? I get the same 'unknown message of length 16' again. The computer/JMRI setup I did this test on is my French layout that has a working MFRC/Nano setup.?

So I do think it is something going on in the sketch, but not sure what. I have a few ideas and will have another go tonight.

Steve


Locked Re: TCS WOW 121 diesel decoder question #tcs

 

开云体育

Sounds like you have Crew Alert enabled on one of the locos.

In DP, it's on the Sound tab.
Michael Mosher Member SFRH&MS
On 5/1/2023 11:31 AM, Mark Taylor wrote:

Hello group.
I have a question about this decoder. I have 2 GP38's that are consisted together. I have not run these 2 locos for a week or so.
--Today when I started to run this consist the locos ran for about 15 seconds and the one loco stopped moving. Before it stopped there was a beeping sound for about 5 seconds. When I turn the throttle to 0 and then turn the throttle up again the loco that beeps and stopped, now sounds like a brake release and starts moving again. Then about 15 seconds later it beeps and stops.
I use JMRI for programming and these two locos are programmed the same. They have been running together for 3 years.
Seems strange how this happened.
Any thoughts would be appreciated.

Thanks,
MARK TAYLOR


Locked Re: JMRI Upgrades #upgrading

 

On Wed, May 3, 2023 at 10:48 AM, Allan Altheim wrote:
Can JMRI be upgraded with the executables off line?
Download the exe/dmg/tgz as appropriate for your target opsys to a removable media (SD card/USB drive/etc).
Sneakernet to your target machine.
No Internet needed for install from the removable media.
?
--
Ken
NYNH&H, Old Colony Division, Cape Cod Branch (1949-1959)
[DB150][PR3][QuadLN_S][JMRI 5.3.5]


Locked Re: Issue with displaying train tracking text using layout editor #layouteditor #traintracking

 

Roger,

Try using the "Properties" right click menu item for the memory icons to set the attributes. ?It combines many of the attributes in a single dialog.

Dave Sand

----- Original message -----
From: "Roger Raduenz via groups.io" <shipwreck52=[email protected]>
Subject: [jmriusers] Issue with displaying train tracking text using layout editor #layouteditor #traintracking
Date: Wednesday, May 03, 2023 6:57 PM

I use a layout editor panel with train tracking for my dispatcher to control train movements.? The default memory icons displaying the train info were too small to read comfortably, so I edited the panel .xml file to increase the font size for the memoryicon elements.? This works as the text size on the layout panel?is increased to the edited value.? The issue is that the width of the memory icon display on the panel does not change to accommodate the new text size width resulting in a truncated memory value display.

I cannot seem to find a method to resize the display width in the layout editor.? On the drop down menu for the memory icon there are options for Width = Auto and Height = Auto but these options are grayed-out and not selectable (they would seem to be what I want).? I have tried setting the Preferences - Display - Default Font Size which in addition to modifying the Windows fonts also resulted in a new memoryicon font size set to the new default value but the panel still showed truncated text.? The memory values being displayed are not long, typically something like:? 'NW Coke Turn' or 'SOU 313' where most of the 'Turn' text and '13' is missing (truncated).

I appreciate your interest in my problem and any guidance forthcoming.

Cheers,? Roger


Locked Re: NX Entry/Exit pairs used in LogixNG do not get put back into logixNG when restarting and reloading the panel. #logixng #entryexit

 

John,

I am surprised that the manual NX process even works. ?NX pairs have to have a consistent direction of travel. ?You have the pairs going both ways which is contrary to block routing logic, which is the basis for SML and NX.

Your SML is manual rather than discovered. ?For NX to work, it needs discovered SML. ?Otherwise it builds temporary SML which might not work as expected.

I suspect that these issues are the cause of the LogixNG behavior.

Here is what I recommend.
  1. Remove the NX pairs.
  2. Remove the SML.
  3. Verify that all of the signal masts are actually attached to the block boundaries. ?Signal mast E7 was not, there might be others.
  4. Auto generate the SML. ?
  5. Verify that the signal mast respond properly to block sensor changes. ?Repeat from 2 until they do.
  6. Add four NX sensors to the next block boundary in the direction of travel, one for each direction. ?For example, add NXW-BLK6 for NXW.
  7. Auto generate the NX pairs. ?

Dave Sand


----- Original message -----
From: John Figie <zephyr9900@...>
Subject: Re: [jmriusers] NX Entry/Exit pairs used in LogixNG do not get put back into logixNG when restarting and reloading the panel. #logixng #entryexit
Date: Wednesday, May 03, 2023 8:09 PM

Dave,

The system console shows no messages when I run the LogixNG to make the NX pair active.

I can, with Logix NG, make the NX pair disabled or enabled, however the Exit Entry "Add Entry Exit Points" window does not indicate Disabled, but the signal goes from held to not held and vice versa.

If I manually make the sensors active, first NXE then NXW for example, then the pair becomes active and the Layout panel show the route as reserved.

I can also use LogixNG to make the pair active or inactive by making the sensors active or inactive like the logixNG shown below:

! A If Then Else, Always execute
? ?? If Entry/exit "NXE (W4) to NXW (E4)" is inactive
? ? ! Then Many
? ? ? ! A1 Set sensor NXE to state Active
? ? ? ! A2 Execute A after 500 milliseconds, Ignore on repeat
? ? ? ? ? ! A Set sensor NXW to state Active
? ! Else Return

When the above LogixNG is executed and the NX pair is inactive, then the "Add Entry Exit Points"? window updates to show the pair as active, the track segments change color to indicate the route is reserved, and the signal for the interlocking changes to Clear.

But when I try to use the Action? Set Entry/Exit "NXE (W4) to NXW (E4)" to Set NX Pair Segment Active / Inactive,
then, I see nothing happen. There is no Console output, The Panel track segments do not change color and the??"Add Entry Exit Points" window does not change indicate the pair is active.?

My Files can be accessed

So I have a workaround, but I don't understand why the Set Entry/Exit "NXE (W4) to NXW (E4)" to Set NX Pair Segment Active / Inactive? does bit work.

Should this be logged as an issue?? Or, am I just not using this the correct way?

Regards,

John


Locked Re: Loco moving only during sensing decoder type | Decoder Pro

 

Thomas

1.? DCCEX can drive locos on the programming track, but you have to issue the <1 JOIN> command for that to work.? That command can be sent via JMRI, or it can be incorporated into the setup when the arduino was programmed.? Without that command the system will not drive a loco on the programming track - only the main track.??

2.? What do you see when you open the DCC++ Traffic Monitor window (from DecoderPro > DCC++ menu > DCC++ Traffic Monitor) and try to drive your loco with a JMRI Throttle for loco 3007?? Can you try this then copy the results and paste them here for us to see please?? As an example, I opened a throttle window, and manually set address 3007, then set the loco to about 50% forward speed.? The DCC++ Traffic monitor showed the following on my system:
TX: Throttle Cmd: Address: 3007, Speed: 62, Direction: Forward
RX: Loco State: LocoId:3007 Dir:Forward Speed:62 F0-28:00000000000000000000000000000
3.? What happens if you try to operate your DCCEX system by issuing DCC++ commands directly?? You can try this by opening the Send DCC++ Command Window (DecoderPro > DCC++ menu > Send DCC++ Command), then type the following into the window that opens up:
1 JOIN
That is the number one, a space, and the word JOIN in capitals.? Then click "Send Packet" or just press Enter.? (That command tells DCCEX to turn the track power On, and to drive locomotives on both the Main and Programming tracks)

What do you get from the DCC++ Traffic Monitor for the above command?? My system shows:
TX: Track Power ON Cmd?
RX: DIAG: LCD2:Power On JOIN?
RX: Power Status: Name:JOIN Status:ON

Now try:
t 3007 10 1?
Lowercase letter t space number 3007 space number 10 space number 1, then click "Send Packet" or just press Enter.
The DCC++ Traffic Monitor should show:
TX: Throttle Cmd: Address: 3007, Speed: 10, Direction: Forward
RX: Loco State: LocoId:3007 Dir:Forward Speed:10 F0-28:00000000000000000000000000000
That should drive loco 3007 forward at speed step 10.? To stop it (if it moves) type in:
t 3007 0 1
If the loco is moving as a result of these commands, are you then able to drive it from the JMRI throttle for loco 3007?

Trevor


Locked Re: NX Entry/Exit pairs used in LogixNG do not get put back into logixNG when restarting and reloading the panel. #logixng #entryexit

 

Dave,

The system console shows no messages when I run the LogixNG to make the NX pair active.

I can, with Logix NG, make the NX pair disabled or enabled, however the Exit Entry "Add Entry Exit Points" window does not indicate Disabled, but the signal goes from held to not held and vice versa.

If I manually make the sensors active, first NXE then NXW for example, then the pair becomes active and the Layout panel show the route as reserved.

I can also use LogixNG to make the pair active or inactive by making the sensors active or inactive like the logixNG shown below:

! A If Then Else, Always execute
? ?? If Entry/exit "NXE (W4) to NXW (E4)" is inactive
? ? ! Then Many
? ? ? ! A1 Set sensor NXE to state Active
? ? ? ! A2 Execute A after 500 milliseconds, Ignore on repeat
? ? ? ? ? ! A Set sensor NXW to state Active
? ! Else Return

When the above LogixNG is executed and the NX pair is inactive, then the "Add Entry Exit Points"? window updates to show the pair as active, the track segments change color to indicate the route is reserved, and the signal for the interlocking changes to Clear.

But when I try to use the Action? Set Entry/Exit "NXE (W4) to NXW (E4)" to Set NX Pair Segment Active / Inactive,
then, I see nothing happen. There is no Console output, The Panel track segments do not change color and the??"Add Entry Exit Points" window does not change indicate the pair is active.?

My Files can be accessed

So I have a workaround, but I don't understand why the Set Entry/Exit "NXE (W4) to NXW (E4)" to Set NX Pair Segment Active / Inactive? does bit work.

Should this be logged as an issue?? Or, am I just not using this the correct way?

Regards,

John


Locked Re: Pi4B 64 bit and GPIO #rpi

 

开云体育

Not sure what you are asking, but I assume the GPIO pins don’t work like you expect. Did you add the GPIO software routines to the PI??

I use SteveTodd's free software image for Pi-OS and JMRI installation which has enhancements already added, such as, VNC, GPIO support, etc., with excellent results. I like playing with the Pi software for adding enhancements but Steve’s Pi skills runs circles around mine which I appreciate. ?


I’m not sure if the Raspbian OS that Steve uses (bullseye) is the 64bit version or not. He also describes the methods used to create the image. So you will find his site useful.?

John Bauchiero
Delaware & Hudson Model?Railroad
NCE PH-Pro+PowerCab,?RaspPi4b, JMRI 5.3.5


On May 3, 2023, at 1:50 PM, Colin Head <headcol@...> wrote:

I have a pi4 8gb running g 64 bit rasputin and the latest JMRI.
All works great except when I select Raspberry pi gpio? and I get error message, cannot connect to pi, as this expected when not using a pi.
Not sure what's going on.....


Locked Re: Issue with displaying train tracking text using layout editor #layouteditor #traintracking

 

I forgot to add I am using JMRI Ver 5.3.1 and Java 11.? Sorry.


Locked Issue with displaying train tracking text using layout editor #layouteditor #traintracking

 

I use a layout editor panel with train tracking for my dispatcher to control train movements.? The default memory icons displaying the train info were too small to read comfortably, so I edited the panel .xml file to increase the font size for the memoryicon elements.? This works as the text size on the layout panel?is increased to the edited value.? The issue is that the width of the memory icon display on the panel does not change to accommodate the new text size width resulting in a truncated memory value display.

I cannot seem to find a method to resize the display width in the layout editor.? On the drop down menu for the memory icon there are options for Width = Auto and Height = Auto but these options are grayed-out and not selectable (they would seem to be what I want).? I have tried setting the Preferences - Display - Default Font Size which in addition to modifying the Windows fonts also resulted in a new memoryicon font size set to the new default value but the panel still showed truncated text.? The memory values being displayed are not long, typically something like:? 'NW Coke Turn' or 'SOU 313' where most of the 'Turn' text and '13' is missing (truncated).

I appreciate your interest in my problem and any guidance forthcoming.

Cheers,? Roger


Locked Re: RFID Connectivity #rfid

 

On Wed, May 3, 2023 at 04:12 AM, Thomas Seitz wrote:
Steve,

I tend to agree with Jerry here. We solved this situation for him with this. Ensure that the connection type is MERG Concentrator (A-H), whether the connection is serial or network interface.

Tom

okay, so I have done some extensive tests with the Uno/reader and Uno/ethernet/reader. I still have the same problem. Both work perfectly until connected to JMRI as a direct serial connection when no tag information is displayed in the Reporters Table. If I look at the RFID Command Monitor, I can see the tag data with msg reply of unknown length16. I have checked and checked again that the RFID connection settings are correct, including selecting MERG Concentrator. For some reason that I cannot work out, neither combination works.?

If I get some of the other Uno's just running a serial output only, everything works correctly in JMRI without me changing any of the settings! Completely baffled!

Have you actually tried the sketch in serial mode with JMRI yourself? Does it work for you?

Steve


Locked Re: RFID Connectivity #rfid

 

Works (for at least one reader) but definitely still under development.? Issue is with coordination between ESP32 library version and MFRC522 library. Should we take this discussion to the RFID4MRR group?? Issues are not related to JMRI which does what is expected and works fine.

Jerry
___________________________________
jerryg2003@...


Locked Re: Loco moving only during sensing decoder type | Decoder Pro

 

开云体育

If it has a DCC decoder, it’s compatible with JMRI. ?I recommend you take it to someone who has a self-contained DCC system and try it there. ?It may just be that while it’s working, as in reading, on your JMRI program track, you’re not getting track power on and address selected properly to try and run it. ?Taking it somewhere else to try eliminates the loco from the equation.

Mick

________________________________
Mick Moignard
m: +44 7774 652504
Skype: mickmoignard

The week may start M,T but it always ends WTF.


Locked Re: Loco moving only during sensing decoder type | Decoder Pro

 

Weird. I wish we could look over your shoulder, because I can think of no reason for what you're seeing. I have the sneaking suspicion that you are doing something we're not thinking of which we'd instantly see 'live'. At the moment, I have nothing more to offer, I'm afraid.

But I'm keeping an eye on this just to find out what I've been missing!

Wouter


On Wed, 3 May 2023 at 19:22, Handrail-18 <thomas.mclaughlin2@...> wrote:
Hello again and thank you for your help, that is very nice of you all. Changing CV29 to value 34 and clicking write changes to page/write changes to all pages did not yield anything new. I tried it on the programming track and main track and nothing from 3007, not even the lights respond. At this point I think I may just buy a fresh loco that is known to work with JMRI. With that being said, do any of you guys have any recommendations for dcc-ready/dcc-equipped trains that are known to work with JMRI. I’ve done some searching online and on here of recommended setups or anything similar for beginners to check out to learn more about creating JMRI setups and couldn’t find anything. As a beginning who’s sole goal is utilizing JMRI it’s kind of surprising there’s no FAQ outlining that kind of stuff. Any posts you guys know of I could checkout that outlines known JMRI compatible trains or recommendations you guys have?

Thank you, appreciated as always,
Thomas


Locked Re: Loco moving only during sensing decoder type | Decoder Pro

 

Hello again and thank you for your help, that is very nice of you all. Changing CV29 to value 34 and clicking write changes to page/write changes to all pages did not yield anything new. I tried it on the programming track and main track and nothing from 3007, not even the lights respond. At this point I think I may just buy a fresh loco that is known to work with JMRI. With that being said, do any of you guys have any recommendations for dcc-ready/dcc-equipped trains that are known to work with JMRI. I’ve done some searching online and on here of recommended setups or anything similar for beginners to check out to learn more about creating JMRI setups and couldn’t find anything. As a beginning who’s sole goal is utilizing JMRI it’s kind of surprising there’s no FAQ outlining that kind of stuff. Any posts you guys know of I could checkout that outlines known JMRI compatible trains or recommendations you guys have?

Thank you, appreciated as always,
Thomas


Locked Pi4B 64 bit and GPIO #rpi

 

I have a pi4 8gb running g 64 bit rasputin and the latest JMRI.
All works great except when I select Raspberry pi gpio? and I get error message, cannot connect to pi, as this expected when not using a pi.
Not sure what's going on.....


Locked Re: Lenz LZV200 v4 and 63 functions #lenz

 

The only decoders with that many functions that I am aware of are ESU and Marklin. Seeing there was a recent thread about using 63 functions with a Lenz controller I assume they have a decoder capab;le of that many functions, Zimo might also have one capable of more than F31.


On Wed, 3 May 2023 at 16:47, Phil G <phil@...> wrote:
Well, it goes from f0 to f31, so that’s 32 functions.?


Locked Re: Figuring out where I need to place my "blocks" #blocks

 


Resistor value halving only occurs on going from 1 detected resistor to two detected resistors (assuming all resistors are the same value). When a third resistor enters the detection area the resistance will then go down to a third of the value of a single resistor, not a quarter (which could be implied from your statement). It gets to 1/4 R when a fourth resistor enters the detection area, with additional resistors further lowering the effective detection resistance.

On Wed, 3 May 2023 at 15:28, Phillip Sifers <stjocbrr@...> wrote:
...
Also a thought on detection.? Each time a resistor wheelset enters the block, the resistive value detected halves.??