Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
Re: SCRIPTING - Can a script obtain the names of classes that are already running
#scripting
Hi Bob,
Thanks again for your help. I've achieved what I wanted to using your code samples, although I did have to change them slightly.? I was receiving errors that suggested the code was expecting 1 more value passed to it than what was being done.? So instead of using: ? ??jmri.jmrit.automat.AutomatSummary.get(i).getName() I had to use: jmri.jmrit.automat.AutomatSummary.instance().get(i).getName() and the same with the code to step through the classes: range(jmri.jmrit.automat.AutomatSummary.instance().length()) I found this from one of your previous posts on this forum. Thanks again! Trevor |
Dave, Tim |
Locked
Re: Operations manifest printing
#operationspro
I print my manifests to pdf and examine them there.? They show up in color.? Then if satisfied I print to paper from the pdf.? My main reason for going this route is to save toner and paper.
Dave... |
tnt23,
On 10 Feb 2020, at 7:06 AM, tnt23 <tim.tashpulatov@...> wrote:I looked at this at one stage, studied the DCC++ code and found that there's a maximum DCC packet length defined in the DCC++ code and that its one (or possibly two) bytes too short for NMRA S9.2.1 Ops Accessory Byte or Ops Accessory Extended Byte commands. I came to the conclusion that, in order to solve the problem, the DCC++ code would have to be recompiled with this defined value changed. But since I don't have the required Arduino hardware, nor the familiarity with recompiling the DCC++ code, plus the fact that there's nothing we can do in the JMRI code to work around it, I put the problem aside. Dave in Australia |
Locked
Re: Canusb ports
If Zorin is derived from Ubuntu or Debian, you probably need to have the "dialout" group assigned to the user running JMRI. In a terminal window, run the id command and see if your user has the "dialout" group. If not: sudo adduser ${USER} dialout Dave Sand ----- Original message ----- From: "brosandbabes1611 via Groups.Io" <brosandbabes1611@...> Subject: [jmriusers] Canusb ports Date: Sunday, February 09, 2020 4:44 PM I am trying to get Zorin Linux to talk to MERG canusb4, and have entered the MERG settings, but is says the port?ttyACM0??is in use what ever I try. A browser search indicates that it is to do with permissions. I don't know what to do. Can someone please help? |
Locked
Canusb ports
I am trying to get Zorin Linux to talk to MERG canusb4, and have entered the MERG settings, but is says the port?ttyACM0??is in use what ever I try. A browser search indicates that it is to do with permissions.
I don't know what to do. Can someone please help? |
Locked
Re: SCRIPTING - Can a script obtain the names of classes that are already running
#scripting
Thanks Bob
|
Locked
Re: Operations manifest printing
#operationspro
I hate computers.
Definitely something haywire with my Windows 10. I hardwired my laptop to the printer and everything worked as it should. For some reason, only in that particular screen, it doesn't want to print in WiFi mode.?? Go figure. Will just live with it I guess. Thanks for the help. Irvin |
Bob, I have fixed all of the block warnings. Block problems are generally caused by inconsistent block assignments. ?There are a couple of basic rules.
Some Layout Editor comments.
Changes.
The updated panel has been uploaded to your folder. Dave Sand ----- Original message ----- From: rzeollaorcl <robert.zeolla@...> Subject: Re: [jmriusers] New JMRI Version breaks my panels #4-18 Date: Sunday, February 09, 2020 8:20 AM Yes, that is correct.? The 23_2 version is the one where I needed to edit the XML file to change LS0 to LS930 because the new version of JMRI did not like the LS0 designation.? That is the latest version of my panel file. |
Locked
Re: BLI Paragon 2 and 3 reading
know2go
Hi folks, I¡¯m new to DCC world and just got my share on two out of two non-working decoders. One being BLI P3, and while researching P3 issues I came across this thread on CV217. ? Apparently, CV217 is not supposed to be documented, because it¡¯s a service CV. The below clarification came directly from BLI tech support, when they were troubleshooting my issue. I¡¯m just sharing and hope it can be of use for those working on BLI decoders. ? BLI tech: ======== After setting CV217=196, it should either work or not work on the program track - but you could set it to lower or higher values to experiment (range of 0-255). ? When we designed our latest decoder, we wanted to have a lot of capacitance to prevent pickup issues over frogs and such. ======== |
I am running JMRI 4.18+R37ad3d0 with Java 11.0.6 in Ubuntu, and DCC++ Basestation. When using Simple Programmer in Ops Accessory Byte or Ops Accessory Extended Byte, I get the following error:
The DCC++ Traffic Monitor shows nothing. Alas I am not familiar with Java to identify what and where exactly communication between JMRI and DCC++ breaks. Can it be the problem with DCC++ Basestation? As far as I understand, JMRI uses DCC++ command 'M' for Extended Accessory packets. |
Locked
Re: Operations manifest printing
#operationspro
Phil,
I usually use the "preview before printing" to ensure that what I want to print looks correct.?? Sometimes I also find that what I thought might be one page is two.?? If so I can make changes to print what I want. I have tried the "Print" without going through "properties", however the result is the same.?? Things just sit there and do nothing. I even tried changing some colours in the Manifest.?? The colour changes showed in the preview with the same result.?? I did notice that the colours do not show the "preview" to print.? I guess it is using a different path. I just don't know enough about computers to track this one.??? I have been able to print anything else in the program, except for the Manifest. Maybe I'll just download the newer version and try it. I assure the procedure would be to back up my "Operation" files then uninstall the old version before installing the new. Irvin |
Locked
Re: pickup and setout of locos in route
#operationspro
Gordon,
That's exactly how OperationsPro works, there's only a comment made for the operators, the helpers never move with the train, they only have to exist at the start of the helper location.? No need to build a route for your helpers to return, they never move in the database. Dan |
Locked
Re: pickup and setout of locos in route
#operationspro
Matt,
You could operate your helpers as a turn with their own route from where they pickup the train and drop it off. Your route would be from A with no SO's or PU's to B and B with no SO's or PU's to A. I operate helper service off the grid...JMRI doesn't know they are there. I keep it simple. Gordon Spalty |
Locked
Re: Can't load JMRI4.18 on Windows 10 Laptop
#windows10
#4-18
Thanks for the help. My anti-virus software was the problem. One I updated it, JMRI loaded normally. Jack Varadi |
Locked
Re: SCRIPTING - Can a script obtain the names of classes that are already running
#scripting
for i in range(jmri.jmrit.automat.AutomatSummary.length()):
print jmri.jmrit.automat.AutomatSummary.get(i).getName() Bob On Feb 9, 2020, at 4:45 AM, Trevor_R <twr@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: Operations manifest printing
#operationspro
On Fri, Feb 7, 2020 at 10:36 PM, Irvin McIntyre wrote:
Run build ¨C press print ¨C print window comes up ¨C press properties ¨C check ¡°preview before printing¡±One other thought as I try to re-create the error: why do you click on the "preview before printing" in the Canon print window??? Does it print if you do not have that Canon option clicked?? I just checked with my Canon printer and it worked both ways, but I have had problems with my Canon apps in the past so that may be the flaw in the path. Phil |
Locked
Re: Operations manifest printing
#operationspro
Irvin,
When you print your manifest from the preview text editor, you are using the editor to print your manifest and not the program.? Your issue is related to JMRI trying to print your manifest.? I need you to check the system console for messages when printing from JMRI.? It may reveal why you can't print.? Also, if you deselect the option to use the text editor for previewing a manifest, does the preview provided by JMRI look ok? Dan |
Locked
Re: Operations Feature Request
#operationspro
¿ªÔÆÌåÓýHi Matt. I don¡¯t know what will be available in St Louis. I¡¯m willing to provide my clinics if someone wants to present them. Cheers, Dennis?, blame it for any mistakes On Feb 9, 2020, at 9:05 AM, cascaderwy via Groups.Io <cascaderwy@...> wrote:
|