Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
Script for signal mast
??????? I would like to set the aspect of a signal on my layout and of the corresponding mast icon on a Panel Pro/Layout Editor dispatcher panel using a script.? Any suggestions on how to write the script??? When I open my dispatcher panel, the mast icon displays a red x, which is an Unknown aspect.? I can change the signal head appearance using a script, but I have not been able to write a script to change the aspect of the mast icon on the panel to match. ??????? I am running JMRI V4.12. ? Ted in Iowa City |
Locked
Re: YAAT statusSensor
Hi Dave,
Thanks for the speedy reply! It works exactly as you intended, which is no surprise! I have just run through my sequences stopping each thread separately and when the last one completes the statusSensor is set INACTIVE.? I had been trying to test it by using the masterSensor to stop all threads at once! Thanks for making me see the light.? Regards Brian Wingfield? |
Locked
Re: PanelPro saving and load problems and findings, and drawing track
Don,
toggle quoted message
Show quoted text
There are 3 main approaches to automatically running trains.
Dispatcher normally requires a “single” Layout Editor panel that covers the trackage that it will control. ?In this case you would have a master Layout Editor panel with sub-panels for each tablet. ? Dave Sand On Aug 27, 2018, at 8:05 AM, Don Weigt <dweigt47@...> wrote: |
Locked
Re: JMRI and SPROG 3
Rob,
toggle quoted message
Show quoted text
You are not the first person to experience the side effects of a Win10 update. If you have not done so, I recommend that you use JMRI 4.12. It cannot fix a Windows induced change, but hopefully will provide sufficient notification. Dave Sand On Aug 27, 2018, at 7:33 AM, ROBERT ROBINS <robinsr@...> wrote: |
Locked
Re: YAAT statusSensor
Brian,
toggle quoted message
Show quoted text
The statusSensor indicates shows if there are any YAAT threads running. ?You set it to “础肠迟颈惫别" within JMRI logic. ?When the thread count reaches zero, YAAT will set it?“滨苍补肠迟颈惫别”. In my demo panel, I use the statusSensor as a trigger for a Logix which loads YAAT. ?This makes the sensor Active. ?When the last thread finishes, it becomes Inactive. Dave Sand On Aug 27, 2018, at 7:52 AM, Brian Wingfield via Groups.Io <brian.wingfield@...> wrote: |
Locked
Re: automat.AbstractAutomaton WARN - Waiting changes capacity exceeded; not adding java.beans.PropertyChangeEvent[propertyName=State; oldValue=1; newValue=4; propagationId=null; source=MS+N260E6;-N260E6] to queue [AWT-EventQueue-0]
The development builds at have the fix for this.
Bob On Aug 27, 2018, at 5:29 AM, Dave Short <dave@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: Power Pro connecting to Macbook Pro issues
Ron Burkhard
开云体育Dave, Thanks for the hints. ?Yes I shortened the posts, still no success. I then plugged same cables into my other command station using the Macbook. ?The serial port cable has been in service for 10+ years connected to several desktops over the years. I am going to uninstall jmri and reinstall. I reloaded the tripplite drivers, and now jmri will not boot up. Someday......... Thanks Ron On Aug 26, 2018, at 22:52, Dave Heap <dgheap@...> wrote:
|
Locked
Re: PanelPro saving and load problems and findings, and drawing track
Thanks, Thomas! I was using Panel Editor. I'll finish reading the Layout Editor's Help information and try it. I've just now opened Layout Editor and added a new panel, but have only edited its name, not added track or features. I'm hoping to have multiple small panels around the edge of my railroad, each showing the local tracks, occupancy, and signals. These would be in place of building up physical panels with LEDs, toggles, and pushbuttons. I'd like to be able to control switches in each area from its control panel, and also be able to control all of them from a master or dispatcher's panel. I like having several trains run at the same time on my single track loop to loop railroad with three passing tracks along the main line. Automating a through train or two to run continuously while I switch a yard or operate a local freight would be great, if I ever get all the necessary parts built and working! I've built my own railroad interface in the distant past, and plan to continue using it. Interfacing it to JMRI might prove too hard for me to accomplish. I need to work with JMRI more before I will know whether and how I can, and whether it makes sense for me. I'm not willing to start over with a whole new interface. I'm just now rebuilding my railroad after moving, so all this is future stuff. I had blocks and occupancy detectors working before the move, but am just installing track on bare benchwork now. So far, all the block wiring on the new railroad is connected together with wire nuts, and connected to my EasyDCC track power as a temporary single block. I hope this description helps others understand my goals. You probably can advise me whether JMRI really makes sense for my situation. Don Weigt |
Locked
YAAT statusSensor
Hi Guys a question for Dave Sand,
Dave I have been doing lots with YAAT and find the additions for Signalling very useful.? I now have a few scripts running controlled from a master panel by Stop/Go buttons and Stop script buttons. On the panel I have a YAAT Master button to Kill all scripts.? All working from your amazing YAAT programming logic.? My problem is that I can not get the statusSensor to function.? I have created a sensor called YAATSTATUS. This sensor works when toggled from the sensor table and changes my graphic on the panel to show YAAT STOPPED or RUNNING.? I can not get YAAT to change this sensor from your script.? After many attempts I thought I should ask the expert.? What am I doing wrong ? Many thanks Regards? Brian Wingfield? |
Locked
JMRI and SPROG 3
Just FYI:
The windows 10 computer I use on the railroad updated and JMRI reset to internal defaults and Com 3(5 was active). After multiple trial and errors to track down why no track power or control and contacting the Sprog developers, I was able to get things back. It ultimately took several plug/unplug tries on the USB to the same port to get the computer and JMRI talking. Probably a glitch unique to my system but thought I would pass along just in case.? Rob |
Locked
Re: automat.AbstractAutomaton WARN - Waiting changes capacity exceeded; not adding java.beans.PropertyChangeEvent[propertyName=State; oldValue=1; newValue=4; propagationId=null; source=MS+N260E6;-N260E6] to queue [AWT-EventQueue-0]
Hi Bob,
I'm seeing lots of these messages as well. They seem to increase, the longer my scripts are running. Am I correct in thinking that when a waitChange is interrupted, the listeners are deleted? So am I doing something wrong if I keep hitting the limit? Thanks, Dave S |
Locked
Re: PanelPro saving and load problems and findings, and drawing track
Don
You can spilt your layout onto different panels by using edge connectors instead of anchor points at the point you want to split the layout panel. That way you can display a different panel on a different screen John |
Locked
Re: Sharing rosters between computers, with no internet connection
开云体育JMRI opens most (if not all) files in read/write mode. NAS, with RAID or dual NAS with syncing, protects only against NAS hardware failure. It provides no protection against accidental file corruption/deletion by any connected client as it (in most cases) has no transaction history, version or file recovery process. It also has no offsite copy and doesn't satisfy any of the requirements of the 3-2-1 data protection rules. Looking at Cloud-synced solutions, Dropbox (for example) has fully recovery of any version saved during the last 30 days (provided the version had time to upload) and full recovery of any files deleted during the ?past 30 days. A lot more protection than a NAS solution. But it doesn't replace a local backup solution, merely complements and extends it. It's also vital to have incremental backup of your NAS, and your level of data recovery capability is limited by your backup interval. You made no mention of that necessity. It would be possible to have temporary data loss with cloud-syncing due to provider failure or malicious hacking, but your local backups are there for that eventuality. I also don't keep my bank account details or passwords in my JMRI files! NAS and cloud-syncing are far from the same in level of data protection. --? Dave in Australia The New England Convention 2018 On 27 Aug 2018, at 4:38 PM, Daniel Sieber <daniel.sieber@...> wrote:
|
Locked
Re: Sharing rosters between computers, with no internet connection
开云体育If a centralized rooster file only is read by multiple devices, then it’s unlikely that bad things happen. Only multiple write access can cause problems, but not necessarily. ? One local LAN solution would be with NAS (Network Attached Storage). That is a file server which provides a drive on the LAN for the attached computers. Security can be improved by setting up a single NAS in a RAID mode and even more when using two NAS. With each NAS as RAID plus a NAS to NAS syncing the highest security level is achieved. With the NAS to NAS backup replication setup periodically, the file version is kept for some time but this can also be setup as instant syncing. Depending on your security demands you can have double or even quadruple data redundancy when none is out of choice. When using two NAS you get hardware redundancy also. ? By using NAS you can have the same as with a cloud, only locally in your own LAN and not in foreign hands somewhere in the fog of the internet with the mandatory requirement of internet access. ? Cheers ? Daniel Sieber Zurich, Switzerland ? |
Locked
Re: Sharing rosters between computers, with no internet connection
Hi guys
2 solutions I know are directory comparison tools (local or network ones): you define the 2 directories you want to use, and they map the differences between them, allow you to copy the newer or updated files (or replace some or all the new one by the old one if needed). You can within directories define sub directory or files you want to exclude from comparisons, and save the session to reuse it anytime you want.
Each one is excellent, available for Windows, Mac OS or Linux. I used for years the 1st one in one of the IT company I've worked for, I now use the 2nd one at home. Alain |
Locked
Re: PanelPro saving and load problems and findings, and drawing track
Don,
toggle quoted message
Show quoted text
There is no default editor. For an overview of the editors see The genius and curse of JMRI is its flexibility. For many issues, there will be multiple solutions. The feedback from the community will reflect their biases. I use Layout Editor for most everything because it supports my goals. That is my bias, along with proper block design, and signal masts and signal mast logic for signaling. Dave Sand On Aug 26, 2018, at 10:56 PM, Don Weigt <dweigt47@...> wrote: |
Locked
Re: Sharing rosters between computers, with no internet connection
开云体育All operating systems provide some sort of network drive sharing facility. The problems with local network drive sharing are: - No machine can work independently of the presence of the network drive. - You only have one copy of the data so it is very vulnerable. - JMRI is not set up for simultaneous access to the same file. Bad things are likely to happen if two devices open the same file at once. That's where solutions like Dropbox work better. Local caching (as Dropbox does) addresses all those problems. See more about this at: <> But yes, the drawback is the need to an Internet connection to coordinate synching (even though actual file synching occurs on the LAN, if possible). I am not aware of any standalone LAN-only synching product. --? Dave in Australia The New England Convention 2018 On 27 Aug 2018, at 12:27 PM, Clifford Anderson <cliffaa@...> wrote:
|
Locked
Re: PanelPro saving and load problems and findings, and drawing track
Dave and Chris, Thanks for all the information and suggestions! I'll have to work with them for a while to understand some of it. You've given me ways to think about and work on the entry and logic. At this stage, I'll be happy just to draw a panel. Silly me, I didn't realize there were three editors! I'll have to check which one PanelPro uses as its default. It's an example of me not knowing what I didn't know!??? :--) I'm hoping to be able to use multiple tablets displaying different panels, for different divisions of the railroad. Sure hope that's possible! Don't want to be limited to only one part of the railroad displayed at a time, even if on multiple screens. Don Weigt |
Locked
Re: Scripts
Ken,
On Aug 26, 2018, at 10:50 PM, Ken Cameron <kcameron@...> wrote:Remember that we are not really talking about a real LocoNet device here. The Roco 10808 device is connected via CAN and the Roco RBus to to the Z21. Gabor has his set up to send a LocoNet messages to us, but the conversion from CAN to LocoNet is all handled by the hardware. ( the Z21 actually does have a physical LocoNet connection, but the physical connection is not involved ). I have been tracing the code and, as far as I can tell, the LocoNet for the Z21 does initialize the LocoNet Reporter Manager, so the LocoNet reporter objects should be created from the transponding messages. Paul |
Locked
Re: Power Pro connecting to Macbook Pro issues
开云体育Ron, - Did you follow the procedure on Marcus website; try temporarily removing the binding posts and seeing if that fixes the problem? - Have you double-checked the Power Pro's own Setup Command Station settings: Baud Rate 9600 and AIU Broadcasts Disabled. - If you send the unit back to NCE, it will most likely work when they plug in their own Workshop USB-Serial cable. Marcus and my real-life?field experience (seems to differ from NCE's workshop experience) is that if the binding posts are not shortened, the reliability of the connection depends on the individual cable used , the a,Boeing temperature, the alignment of the planets, the mood of the dog... As far as the other-layout problem is concerned, this is unrelated to your main problem. Your Mac is no longer seeing the same port as it did at home. Likely causes are: - You used their cable, not yours. - You changed the USB port your cable was plugged into. - Your cable is actually faulty and intermittent. If the problem persists, would need to again follow the port troubleshooting procedures (at home) I gave you some time ago. However, taking your laptop and cable to another known working layout will achieve nothing. We believe the cause is almost certainly the unreliable cable connection to your Power Pro, or else a fault in your Power Pro. Plugging your cable into another system proves nothing. You are not testing the primary suspect - that inherently unreliable connection. --? Dave in Australia The New England Convention 2018 On 27 Aug 2018, at 12:05 PM, Ron Burkhard <ronburk453@...> wrote:
|