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: Saving Throttles
#jmrithrottle
Hi;
?
Your approach seems to be good, I just tested it again here, no problem.
?
The symptom of your RPI freezing makes me think about an out of memory issue, if you have many throttles to be restored at once, with all of them containing some media (like large background pictures), it could overload your memory.
?
Some tests to be done :
?- start small, with maybe only 1 or 2 throttles in the throttle layout
?- do you have a swap enabled on your RPI system ?? "swapon -s" command
????? - if not create one?
?
Regards;
Lionel |
Locked
Re: Apache server
开云体育
While the underlying software may support this, it’s a use case that hasn’t yet been important enough to someone in the JMRI community to make sure the configuration works, is documented, etc. If you want to provide TLS based communications to a JMRI server, I suggest using Apache or nginx as a reverse proxy configuration so that the TLS is handled by the software that clearly supports it, and let JMRI do its thing without having to muck about with TLS/certificates/etc. ? Your reverse proxy config would use HTTP (instead of HTTPS) to talk to JMRI, and only the reverse proxy server is accessible to the world at large, keeping JMRI istside your private network space. david d zuhn |
I updated the CH340?drivers from v3.5 to v3.8.2023.02.? No change to my issue.? Again, after starting DecoderPro and after 10 seconds, the status goes from "... NCE is Online" to "... NCE is Offline".? ?
?
I'll review the video on YouTube, but I think it's something else.? Could it be the USB type A to USB type B cable I'm using? |
Locked
Re: NCE Original Packet Analyzer
Look like this …
https://ncedcc.zendesk.com/hc/en-us/articles/200979515-Packet-Analyzer-Retired |
Locked
NCE Original Packet Analyzer
Im looking for an original packet analyzer by NCE.?
?
Please contact me off list.?
? |
Group Moderator
Please use "meaningful subject lines" when starting topics.
We are getting lots of subject lines that don't give much if any idea of what the topic is about. By providing a meaningful subject line you may get the attention of someone that can provide you assistance with your issue. It also give others the chance to skip the topic if it is not of interest to them. -- Peter Ulvestad JMRI Users Group Moderator |
Locked
Re: I sill have not made it yes I know I must be a real dummy
Please use meaningful subject lines.
This appears to be part of another thread. If that is the case you should be replying to that thread. -- Peter Ulvestad JMRI Users Group Moderator ( ) Tam Valley Group Moderator ( ) Sprog-DCC Group Moderator ( ) Edmonton Model Railroad Association ( ) |
Locked
Re: Apache server
Well yes and no.?
i have 150 plus devices online.?
other devices and port forwarding are already in effect.?
why cant a ssl certificate just be imported into JMRI like some of my other devices? |
On Wed, Sep 18, 2024 at 08:23 AM, Marcus Ammann wrote:
Be aware that the YouTube"Part 2" mentioned above refers to the CP210x drivers used for the earlier version of the NCE USB adapter, whereas based on his log AND his screen captures, the OP apparently has the newer version with the CH340 chip. ?
Needless to say, the CP210x drivers won't work with the CH340 chip.
?
Steve
"Breezlys" |
Locked
Re: Deleting Objects in Scripts
Guess I need something like this:
?
import java.beans
...
try:
? ? sensors.deleteBean(s,"CanDelete") ? ? sensors.deleteBean(s,"DoDelete") except java.beans.PropertyVetoException, e: ? ? print("exception thrown") #? parse e and decide what to do
... |
Dave,
Since this is a java 8 version, you would be limited to JMRI 4.26. If you want newer versions of JMRI, you would need to go elsewhere for a Java version. The version with i586 is the 32 bit version while the x64 is the 64 bit version. Depending on the version of Windows, you might need one or the other. For newer versions of JMRI, go here and read about other Java providers. I've been using the Asul source most of the times. I'd go with Java 17 right now. But Java 11 will do. We can't predict if you would have problems with Java 21. I'm using Java 21 but part of that is to see if I find any problems with that. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com |
Locked
Re: Unable to create JmDNS with error [AWT-EventQueue-0]
Hi Daniel
?
that as it - the IPv6 adapter had been deactivated earlier in the PC's life!?
?
Thank you. |
Locked
Re: Saving Throttles
#jmrithrottle
No joy. I'm using a RPI and when the throttle load fails, the console is locked up as well. All the individual throttles for each engine are saved, but I can't load them together as a group in the throttle layout. In the throttle prefs, you can save a single default layout, but not a group of them. I'm pretty well stuck on this.
?
I don't know if there is a specific set of steps to take in saving the throttles as a group and then loading them after the computer has been shutdown and restarted.
?
Alan - Valdez, Alaska? |
Locked
Re: Deleting Objects in Scripts
开云体育The PropertyVetoException tells you that the sensor is in use in block IB10. You should remove the sensor from the block where it is used, before removing the sensor. When sensors.deleteBeans(s,"CanDelete") does _not_ throw an exception, you can go ahead and delete the sensor with: sensors.deleteBeans(s,"DoDelete") Daniel On 2024-09-18 22:00, Snorkel wrote:
|
Locked
I sill have not made it yes I know I must be a real dummy
Hello Dan, yes I know I’ve been a real pain and I apologize for that, but I just cannot figure out how to move trains and routes from my old computer to my new one. Of course I tried the
things you ?suggested but they did not work for me (And I think you know why). The files are all in a table and I either have to move the entire table or nothing at all and I have not been able to do that so far.?
I know when all the folks were doing this a few months back there was a much simpler way to do it (make a copy) and then transfer it ? ?
I know that the other required tables all had a transfer mode where you could go ahead and make a copy by going to the various table and then transfer the table over to the new computer. ?I’m talking about anyway I have not been able to do it. Will you please help me with this ? ?and i have a small group (we meet every Thursday. ?I sure like to? --
THANK YOU from Frank |
Locked
Deleting Objects in Scripts
Using sensors as an example I learned that I could delete a sensor with
?
sensors.deleteBean(s,"DoDelete")
?
However I saw that it would be better to check for listeners before doing this and that
?
sensors.deleteBeans(s,"CanDelete")
?
might do the job. However I get a bunch of errors starting with
?
javax.script.ScriptException: java.beans.PropertyVetoException: java.beans.PropertyVetoException: Found in the following <b>Blocks</b><ul><li>IB10</li></ul>It will be removed from the Blocks<hr> in <script> at line number 4
?
It seems like I should be able to handle the exception but I don't know how. |
to navigate to use esc to dismiss