Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Re: Edit dialog boxes do not open with full width
OK, clean start.
?
?
This should all have been done with a fresh JMRI installation. No new folders, no extra profiles. Most non-UI things seem to work. For fun, I opened the Monitor LocoNet window. It first appears as a skinny window but I stretched it and it retains its size after closing and re-opening and also quitting and restarting JMRI. Pushed the State button on the table a few times and the right message appear in the monitor window, FWIW.
?
The problem is so consistent - seems like it's one of those "simple once you know what it is" things. But I can't think of anything else to look at or try.
?
Vince
|
Re: Edit dialog boxes do not open with full width
No errors in the log (didn't even know I could get the log when not running from a shell....thx).
?
Previous system was (and still is) an old Intel iMac running 5.10 and Java 11. Ventura OS.
?
New system is M4 Mac Studio running Sequoia (and 5.10 and Java 17 as you know from my previous post).
?
I just copied over the xxx.jmri folder over from the old system to the new system. Things generally seemed to look OK (layout panels were correct, tables looked right, etc). But, I did change the default location of the .jmri folders (as I did with the old system).
?
Your questions have me thinking about moving the default config folder location. Even though it worked before, who knows what other little things I might have done along the way that might have had an impact.
?
For a better-controlled test environment for the A/B comparison I think I will delete and re-install JMRI and try again using just the default My_JMRI_Railroad profile for testing. I am assuming that deleting /Applications/JMRI and ~/Library/Preferences/JMRI will get me back to a clean install state.
?
Vince |
Re: Colors for JMRI shirts (was re: JMRI merchandise for donations
toggle quoted message
Show quoted text
On 19 May 2025, at 21:43, John Bauchiero via groups.io <john4dhmr@...> wrote:
|
C/MRI 72-Input node: how to configure in JMRI?
#cmri
I have this board with 72 inputs, how to configure this node in JMRI?
An Smini is standard 24IN/48OUT, yet how to modify this to 72IN?
?
This is my code used for the board:
?
#include <Auto485.h> #include <CMRI.h> #include <SPI.h> #define CMRI_ADDR 5 ? ? ? ? ? ? ? ? ? ? ? // select the CMRI node address #define DE_PIN 2 ? ? ? ? ? ? ? ? ? ? ? ? ?// Arduino pin 2 -> MAX485 DE and RE pins // #define NOP __asm__ __volatile__("nop") ? // macro for the "nop" assembly instruction #define NOP __asm__ __volatile__ ("nop\n\t") // https://forum.arduino.cc/t/very-short-delays/43445/5 // pin 74HC165 const byte LATCH_165 = 9; // LATCH Auto485 bus(DE_PIN); ? ? ? ? ? ? ? ? ? ? ?// RS485 bus transceiver CMRI cmri(CMRI_ADDR, 72, 0, bus); ? ? ? ? // sets up an SMINI with address 5, SMINI = 72 inputs, 0 outputs uint8_t input_state[9]; void setup() { ? Serial.begin(9600); ? delay(10); ? Serial.println("DCCpp_CMRI_nopxor75-in_v3.ino"); ? delay(1000); ? bus.begin(57600, SERIAL_8N2); ? ? ? ? ? // open the RS485 bus at 57600bps ? SPI.begin (); ? ? ? ? ? ? ? ? ? ? ? ? ? // serial data protocol used to control 74HC165 ? pinMode(LATCH_165, OUTPUT); ? digitalWrite (LATCH_165, HIGH); } void loop() { ? // 1: update inputs ? digitalWrite (LATCH_165, LOW); ? ? ? ? ?// pulse the parallel load latch ? NOP; ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?// use the macro instead of inline assembly ? NOP; ? digitalWrite (LATCH_165, HIGH); ? uint8_t new_input_state[9]; ? for (int i = 0; i < 9; i++) { ? ? new_input_state[i] = ~(SPI.transfer(0)); ? } ? bool updated = false; ? for (int i = 0; i < 9; i++) { ? ? if (new_input_state[i] != input_state[i]) { ? ? ? cmri.set_byte(i, new_input_state[i]); ? ? ? input_state[i] = new_input_state[i]; ? ? ? updated = true; ? ? } ? } ? // 2: main processing node of cmri library ? if (updated) { ? ? cmri.process(); ? } } |
Starting with JMRI sensor reading and signal output: help request
JMRI version 5.10
Java version 11.0.17
PC: Windows 10 pro
Background:
1. I am familiar with Decoder Pro (using it to program my DCC++ loco decoders). I am have access to functioning RS485-to-USB converter, C/MRI Smini node
2. I have working block detection (current transormer-based), C/MRI I/O card (SMini)
Question:
1. where to find tutorials on using, adding and editing JMRI functionality for C/MRI connected sensors?
2. where to find tutorials on using LogixNG for driving output signals, based on sensor inputs?
?
Several years ago I had managed to get sensors to be read over my C/MRI nodes, and do some very basic experimentation with LogixNG. But now I am starting in earnest with builing a new layout and I would like to be prepared for instllation of proper sensor, signals and turnouts wiring.
? |
Re: Edit dialog boxes do not open with full width
Vince, How did you transfer the JMRI data from the previous system? ?What was the previous system? ?Hardware, OS, JMRI version, etc. Are there any errors in the system console (Help -> System Console)? Go to "Help -> Context", click on the "Copy to clipboard" button and paste into a reply. Dave Sand ----- Original message ----- From: "Vince Guarna via groups.io" <vince=[email protected]> Subject: [jmriusers] Edit dialog boxes do not open with full width Date: Monday, May 19, 2025 9:55 PM Now that I'm running with version 5.10 and Azul 17 LTS, I pulled over a profile from my previous system to continue working on it and I noticed when when I click the Edit button on various table items (e.g., Sensors, Blocks, Turnouts...looks like all of them), I get an edit window popping up that appears to be the correct height but has almost no width. For example, here is a section of my Blocks table: ? ? .... and if I click on the Edit button in the highlighted row (although it could be any row), I initially get: ? ? ? Then, once I drag the right box side to the right, I get: ? ? Which looks about right. ? I noticed a similar problem on startup when choosing a new profile: ? ? ? ? The difference with this one is that once I stretch it and and close PanelPro, I get the full dialog next time I open it. With the table element editors shown above, it happens every time. ? One last observation - if I create a new profile from the startup page (where I can either wait x seconds to take the default, or choose another, or create a new profile), and then select that new profile to start, I again get a skinny window that appears to be the right height but has a similarly narrow width: ? ? ? With this one, once again, once I stretch it out it appears to be good going forward. In fact, I can just close JMRI and reopen it and I get a normal size window. ? If this were a web page, I would swear I have a bad or missing .css file. Looks simpler in this case, though. Might be that all of these skinny windows are initially the same width....like JMRI is missing a parameter somewhere that describes my monitor sizes? Maybe I accidentally corrupted something in the process of reinstalling Java and JMRI 5.10 when dealing with my previous problem? ? Vince |
Edit dialog boxes do not open with full width
Now that I'm running with version 5.10 and Azul 17 LTS, I pulled over a profile from my previous system to continue working on it and I noticed when when I click the Edit button on various table items (e.g., Sensors, Blocks, Turnouts...looks like all of them), I get an edit window popping up that appears to be the correct height but has almost no width. For example, here is a section of my Blocks table:
?
?
.... and if I click on the Edit button in the highlighted row (although it could be any row), I initially get:
?
?
?
Then, once I drag the right box side to the right, I get:
?
?
Which looks about right.
?
I noticed a similar problem on startup when choosing a new profile:
?
?
?
?
The difference with this one is that once I stretch it and and close PanelPro, I get the full dialog next time I open it. With the table element editors shown above, it happens every time.
?
One last observation - if I create a new profile from the startup page (where I can either wait x seconds to take the default, or choose another, or create a new profile), and then select that new profile to start, I again get a skinny window that appears to be the right height but has a similarly narrow width:
?
?
?
With this one, once again, once I stretch it out it appears to be good going forward. In fact, I can just close JMRI and reopen it and I get a normal size window.
?
If this were a web page, I would swear I have a bad or missing .css file. Looks simpler in this case, though. Might be that all of these skinny windows are initially the same width....like JMRI is missing a parameter somewhere that describes my monitor sizes? Maybe I accidentally corrupted something in the process of reinstalling Java and JMRI 5.10 when dealing with my previous problem?
?
Vince
|
Re: Audio Icon on Web Panel - Java
Is there a way to get around having the panel on top? I don't think think there's a way to make a panel be on top on a specific tablet, correct? In other words, I know how to make a panel be on top on the jmri computer using logix ng but I don't think I can control what panel is on top on a specific tablet, right? |
Re: Fresh install of JMRI and Java on new Mac (Sequoia). PanelPro won't start ("To use JMRI you need to install Java 11" dialog comes up)
Right. One of the problems of *not* using an installer to install software in
a "standard" place is that you need to make sure any dependent software knows where the software installed. (This can actually be a major issue for both MS-Windows and MacOS, since neither really has a proper software repository behind a system package management system.) At Mon, 19 May 2025 14:45:46 -0700 "Vince Guarna via groups.io" <vince@...> wrote: -- Robert Heller -- Cell: 413-658-7953 GV: 978-633-5364 Deepwoods Software -- Custom Software Services -- Linux Administration Services heller@... -- Webhosting Services |
Re: Colors for JMRI shirts (was re: JMRI merchandise for donations
I noticed that the logo is actually, white (Smoke), gray (background), black (loco) and red (nose).
White on gray can be tricky unless you do some color swapping.
And I agree test images would help with choosing.
?
Safety orange anyone?
--
--- Thomas DeSoto, TX |
Re: DECODERPRO WARNING
There is a POM mode I think is called 'blast', which programs ALL the decoders on the system at once.
No idea why that was thought a benefit feature, but using blast mode by mistake is a fast way to bugger up all loks on the layout.
Regular POM requires a valid address for the decoder to be modified. Blast does not.
?
Set the address on programming track, always.
If you cannot read/write a decoder address on the programming track, check if a decoder is even installed.
?
--
--- Thomas DeSoto, TX |
Re: Colors for JMRI shirts (was re: JMRI merchandise for donations
¿ªÔÆÌåÓýBob, The faded blue denim looks good to me. Given a choice I would get the short sleeve version. The reason is that most of my collection of convention shirts are long sleeve. I wear them near daily, and the quality has varied over the years. Some still look pretty decent. Others have their collars in tatters. :( I think the JMRI logo should be visualized on the different options. It might not work as well as we think it should on a colored background. For example:
Duke's hand and head disappear against the cab roof, and his nose
is a barely visible red speck. Maybe the embroidery could do a
better job of a white outline around those features than my paint
program did. The digital smoke actually turned out better than I
expected it would. Dick :) On 5/19/2025 4:10 PM, Bob Jacobsen via
groups.io wrote:
Daylight Sales got back to me. They can do JMRI polo shirts, denim shirts, pocket t-shirts and/or coffee mugs. Now we get to pick a color! The available colors for each item are shown as swatches on these pages: Polo = Denim = Pocket t's = Coffee mugs are white. Note that our logo is mostly black and white, with just a touch of red: It might not show up well when embroidered on really dark colors. I¡¯m color blind, so give this a large grain of salt, but I suggest: ¡°Cool gray" for polo shirts ¡°Faded blue¡± for denim shirts ¡°Sport gray¡± for pocket t-shirts I¡¯m happy to follow any color consensus that emerges. Bob ¡ª Bob Jacobsen rgj1927@... |
Re: Fresh install of JMRI and Java on new Mac (Sequoia). PanelPro won't start ("To use JMRI you need to install Java 11" dialog comes up)
Thanks, Dave. That was easy. No JAVA_HOME, no path stuff, nothing. Just install the DMG and it works. Someday I'd like to understand more about the nuts and bolts about how all the plumbing works, but....life it short. Maybe a task for another day.
?
By the way Robert, I felt the same as you -- had to be a path problem. In fact, I think I proved it as I was able to start PanelPro from my zshell (instead of clicking on the /Appllications icon) and it seemed to work. Didn't push it very hard, tho.
?
But, I'm happy to just get working again with JMRI on the new box.
?
Thanks again.
Vince |
Re: Colors for JMRI shirts (was re: JMRI merchandise for donations
¿ªÔÆÌåÓýI¡¯d go with Bob¡¯s colors. But for Tee¡¯s I¡¯m also thinking Sand or Ash as other possibles. The Stone is the only other for the Polos. Everything else seems too dark. ? -Ken Cameron, Member JMRI Dev Team
? ? |
Re: Colors for JMRI shirts (was re: JMRI merchandise for donations
Hmm, for some reason (maybe because I am outside USA) it won't let me look at their colours. But the suggested default for the polo sounds good. On Mon, 19 May 2025 at 21:10, Bob Jacobsen via <rgj1927=[email protected]> wrote: Daylight Sales got back to me.? They can do JMRI polo shirts, denim shirts, pocket t-shirts and/or coffee mugs. |
Re: Colors for JMRI shirts (was re: JMRI merchandise for donations
Bob, the colors are fine, but I highly recommend the polo () you chose.? First of all, it has a pocket which is "required" for ops, but mostly because I have recently acquired Port Authority shirts for our PRRT&HS chapter, and for my Cresson Branch several years ago, and the guys seem to like them!? They make a very nice shirt that wears and launders well.? I'm looking forward to adding a JMRI shirt to my wardrobe.
Thanks.
John |