Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
Re: Help with NCE
here is a snapshot of my system console
2019-06-09 15:30:33,963 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main] 2019-06-09 15:30:33,979 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: C:\Users\Pete LaGuardia\JMRI\log\messages.log [main] 2019-06-09 15:30:33,979 util.Log4JUtil??????????????????????? INFO? - This log is stored in file: C:\Users\Pete LaGuardia\JMRI\log\session.log [main] 2019-06-09 15:30:33,979 apps.Apps???????????????????????????? INFO? - PanelPro version 4.0.1-r29956 starts under Java 1.8.0_60 at Sun Jun 09 15:30:33 EDT 2019 [main] 2019-06-09 15:30:36,350 apps.Apps???????????????????????????? INFO? - Starting with profile Pete_LaGuardia.3f57c1bf [main] 2019-06-09 15:30:36,647 usbdriver.UsbDriverAdapter??????????? INFO? - NCE USB COM3 port opened at 9600 baud [main] 2019-06-09 15:30:37,068 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files (x86)\JMRI\ [main] 2019-06-09 15:30:37,068 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Users\Pete LaGuardia\JMRI\Pete_LaGuardia\ [main] 2019-06-09 15:30:37,068 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Users\Pete LaGuardia\JMRI\Pete_LaGuardia\ [main] 2019-06-09 15:30:37,068 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Users\Pete LaGuardia\JMRI\ [main] 2019-06-09 15:30:37,068 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Users\Pete LaGuardia\ [main] 2019-06-09 15:30:37,068 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main] Jun 09, 2019 3:30:37 PM java.util.prefs.WindowsPreferences <init> WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5. 2019-06-09 15:30:46,787 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 0 [Transmit] 2019-06-09 15:30:46,896 nce.NceConnectionStatus?????????????? WARN? - Incorrect or no response from NCE command station [Transmit] 2019-06-09 15:30:56,912 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 1 [Transmit] 2019-06-09 15:30:57,021 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [Transmit] |
Locked
Help with NCE
Need help with NCE connecting to Panel Pro.? Decoder Pro works but PanelPro does not.
|
Locked
Re: YAAT sensor problem
I run YAAT ver 1.6?
I never tried to change? ?the profile?? I download? JMRI ver? 15.5 and both scripts (YAAT and BackAndForth) run with no problem as I try to test them I run? under? the NetBeans jMRI? ver? 15.3? and when? ?I run the BackAndForth? script? i got the error about the sensors as? mention above? ( did not try the YAAT yet ) Both cases the Preference and profile are the same? Will? download the sources? for 15.5 ( Doing some mod for myself ) Thanks for help? Doron |
Locked
Re: Maintaining JMRI files on a Flash Drive possible?
I would recommend using cloud storage.
-- Peter Ulvestad JMRI Users Group Moderator - ( ) Tam Valley Group Moderator - ( ) Sprog-DCC Group Moderator - ( ) Edmonton Model Railroad Association - |
Locked
Maintaining JMRI files on a Flash Drive possible?
DanB
Greetings! I am fairly new to JMRI, and am beginning the setup of my system. My railroad is in the basement, but I'd like to work on JMRI setup on another computer from time to time.? My original files with my engine and car rosters are on the basement computer attached to my railroad (using NCE USB Connection - NCE PowerPro system) and I want to use that base data in both places (not simultaneously). I tried copying the files to the flash drive from the basement computer and setting both iterations of JMRI to use the flash drive, but when I opened the upstairs computer, the files were not there (seemingly erased?). Am I going about this wrong? Is what I want to do not possible? |
Locked
Re: YAAT sensor problem
Doron,
toggle quoted message
Show quoted text
I tested BackAndForth.py with the only change being the forward and reverse sensor names and it worked as expected. Looking at the session.log from June 2nd, there is at least one issue. File path program: is C:\Program Files (x86)\NetBeans 8.2\Projects\jmri-ver11\JMRI-master\JMRI\ [main] File path preference: is C:\Program Files (x86)\JMRI\xml\ [main] File path profile: is C:\Users\doron\JMRI\My_JMRI_Railroad\ [main] File path settings: is C:\Users\doron\JMRI\ [main] File path home: is C:\Users\doron\ [main] File path scripts: is C:\Program Files (x86)\JMRI\jython\ [main] The main issue is preference:. ?It will normally be the same as profile:. ?This also caused the decoder errors which led to the OutOfMemory failure. INFO ?- update decoder index [initialize decoder index] ERROR - Failed to delete old index file [initialize decoder index] You may want to try testing with a normal install (instead of NetBeans) and use a new profile. A couple of unrelated comments. When you create a internal sensor using a full name such as IS101, you end up wit ISIS101 since the sensor create process automatically adds the appropriate prefix based on the connection selection. ?To end up with a system name of IS101, enter 101. ?This also applies to turnouts and lights. It is no longer necessary to use a memory icon to display the block contents value. ?The Block Contents icon provides the same capability automatically. You never said which version of YAAT your were running. ?I suspect the profile issue may have contributed to the problems you we¡¯re seeing. ?You might try YAAT again with the new profile. On Jun 9, 2019, at 7:45 AM, Doron Berezovitz <doronberezovitz1@...> wrote: |
Locked
Re: Questions about adding sensor icon to Layout Panel
As expected, the experts provided the answers! ?Thanks. ?I think I¡¯ll create arrows of the sizes I want and hopefully all will be well.
jerry ___________________________________ jerryg2003@... |
Locked
Re: Decoder Pro 14.4 How do I print the CV's sheet onto a single page ?
I don¡¯t see any changes in the code for printing the list of CVs..
Perhaps you had your printer set for multi-column output, or had it printing two pages per side of paper? Bob On Jun 8, 2019, at 11:27 PM, Warren Baker <warrennbaker@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: USING JMRI WITH MULTIPLE SYSTEMS
Gentleman
I have learnt a lot reading through this thread and basically understanding that just about anything is possible if you know what your doing. Well a little bit of knowledge is dangerous in my case.? I would like some help to confirm what I need to buy next. I have an Prodigy MRC Elite DDC system. Which is running the layout and controlling the UK made Mega points system. I also have a wireless MRC computer USB connection talking to the Prodigy DDC and then using JMRI is controlling my points (Switches) and routes.? All works brilliantly. ?So so far I no connections other then wireless from the Windows PC to the DDC system. No wires running down the walls. I also started to install Mega points block detection in anticipation of a future solution to talk back to JMRI.? ?However, I additionally purchased Digitax BDL168 and RX4s primarily??ready for transponding to work with a Surroundtraxx purchased but yet to be installed. Then of course I realised these BDL168 also have block detection capability. I basically duplicated my block detection hardware.? Reading and learning a little everyday I realised the Digitrax can and or should feed back to JMRI via locoNet the block detection.? Plus perhaps transponding? ? So what do I need to connect these BDL168s back into JMRI? is it ?the ?¡°PR4 USB to LocoNet Interface with Decoder Programmer ¡° ??I also read about needing a ?¡°LocoBuffer-USB¡± Do I need both of these and or is there something else I am missing? The good news is the Mega points block detection I already got, I can use for other tasks so I can and will re-purpose these. |
Locked
Re: New Macbook Air, Mojave, PR3 - problems...
Steve,
toggle quoted message
Show quoted text
Have you performed the debugging steps located at ? Dave Sand On Jun 9, 2019, at 8:25 AM, Steven Haworth <haworth7@...> wrote: |
Locked
Re: Questions about adding sensor icon to Layout Panel
Cliff, Jerry,
toggle quoted message
Show quoted text
Cliff: ?I show the image height to be 63 which means the content cannot be symmetrical since half of 63 is 31.5. The Size & Position tab in Properties applies to the ¡°box¡± around the object, such as an image or text. ?I use this a lot to display a sensor as a button by using the "Change to Text¡± option and setting the text color and content based on the sensor state along with creating a box around the text. ?An example is the Reset sensor button at?interlocking.png Jerry: ?When you use the "Overlay Icon with Text¡± option, the rotation is applied to BOTH the text component and the image. ?There is no provision for separate rotation settings. ?The other result of the overlay option is that scaling is ignored. ?While the Layout Editor does not explicitly support scaling, modifying the XML will result in a scaled image if there is no text overlay. ? Dave Sand On Jun 9, 2019, at 1:02 AM, Cliff Anderson <cliffaa@...> wrote: |
Locked
PanelPro 4.15 Dispatcher and Auto Train Running
Layout Mildura Station, Victorian Railways, transition era |
Locked
New Macbook Air, Mojave, PR3 - problems...
Has anyone tried using JMRI on a new Mac, to a PR3? This
worked on my older Mac, but the new one has a new type of USB.?? I have
an adapter (just a new physical connector), but JMRI can't connect to
the PR3 using either of the two serial ports.? After
some playing around with connection prefs, Decoder Pro ended up
hanging, forcing a restart to finally clear it.? I have more debugging
to do, but was wondering if anyone else has seen this type of behavior? Using JMRI 4.14.0, Mac OS is Mojave 10.14.5, and Java is latest version. The
PR3 is an older version, and I have NOT updated it to supporr 64-bit
connections, which apparently is needed only for Windows.? However, this
new Mac is certainly 64-bit native, so I'm wondering if that's a next
step. If
this doesn't work though, I want to continuing using the old Mac, and
don't want a PR3 update to break that (currently working) setup. - Steve Haworth RGS history - Blog - ?????????????? FB - |
Locked
Re: YAAT sensor problem
Hi
For some reason that? ?may help you find the problem. Only when i add to script "from jmri import InstanceManager" and change the line? from? #self.fwdSensor = sensors.provideSensor("ISIS1")
self.fwdSensor = InstanceManager.sensorManagerInstance().provideSensor("ISIS1") the BackAndForth.py run |
Locked
Re: Web Server / Operations manifest view problem
#operationspro
Randall,
Thank you for the update.? Sam |
Locked
Re: Web Server / Operations manifest view problem
#operationspro
Randall Wood
A fix is in for this on GitHub. I don't know if it will make JMRI version 4.15.8 (and 4.16), or be in 4.17.1. |
Locked
Re: YAAT sensor problem
Hi
I try to run other script "BackandForth.py" and got the some error? i will put the messages.log? and the xml file in the folder that I open? .I look at the console log and to my opinion? it is the some as the messages.log? |
Locked
Re: Decoder Pro 14.4 How do I print the CV's sheet onto a single page ?
Hi Dave,
toggle quoted message
Show quoted text
Thanks for your reply, all my decoders are Soundtraxx Tsunami 1000 or Econami. There are approximately 124 CV's in each. As I mentioned below, I was able to print all CV's onto a single page on an old (2.12) version but haven't been able to version 4.14 Regards, Warren -----Original Message-----
From: Dave Heap Sent: Sunday, June 09, 2019 3:08 PM To: [email protected] Subject: Re: [jmriusers] Decoder Pro 14.4 How do I print the CV's sheet onto a single page ? Warren, On 9 Jun 2019, at 2:47 PM, Warren Baker <warrennbaker@...> wrote:How many CVs does your decoder have? The ESU LokSound V4 decoders have more than 1,000 CVs and the LokSound 5 have over 2,000 CVs (some other sound decoders would have many hundreds). You are never going fit them all on one page and still be able to read the text. Dave in Australia |
Locked
Re: Questions about adding sensor icon to Layout Panel
Jerry, Just checked and Dave Sand types faster than I do. He knows a lot more about Layout Panel editor than I do too. Perhaps some different information is provided here anyway. Splitting your queries into three separate, but related topics:
Based on the fact that the properties for the Arrow 5 file, show the height to be an even number of pixels, and the fact that the image is not symmetric with the center line, which is impossible without altering the actual file, there is always going to be a discrepancy of one pixel up or down when rotated. The easiest way to combat this is to make a copy of the file and save it in your profile:resources\icons\decorations or your settings:resources\icons\decorations folder and then edit the copied file to be symmetric with respect to a center line. Increasing or decreasing the height property by one pixel will make that task even easier.
You could try using the property of "Overlay Icon with Text..." from the right-click pulldown menu, but I am getting two copies of the text, one upside down and one right side up and both on top of each other. Maybe a bug? A safer way would be to make a rotated copy of your edited version from the suggested fix for the first question. That may be cumbersome, but at least you will have the final control.
The size option in the icon's "Size & Position" tab of the "Properties..." menu item in the pulldown menu seems to provide an offset option in my testing. The size option is one that I don't remember using. Someone else will have to provide some suggestions. That is, unless you are willing to go back to suggestion one and change the size of the copied Arrow 5 image file. Perhaps the size option has a bug too? Cliff in Baja SoCal |
Locked
Re: Questions about adding sensor icon to Layout Panel
Jerry,
toggle quoted message
Show quoted text
ArrowStyle5 has a height of 63 pixels which results in the image being off center by 1 pixel. When you rotate the image, you have to adjust the y position to compensate. To avoid text rotation, you could use a text label on top of the icon. Someone else will have to answer the scale question. I tend to hack the supplied icons into what I want and put those in my user files location in a resources/icons directory. In your case I would look at creating left and right icons with the desired size. Dave Sand On Jun 8, 2019, at 9:40 PM, JerryG via Groups.Io <jerryg2003@...> wrote: |