¿ªÔÆÌåÓý

Date

Locked Re: OpenLCB Fast Clock

 

Hi Stuart,
Sorry to confuse the issue.? My clock is a slave, and yes, the implementation is reasonably simple.? I was thinking that the JMRI clock may not start sending events unless it sees a Consumer Identified for some or all of the events in the Time Protocol.? I only implement time, start and stop.
The rate is auto determined by timing the period between successive minutes and calculating the internal second rate.

Regards
Nom


Locked Re: Unable to load jmri 4.17.4

 

You can see the steps in the build and release process here:

A long time ago, there was a step included to submit the released Windows executable to McAfee / Norton for whitelisting. That stopped working due to some changes on their and the step was removed. IIRC, they required running some Windows executable that wasn¡¯t available during our release process, which is run on a mix of Linux and Mac machines.

If somebody could write up detailed instructions for submitting to whitelist(s) that can be done from a non-Windows machine, I¡¯d be happy to add those. If they¡¯re scriptable, that would be even better, as building a test/production release already takes quite a bit of time and attention already. Automation really helps reduce errors.

Alternately, if somebody wants to take on the role of doing the submissions once the files are available (typically a day or so before the release email), that would be _really_ great.

Bob


On Sep 11, 2019, at 9:19 PM, forfoum@... wrote:

What are the probabilities of a Test or Production version we download from JMRI.org having been infected with a virus or get infected during the download process ?

All these " False Positives " would tend to indicate infection to be very unlikely.

- - - - -

Tom, it is not the "enough users" that download that helps, it is the anti-virus apps getting the information back to the mother ship and getting the
" WhiteListing " updated. People with the FREE Avast are not sending back data unless they submit the file from the Virus Chest. Paid subscribers are sending back data and they are the ones getting the NEW file on to the Whitelist.

As I recall, JMRI DEV has stopped submitting new versions for Whitelisting. That or the service used is slow to propagate the info. Or certain Anti-virus apps do not care about propagated whitelist from other sources. Avast wants MONEY from dev who want to add there apps to the Avast Whitelisting, it is a paid subscription.

This will not go away and people just need to know it can happen with each NEW RELEASE, be it Test/Dev or Production.

Marc
--
Bob Jacobsen
rgj1927@...


Locked Re: NCE USB Help

 

¿ªÔÆÌåÓý

Luke,

Please update from 4.16 to 4.17.4. There were some baud rate setting issues with 4.16 and I want to rule that out.

I replicated your tests:
- Every time I plug the cab bus cable in, I saw a brief flash. That's expected and indicates 12V power is reaching the NCE USB.
- When I have the correct settings (19200 and all jumpers on), I don't see any activity (this is expected unless you are busy doing things like reading CVs or doing a Show Cabs). The log shows this:
2019-09-12 08:32:12,504 usbdriver.UsbDriverAdapter ???????????INFO ?- NCE USB cu.SLAB_USBtoUART ?port opened at 19200 baud [main]
2019-09-12 08:32:12,618 nce.NceConnectionStatus ??????????????INFO ?- NCE EPROM revision = 7.3.7 [AWT-EventQueue-0]

- When I have the incorrect settings (9600 and all jumpers on), I see the USB LED (near the USB connector on the NCE board) going on and off at about 10 second intervals. The log shows this:
2019-09-12 08:33:01,263 usbdriver.UsbDriverAdapter ???????????INFO ?- NCE USB cu.SLAB_USBtoUART ?port opened at 9600 baud [main]
...
2019-09-12 08:33:11,381 jmrix.AbstractMRTrafficController ????WARN ?- Timeout on reply to message: AA consecutive timeouts = 0 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2019-09-12 08:33:11,487 nce.NceConnectionStatus ??????????????WARN ?- Incorrect or no response from NCE command station [nce.NceTrafficController Transmit thread]
2019-09-12 08:33:21,493 jmrix.AbstractMRTrafficController ????WARN ?- Timeout on reply to message: AA consecutive timeouts = 1 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2019-09-12 08:33:21,599 nce.NceConnectionStatus ??????????????WARN ?- No response from NCE command station [nce.NceTrafficController Transmit thread]
2019-09-12 08:33:21,607 jmrix.AbstractMRTrafficController ????WARN ?- timeout flushes receive buffer: ?[nce.NceTrafficController Receive thread]
2019-09-12 08:33:31,609 jmrix.AbstractMRTrafficController ????WARN ?- Timeout on reply to message: AA consecutive timeouts = 2 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]

Did you see a "timeout flushes receive buffer" message.

If there's no LED activity with the mismatched baud rate (9600 and all jumpers on) condition, that tends to point to a USB driver or port issue.

BTW:
The NCE USB consists of two separate optically-isolated parts, communicating via an onboard serial link:
- The USB side, powered by 5V from the computer. It's baud rate is set by JMRI via the SiLabs driver.
- The microprocessor and Cab Bus side, powered by 12V from the cab bus. It's baud rate is set by the microprocessor reading the jumpers at power-up.
- Obviously it's essential that the two baud rate settings match.


From your reported lack of activity from the USB side LED under deliberate mismatch conditions (9600 and all jumpers on) - please check that again, I'm starting to suspect that you've got Windows Driver or port problems:

- Are you sure the COM port you are using is the one that appears/disappears as you plug/unplug?the NCE USB?
?
- Did you actually uninstall the current SiLabs drivers (plug the NCE USB in and select the new COM port that appears) then select Remove.

- Did you get the latest SiLabs Windows 10 drivers from <>, unpack and run the installer twice, once with?the NCE USB?unplugged and a second time with it plugged in.

- Did a new COM port appear/disappear and made sure there are no error or exclamation mark symbols?

Dave in Australia

On 12 Sep 2019, at 1:01 AM, luketheeminer via Groups.Io <luketheeminer@...> wrote:

I did not see any LED activity with the first test.

The power cab working great.?

With the second test i noticed a quick flash when i plugged in the cable from the PowerCab. But no more activity.

Here are my logs for both 19200 and 9600 baudrate.

2019-09-11 10:59:03,298 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - * JMRI log ** [main]

2019-09-11 10:59:03,310 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is appended to file: C:\Users\Heavy\JMRI\log\messages.log [main]

2019-09-11 10:59:03,310 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is stored in file: C:\Users\Heavy\JMRI\log\session.log [main]

2019-09-11 10:59:03,321 apps.AppsBase? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - DecoderPro version 4.16+R6f9aced starts under Java 1.8.0_45 on Windows 8.1 amd64 v6.3 at Wed Sep 11 10:59:03 EDT 2019 [main]


Locked Re: BLI Paragon 2 and 3 reading

 

Marc

Thank you for the commentary.? I'll shorten leads tomorrow - the PTB-100 has such skinny track outputs for about 8" that I never gave the extension wires another thought until this issue arose.? As far as JMRI running, DUH!? I'm an idiot - I opened JMRI and clicked the update link off the help menu to ensure I was going to the proper source for the update, but forgot to close it before running the update file.? I'll kill McAfee real-time scanning, firewall, automatic updates and automatic scanning tomorrow and try again.
I'll report back.

Thanks again,

Tim


Locked Re: BLI Paragon 2 and 3 reading

 

John,

Thanks for the info.? I also have an N scale PRR M1a/b, and for some reason I could read it just fine (with a few rereads to clear up the red tabs).? It's been the only Paragon 2 I've had success with.? I'll have to hopefully get more advice (and yes I'm following Michael Payne's post with the same download issues, just that we have different antivirus programs) on what I missed to get 4.17.4 through McAfee and Windows Defender, and unless Dave Heap or others have more suggestions I might have to try a Sprog.

Thanks

Tim


Locked Re: BLI Paragon 2 and 3 reading

 

¿ªÔÆÌåÓý

On 9/11/2019 8:03 PM, Tim Lux wrote:
Hi all,
I've done an archive search on BLI Paragon 2 and 3 decoder programming, see lots of issues but (possibly I missed them) no firm conclusions.? I have read and saved files for a number of sound decoders - Loksound Select micro, Soundtraxx etc, but these BLIs have me frustrated.? It seems I can write to them OK, but reading what's there in the first place is a challenge.? I'm doing read full sheet on the CV pane followed by multiple read changes on sheet to clear the red tabs, but after about 40 "read changes" tries on a Paragon 2 loco it went haywire.? I only rescued it by downloading individual CV values from the BLI technical reference and the operators manual supplied with the loco, then did a write full sheet (also on the CV pane) successfully.? Probably didn't get exact values for some CVs, which is what I'm trying to do in the first place.? My info:
Digitrax system on N scale layout (DCS100, DT402D throttle), use JMRI 4.14 just for programming on isolated track using PR3 (12 V DC 0.5 amp) and a PTB-100 booster (15 V DC 1 amp) with about 4 foot guessing 18 gauge leads soldered to the programming track.? From reading archives, I'm wondering if I need to bump up power supply to the PR3, just buy a new PR4 or some other interface, if the problem is with my leads, etc.

Any help or advice would be appreciated.? Thanks

Tim Lux
I only have experience with the BLI Paragon 2 decoder in the N-Scale PRR M1a/b locomotives.? I could never get a completed reading using my PR3 with JMRI on a test track.? I even upped the voltage on the power supply for the PR3 to 18Vdc.? That got the hit rate up to about 80% but still never 100%.? I finally switched to a SPROG 3 for my programing and then had no problems doing a Read All Sheets and having it succeed the first time.? I would have thought the PTB-100 would give you the same success rate.? Probably a SPROG 2 woujld work also but the store was out of stock when I was looking and I didn't want to wait.
-- 
John H. Reinhardt
  PRRT&HS  #8909
  C&O HS  #11530
  N-Trak   #7566 


Locked Re: BLI Paragon 2 and 3 reading

 

Now I'm really out of ideas...turned off MaAfee real-time scanning, firewall, automatic updates and scheduled scans.? Went to Windows Defender (Everything points to McAfee on it), made sure Windows Defender Antivirus periodic scanning was off, and the only other thing I saw was Secure Boot (no option to turn that off), which says it protects against malware on startup, which is not what I'm trying to do.? Still wouldn't load, stopped in the same place...

Tim


Locked Re: BLI Paragon 2 and 3 reading

 

Reading more posts, looks like I haven't turned off enough anti-virus stuff.? I've only got McAfee on this computer, any idea what else to turn off other than real-time scanning?? Even though Windows Defender says it's overwritten by McAfee, it came up with an alert (which I bypassed easily) before I got the McAfee block the first time.

Tim


Locked Re: BLI Paragon 2 and 3 reading

 

Hi Dave,
I have been reading CVs EXACTLY as you said, as I've seen you post these instructions earlier.
I tried a couple times to download 4.17.4, and got caught up in the dreaded antivirus trap.? This machine is a windows 10, and I figured out how to bypass Windows Defender and also temporarily disable my McAfee antivirus real-time scanning, so the file downloaded and the installation proceeded until I got an error on the setup screen:

Error opening file for writing:
C:\Program Files (x86)\JMRI\LaunchJMRI.exe

When I clicked Abort (didn't want to screw up with a partial install), the following showed up:

Installation Aborted
Setup was not completed successfully
Can't write C:\Program Files (x86)|JMRI
Setting x64 registry view...
Setting x86 registry view...
Output folder: C:\Program Files (x86)\JMRI
Extract: jmri.jar... 100%
Extract: COPYING
Extract: jmri.conf
Can't write: C:\Program Files (x86)\JMRI\LaunchJMRI.exe

Any idea where I go from here? I checked java and I'm up to date (version 8 update 221).

Thanks again,

Tim


Locked Re: CATS Designer XML does not parse when CATS is started - Gets Error that on statement 2 DOCUMENT is not found.

 

¿ªÔÆÌåÓý

I managed to get a console log with the error reported. The log is attached. Am I missing the style sheet?

?

Perry Sugerman

Downers Grove, IL ?

?


Locked Re: LokSound v4 Decoder Sound Refuses to work

Peter Ross
 

John, sound has nothing much to do with CVs.

If your upload fails, the decoder's sound archive will be corrupted and probably be unplayable. You need to keep trying with your upload.

Fails are most often due to to poor contact so if you're relying on wheels on track first make sure these are scrupulously clean. If the uploads still fail you may need to look at making a direct connection, ie, a wired one.

Your comment about the sound files pane is more worrying because it displays the PROJECT not what's in the decoder.

If it is blank the PROJECT is corrupted, so get a new download then check the sound files pane again. The sound files have got to be there for a successful upload.

Peter


Locked Re: Unable to load jmri 4.17.4

 

I'd have to ask the following questions:

1. Did you copy the one download to all the computers or did you use
multiple downloads?
2. If you ask the AV to scan the file before trying to install, does that
say it is clean?
3. Check the file size (in the properties of the file) to make sure they
match.

-Ken Cameron, Member JMRI Dev Team
www.jmri.org
www.fingerlakeslivesteamers.org
www.cnymod.org
www.syracusemodelrr.org


Locked Re: Digikeijs, Lenz, & Panel Sensors

 

Looks like I may have finally stumbled on a solution to my problem.
If I connect as Digitrax / using Loconet over TCP and rename the sensors as Loconet LS513, LS514, etc. instead of Xpressnet XS513, etc. it all seems to work just dandy.

Mike


Locked Re: JMRI on Pi 4B with 2 monitors

 

Kevin:

Only as a test to help with questions here in another thread several days ago...

Yes it works, you need the Raspbian to be updated through the apt-get update/upgrade process.

I did not try a modelboard (track plan) spread across the monitors but pane could be slid across the two HDMI 1920X1080 displays.

Jim Albanowski


Locked Re: BLI Paragon 2 and 3 reading

 

¿ªÔÆÌåÓý

Tim,

On 12 Sep 2019, at 11:03 AM, Tim Lux <timlux33@...> wrote:

It seems I can write to them OK, but reading what's there in the first place is a challenge.? I'm doing read full sheet on the CV pane followed by multiple read changes on sheet to clear the red tabs, but after about 40 "read changes" tries on a Paragon 2 loco it went haywire.? I only rescued it by downloading individual CV values from the BLI technical reference and the operators manual supplied with the loco, then did a write full sheet (also on the CV pane) successfully.? Probably didn't get exact values for some CVs, which is what I'm trying to do in the first place.? My info:
Digitrax system on N scale layout (DCS100, DT402D throttle), use JMRI 4.14 just for programming on isolated track using PR3 (12 V DC 0.5 amp) and a PTB-100 booster (15 V DC 1 amp) with about 4 foot guessing 18 gauge leads soldered to the programming track.

Please update to JMRI 4.16 (at least), preferably 4.17.4 (as it It fixes a significant issue in 4.16). A lot of water under the bridge since 4.14.

I think you have done so, but check that you have followed the recommended procedure below exactly. (In particular, sort by status descending and do your retries on the CVs pane, not other panes/tabs.)

If you find the same CVs keep appearing in red at the top of the "sorted by status descending " list, we need to know what they are as they may be CVs not supported by your particular model variant (we need to know the exact model as well). We can then change the definition files to exclude them if they are inapplicable.

Dave in Australia


Reading Decoder CVs

Because of a known (but as yet unresolved) race condition with certain decoder settings variables in JMRI code:

1) Use "Read Full Sheet" on the CVs pane instead of "Read All Sheets". It is less likely to cause errors when reading a decoder with lots of CVs.
Once finished, some may be missed (displayed in red). Use "Read Changes on Sheet" as many times as needed until no red items remain.
(Hint: Click on the Status column in the CVs pane until you see a down arrow. All the Red items will then be at the top.)

2) After you make changes on a programming sheet, don't use Write/Read changes on that programming sheet. Instead, switch to the CVs pane and use Write/Read changes on (the CVs) sheet. The result is the same but it will never trigger the race condition.

You may also see a number of messages in the JMRI System Log like this:
"ERROR - Variable=xxxxxx; Busy goes false with state IDLE"

Ignore these as they don't indicate a real error, we'll fix the problem in a later JMRI release.


Locked BLI Paragon 2 and 3 reading

 

Hi all,
I've done an archive search on BLI Paragon 2 and 3 decoder programming, see lots of issues but (possibly I missed them) no firm conclusions.? I have read and saved files for a number of sound decoders - Loksound Select micro, Soundtraxx etc, but these BLIs have me frustrated.? It seems I can write to them OK, but reading what's there in the first place is a challenge.? I'm doing read full sheet on the CV pane followed by multiple read changes on sheet to clear the red tabs, but after about 40 "read changes" tries on a Paragon 2 loco it went haywire.? I only rescued it by downloading individual CV values from the BLI technical reference and the operators manual supplied with the loco, then did a write full sheet (also on the CV pane) successfully.? Probably didn't get exact values for some CVs, which is what I'm trying to do in the first place.? My info:
Digitrax system on N scale layout (DCS100, DT402D throttle), use JMRI 4.14 just for programming on isolated track using PR3 (12 V DC 0.5 amp) and a PTB-100 booster (15 V DC 1 amp) with about 4 foot guessing 18 gauge leads soldered to the programming track.? From reading archives, I'm wondering if I need to bump up power supply to the PR3, just buy a new PR4 or some other interface, if the problem is with my leads, etc.

Any help or advice would be appreciated.? Thanks

Tim Lux


Locked Digikeijs, Lenz, & Panel Sensors

 

Trying new Digikeijs DR5000 Command Center with a Lenz-based DCC system on Windows 10.
All Lenz feedback sensors which feed into Lenz LR101 encoders to communicate with PC.
Successfully connected to JMRI by selecting on JMRI: "XpressNet using Lenz LI-USB Ethernet.."
I am unable to use a USB connection to Lenz because it keeps interfering with my CTI signal network.

My primary issue so far is that none of my feedback sensors display as active on my CTC panel done in Panel Editor.
The XpressNet monitor shows that the sensor information is coming across to JMRI.??
DR5000 Command App also shows sensor info is being sent.

Has anyone experienced a similar problem, and if so, how were you able to remedy it?
Mike Carr


Locked Re: Unable to load jmri 4.17.4

 

My experience with this one is:

I use IE to view the release note so I can save it to the folder as "archive (single file)" -- unfortunately neither of the other browsers I have has that option.? Since I already have the note open there I go ahead and download from IE and click the just-do-it-anyway option when IE complains.? This in the past has never given any problem subsequently.? This time when I tried to run the installer AVG blocked it, which has never happened before.? Even after telling AVG to create an exception, though, it refused to let the installer run.? I deleted that file and did a second downlad attempt with the same results.? I then copied the download link and pasted it into Xtreme Download Manager and it came through without a hitch and ran without a peep from AVG.

Rick


Locked CATS Designer XML does not parse when CATS is started - Gets Error that on statement 2 DOCUMENT is not found.

 

?I found on <DOCUMENT ... on line 2 of the XML file. Some place early in the learning curve, I got CATS to display some of my work. But I have a pilot test coming up and started to create something I would really like to use. Just to be sure it is not me, I created a nil dispatcher's panel. That is, I created a new panel and saved it under a test name but did not do anything to panel. The XML file from that exercise fails to parse.

I have loaded the XML file into Notepad++ and Xcode on my Mac and it seems to parse ok as far as the syntax highlighters are concerned, DOCUMENT is the first actual ?XML tag after the initial XML line. Its companion is at the end of the file.

JMRI 4.14 and CATS download appropriate for that release 0 was current in the early spring. Running CATS and JMRI on Windows 10.

Anybody out there with an idea about how to proceed?

Thanks,

Perry Sugerman
Downers Grove, IL


Locked JMRI on Pi 4B with 2 monitors

 

Ive been running panelpro on pi for some time, initially headless, but more recently via a monitor. I¡¯ve just found a second HDMI monitor, and note that if I upgrade my raspberry pi from 3B to 4B there are two HDMI sockets. Has anyone any experience of using JMRI on pi across 2 screens?