¿ªÔÆÌåÓý

Date

Locked Scripting - a general question ....

 

Probably a rather newbie question ...

If I have (say) 3 trains on a layout would I expect to have a single
script that controls all 3 (I can see this would rapidly become very
complex),? or would I be better off running 3 scripts (say one per loco)
... assuming this is even possible ... or is there a better approach??

TIA
Dave


Locked Re: Web server update

 

Steve,
When I rotate the updated throttle, nothing happens. I still see the throttle but it stays in portrait mode.

So in the first Web preferences section
Web Screen Orientation is set to Auto Web
Initial Web page is set to / which showed the JMRI home page I customized years ago. It should be same as localhost:12080

Throttle Screen type is set as Original - Phone or Tablet

I tried the other screen types but still no web. I can get web as a small screen at the bottom of the throttle.
Bob BUcklew

----- Original Message -----
From: "Steve Todd" <mstevetodd@...>
To: "jmriusers" <[email protected]>
Sent: Friday, November 16, 2018 11:01:54 AM
Subject: Re: [jmriusers] Web server update

Hi Bob,
When rotating for the Auto-Web, what do you get? A blank screen, an error
screen, no screen, something else?

In Engine Driver Preferences, what do you have set for the following
Preferences:
Initial Web Page
Initial Throttle Web Page (under Web View Preferences)
Throttle Screen Type

Regards,
SteveT


On Thu, Nov 15, 2018 at 6:02 PM rbucklew via Groups.Io <rbucklew=
[email protected]> wrote:

Steve,
I just updated one of my older Android phones from Engine Driver 2.10 to
2.22.69

I can run trains with the throttle, but can't get auto web to show my JMRI
web site or panels. Is there a new setting I am missing?

I can get the web to display at the bottom of the throttle screen, but
prefer the auto web for these small screens.

Bob Bucklew

----- Original Message -----
From: "Steve Todd" <mstevetodd@...>
To: "jmriusers" <[email protected]>
Sent: Thursday, November 15, 2018 5:16:14 PM
Subject: Re: [jmriusers] Web server update

On Thu, Nov 15, 2018 at 01:55 PM, rbucklew wrote:


I guess that would require two sets of panels?
Bob,
No, the same panels will work on either server. The path determines which
version is used. Use the /panel path for WebSocket-capable devices, and
/frame for the others.
--SteveT






Locked Re: LATEST LAYOUT EDITOR FORMAT

 

Hi Team, Back home. I checked up with the "Edit Turnout Form" that is common to both Turnouts and the Layout Editor Edit Screen and everything is working well now, thanks to your input.
I see where the problem crept in and I would like to suggest two small amendment/changes to the text on the Form to make its use a little clearer:

I found the Tick Box "Also Throw Turnout" a little strange - as in disconnected - at first sight which is why I initially ignored it. I believe that it would make more sense and remove any confusion by adding the following text BEFORE the Tick Box: "Is this Turnout supporting another Turnout?".

The second small change is to move the text "Continuing Route Turnout State" to the other side of the Choice box, leaving its Default value as CLOSED and putting the text in brackets, as a reminder, AFTER the Choice box then ADD the following text to the LEFT of the Choice box: "Select Main Running Line Route through Turnout".

As regards the Direction of the connections in Turnouts I suspect that you are right Ken. Perhaps whether or not the person writing the code was naturally Right or Left handed which gives a natural Clockwise and Anti-Clockwise direction. However, I believe that it would be a good idea to ask if the coding can be changed such that all go in one direction when there is another update scheduled?

Dave


Locked Re: NCE fastclock as master to JMRI fastclock

 

¿ªÔÆÌåÓý

David, Greg, and Craig,
?
We have the fast clock working where the NCE clock is the master.
Like the problem you are having, we had also till we found a set up procedure that works.
?
I will be at the club tomorrow for an ops session and will get the instructions that I can post.
?
Marshall
?

Sent: Friday, November 16, 2018 11:28 AM
Subject: Re: [jmriusers] NCE fastclock as master to JMRI fastclock
?
Craig or Greg did you ever get this to work?? Mine is working in the exact same way (no matter what I set on the NCE monitor clock, the system just resets it back to 1:1 and internal clock independent of NCE fast clock.


Locked Re: NCE fastclock as master to JMRI fastclock

 

Craig or Greg did you ever get this to work?? Mine is working in the exact same way (no matter what I set on the NCE monitor clock, the system just resets it back to 1:1 and internal clock independent of NCE fast clock.


Locked Re: decoder definition KRES

 

Now works like ESU V4

I add this lines to decoder config:
<capability>
??????? <name>Indexed CV access</name>
??????? <parameter name="PI">31</parameter>
??????? <parameter name="SI">32</parameter>
??????? <parameter name="cvFirst">false</parameter>
</capability>

I need still a lot of time to finish decoder definition.
How can I bring decoder config to JMRI package?

Kai

----------------------
JMRI 4.12+Rb6a9bb1
DCC Lenz


Locked Re: New and need help

Bob Potter
 

Larry Puckett writes a DCC column each month in MR magazine. He also has a website, "The DCC Guy" where there are many articles about using JMRI Decoder Pro.
A search for Decoder Pro will yield a great many answers to your questions.

Bob


Locked Re: Web server update

 

Hi Bob,
When rotating for the Auto-Web, what do you get? A blank screen, an error screen, no screen, something else?

In Engine Driver Preferences, what do you have set for the following Preferences:
Initial Web Page
Initial Throttle Web Page (under Web View Preferences)
Throttle Screen Type

Regards,
? SteveT


On Thu, Nov 15, 2018 at 6:02 PM rbucklew via Groups.Io <rbucklew=[email protected]> wrote:
Steve,
I just updated one of my older Android phones from Engine Driver 2.10 to 2.22.69

I can run trains with the throttle, but can't get auto web to show my JMRI web site or panels.? Is there a new setting I am missing?

I can get the web to display at the bottom of the throttle screen, but prefer the auto web for these small screens.

Bob Bucklew

----- Original Message -----
From: "Steve Todd" <mstevetodd@...>
To: "jmriusers" <[email protected]>
Sent: Thursday, November 15, 2018 5:16:14 PM
Subject: Re: [jmriusers] Web server update

On Thu, Nov 15, 2018 at 01:55 PM, rbucklew wrote:

>
> I guess that would require two sets of panels?

Bob,
No, the same panels will work on either server. The path determines which version is used. Use the /panel path for WebSocket-capable devices, and /frame for the others.
--SteveT






Locked Re: virtual sound decoder

 

See

Klaus


Am 16.11.2018 um 00:21 schrieb tnmkumar_us:

Is there a way to get the individual sound files (.mp3 or .wav) from a .vsd file.
CTI Electronics TrainBrain can play .wav files.
OR
Where can we find the different wave files associated with a locomotive?


Locked Re: JMRI Script no longer works after updating to latest version of JMRI

 

Kevon,

It looks like you need to change line 104:

self.programmer = addressedProgrammers.getAddressedProgrammer(self.long, dccnumber)

Dave Sand

On Nov 15, 2018, at 6:32 PM, Kevon Bradford <kevonzone@...> wrote:

Hello,

We have a speed script that stopped working after an upgrade. We uploaded it to the files section. Could someone look to see how we could get it back running.

/g/jmriusers/files/FindMaxSpeed_TLS_2016-Jan.py

Thank you.


Locked Re: Cant read decoder

 

Yes. Everything works. As always, your advice and guides are a light in the dark. Thank you very much Walter and Dave.
Mario.


Locked JMRI Script no longer works after updating to latest version of JMRI

 

Hello,

We have a speed script that stopped working after an upgrade. We uploaded it to the files section. Could someone look to see how we could get it back running.

/g/jmriusers/files/FindMaxSpeed_TLS_2016-Jan.py

Thank you.


Locked Re: JMRI update on a raspberry pi

 

Thank you everyone for the help

I found my rosters under .jmri/My_JMRI_Railroad and made copies of the folders.
I than rename /home/pi/JMRI to oldJMRI
I than extracted the latest JMRI (4.12)
Everything starts without issue and the rosters etc all loaded correctly.

Steve I believe I will be setting up a new SD card with your image and give your access point and raspberry pi set up an actual try.

Again thank you for the help.

David


Locked virtual sound decoder

 

Is there a way to get the individual sound files (.mp3 or .wav) from a .vsd file.
CTI Electronics TrainBrain can play .wav files.

OR?
Where can we find the different wave files associated with a locomotive?


Locked Re: New and need help

 

Messrs Van Horn and Garnhart,?

I am by no means an expert, but, I've been using JMRI since its infancy, and I, and I'm sure many others on this list, are happy to help.?

Documentation on DecoderPro is .? In order to be able to offer assistance, please tell us a bit about your DCC/computer setup.??
e.g.??
- what DCC system are you using?
- what interface are you using between your computer and your DCC system??
- what operating system is on your computer (I see that Mr. Garnhart has Windows 10, as do I)
- what version of JMRI (Decoder Pro) are you using (click on 'Help' -> 'About') ??

Help us help you, and we'll all benefit.?

Chris


Locked Re: Trouble programming a Tsunami 2

 

¿ªÔÆÌåÓý

It's a random obscure timing thing and yes we developers know about it (there is an issue logged) but we are all swamped with more urgent issues (it may interact with other work already in progress) that don't have workarounds.

We have explained the workaround, it is easy and reliable, please use it.

--?
Dave in Australia

The New England Convention 2018

On 16 Nov 2018, at 8:34 AM, leggering1956 <lceggering@...> wrote:

Thanks Tom, I have done this on many other decoders without issues. (I do a lot of installs)?
I actually tried the CV's pane also but the number of cv's with error was equal to locating it in the single tab.
Painful yes, a show stopper no. I was just looking to see if someone was working on it.


Locked Re: Web server update

 

Steve,
I just updated one of my older Android phones from Engine Driver 2.10 to 2.22.69

I can run trains with the throttle, but can't get auto web to show my JMRI web site or panels. Is there a new setting I am missing?

I can get the web to display at the bottom of the throttle screen, but prefer the auto web for these small screens.

Bob Bucklew

----- Original Message -----
From: "Steve Todd" <mstevetodd@...>
To: "jmriusers" <[email protected]>
Sent: Thursday, November 15, 2018 5:16:14 PM
Subject: Re: [jmriusers] Web server update

On Thu, Nov 15, 2018 at 01:55 PM, rbucklew wrote:


I guess that would require two sets of panels?
Bob,
No, the same panels will work on either server. The path determines which version is used. Use the /panel path for WebSocket-capable devices, and /frame for the others.
--SteveT


Locked Re: Dispatcher - SML - auto-allocation problem

 

Mitchell
This is very good news. I wait with baited breath on the outcome.
Steve G.


On November 15, 2018 5:30:59 PM EST, "Mitchell via Groups.Io" <mitchell.scott93@...> wrote:
Hi Steve,

Results!!

I took your advice and separated all 5 points and the crossover into seperate blocks and each its own section. The crossover is now a level crossing as well.
ive also added a few extra smaller sections around the layout, and now using Safe Sections. This seems to be working now.

I auto-generated my SML and then manually built my sections.

Because I don¡¯t have any more detection circuits, I¡¯ve done some logixs that trigger based on one sensor and the state of the turnouts, which triggers internal sensors that the blocks are assigned to. A seperate conditional for every possible train movement exists, as well as an ¡°off¡± conditional.

The crossover is on an auto-reverser on one detection section, and the outer rails of it are on another detection section. I have made a Logix for this that if either of them are triggered it triggers the internal sensor for both blocks of the crossover.

I thought about adding extra virtual signals, however if I added any between real signals it might detract from the realism of a yellow before a red on the real signals.
signals 1 through to 24 are real signals, all others are virtual due to not being visable.

Ive only tested this virtually, and I will report back tonight on the results of trains runnning. In theory I end up with 4 trains running around each other!

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


Locked Re: How to install JMRI using OPENJDK

 

Folks,

I am also having issues with JMRI on OpenJDK 11. I was able to install JMRI 4.12 on top of Java 8 JRE that I downloaded from Java.com.? However, I am using a newer laptop with a HDPI display that does not allow JMRI or other Java apps to scale properly.? In Googling around, I founds entries where this is supposed to be fixed in the current version of Java, 11 at this time.? I downloaded a pre-built binary of the current build of OpenJDK from adoptopenjdk.net using the Hot Spot JVM on a Windows 10 system.? After making the Path, Variable, and Registry changes noted previously, I'm able to install both the latest JMRI 4.12 package as well as 4.13.4.? My problem lies when I try launching either PanelPro or DecoderPro on either JMRI install.? I receive two error messages, the first being 'Error: could not find java.dll' and the 2nd being 'Error: Could not find Java SE Runtime Environment'.? I've provided all the details that I can think of below.? Any thoughts or suggestions.

Thanks,

Dan R

Here are the Path, Variable, and Registry entries i'm using.

%path%: C:\Program Files (x86)\Pelco\Common Files;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\SysWOW64;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\IDM Computer Solutions\UltraEdit;C:\Program Files\Java\jdk-11\bin;C:\Users\ddr\AppData\Local\Microsoft\WindowsApps;

%JAVA_HOME%: C:\Program Files\Java\jdk-11

Registry:

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft]

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JRE]
"CurrentVersion"="1.11"

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JRE\1.11]
"JavaHome"="C:\\Program Files\\Java\\jdk-11"


I ran the InstallTest utility with its results below.

Testing for 32/64-bit Windows

Running on 64-bit Windows

Testing for 32/64-bit process

Running as a 64-bit process

Testing for Java working

openjdk version "11.0.1" 2018-10-16
OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.1+13)
OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.1+13, mixed mode)

Java is correctly working.
Press any key to continue . . .




CommandLine: LaunchJMRI? /debug /noisy apps.InstallTest.InstallTest????????
Default options:
AppName: InstallTest
Class: apps.InstallTest.InstallTest
Parameters:
Noisy: 1
Force32bit: 0
Profile:
Testing for x64...
Result: 1
Setting x64 registry view...
JavaPath: C:\Program Files\Java\jdk-11\bin\java.exe
Delete file: C:\Users\ddr\AppData\Local\Temp\LaunchJMRI\PanelPro.exe
Remove folder: C:\Users\ddr\AppData\Local\Temp\LaunchJMRI\
Create folder: C:\Users\ddr\AppData\Local\Temp\LaunchJMRI
CopyFiles: C:\Program Files\Java\jdk-11\bin\java.exe C:\Users\ddr\AppData\Local\Temp\LaunchJMRI\InstallTest.exe
Result: 0
JExePath: C:\Users\ddr\AppData\Local\Temp\LaunchJMRI\InstallTest.exe
PhysicalMemory: 16222m
Check if more than 4GB memory
More than 4GB
InitHeap: 96m
MinMemory: 192m
MaxMemory: 4055m
Checking maximum heap size...
...finished
Checking user.home...
Reading Desktop Shell Folder registry key...
...read: C:\Users\ddr\Desktop
Checking if equal to %USERPROFILE%...
Comparing: C:\Users\ddr
to: C:\Users\ddr
user.home OK
Options:?? -noverify -Dsun.java2d.d3d=false -Djava.security.policy=security.policy -Djogamp.gluegen.UseTempJarCache=false -Djinput.plugins=net.bobis.jinput.hidraw.HidRawEnvironmentPlugin -Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel -Djava.library.path=.;lib\x64;lib -Djava.rmi.server.codebase=file:java/classes/ -Dsun.java2d.noddraw -Xms96m -Xmx4055m -Dfile.encoding=UTF-8 -Dpython.home="C:\Users\ddr\JMRI\systemfiles" -Djmri.log.path="C:\Users\ddr\JMRI\systemfiles\\"
ClassPath: .;classes;jmri.jar;lib\beansbinding-1.2.1.jar;lib\bluecove-2.1.1-SNAPSHOT.jar;lib\bluecove-bluez-2.1.1-SNAPSHOT.jar;lib\bluecove-gpl-2.1.1-SNAPSHOT.jar;lib\commons-io-2.6.jar;lib\commons-lang3-3.7.jar;lib\commons-text-1.2.jar;lib\gluegen-rt.jar;lib\hid4java-0.5.0.jar;lib\jackson-annotations-2.8.11.jar;lib\jackson-core-2.8.11.jar;lib\jackson-databind-2.8.11.jar;lib\jakarta-regexp-1.5.jar;lib\javacsv.jar;lib\javax.servlet-api-3.1.0.jar;lib\jdom-2.0.5.jar;lib\jdom.jar;lib\jetty-http-9.4.7.v20170914.jar;lib\jetty-io-9.4.7.v20170914.jar;lib\jetty-security-9.4.7.v20170914.jar;lib\jetty-server-9.4.7.v20170914.jar;lib\jetty-servlet-9.4.7.v20170914.jar;lib\jetty-util-9.4.7.v20170914.jar;lib\jhall.jar;lib\jhidrawplugin.jar;lib\jinput.jar;lib\jlfgr-1_0.jar;lib\jmdns-3.5.1.jar;lib\jna-4.4.0.jar;lib\jna-platform-4.4.0.jar;lib\joal.jar;lib\json-schema-validator-0.1.19.jar;lib\jsplitbutton-1.3.1.jar;lib\jul-to-slf4j-1.7.25.jar;lib\jython-standalone-2.7.0.jar;lib\libusb4java-1.2.0-linux-arm.jar;lib\libusb4java-1.2.0-linux-x86.jar;lib\libusb4java-1.2.0-linux-x86_64.jar;lib\libusb4java-1.2.0-osx-x86.jar;lib\libusb4java-1.2.0-osx-x86_64.jar;lib\libusb4java-1.2.0-windows-x86.jar;lib\libusb4java-1.2.0-windows-x86_64.jar;lib\log4j-1.2.17.jar;lib\mailapi.jar;lib\mqtt-client-0.4.0.jar;lib\openlcb.jar;lib\pi4j-core.jar;lib\pi4j-device.jar;lib\pi4j-gpio-extension.jar;lib\pi4j-service.jar;lib\purejavacomm-1.0.1.jar;lib\slf4j-api-1.7.25.jar;lib\slf4j-log4j12-1.7.25.jar;lib\smtp.jar;lib\usb-api-1.0.2.jar;lib\usb4java-1.2.0.jar;lib\usb4java-javax-1.2.0.jar;lib\vecmath-1.5.2.jar;lib\websocket-api-9.4.7.v20170914.jar;lib\websocket-client-9.4.7.v20170914.jar;lib\websocket-common-9.4.7.v20170914.jar;lib\websocket-server-9.4.7.v20170914.jar;lib\websocket-servlet-9.4.7.v20170914.jar;lib\xAPlib.jar;lib\xbee-java-library-1.2.1.jar;lib\xercesImpl.jar
Check for any prepended/appended classpath entries
Final ClassPath: .;classes;jmri.jar;lib\beansbinding-1.2.1.jar;lib\bluecove-2.1.1-SNAPSHOT.jar;lib\bluecove-bluez-2.1.1-SNAPSHOT.jar;lib\bluecove-gpl-2.1.1-SNAPSHOT.jar;lib\commons-io-2.6.jar;lib\commons-lang3-3.7.jar;lib\commons-text-1.2.jar;lib\gluegen-rt.jar;lib\hid4java-0.5.0.jar;lib\jackson-annotations-2.8.11.jar;lib\jackson-core-2.8.11.jar;lib\jackson-databind-2.8.11.jar;lib\jakarta-regexp-1.5.jar;lib\javacsv.jar;lib\javax.servlet-api-3.1.0.jar;lib\jdom-2.0.5.jar;lib\jdom.jar;lib\jetty-http-9.4.7.v20170914.jar;lib\jetty-io-9.4.7.v20170914.jar;lib\jetty-security-9.4.7.v20170914.jar;lib\jetty-server-9.4.7.v20170914.jar;lib\jetty-servlet-9.4.7.v20170914.jar;lib\jetty-util-9.4.7.v20170914.jar;lib\jhall.jar;lib\jhidrawplugin.jar;lib\jinput.jar;lib\jlfgr-1_0.jar;lib\jmdns-3.5.1.jar;lib\jna-4.4.0.jar;lib\jna-platform-4.4.0.jar;lib\joal.jar;lib\json-schema-validator-0.1.19.jar;lib\jsplitbutton-1.3.1.jar;lib\jul-to-slf4j-1.7.25.jar;lib\jython-standalone-2.7.0.jar;lib\libusb4java-1.2.0-linux-arm.jar;lib\libusb4java-1.2.0-linux-x86.jar;lib\libusb4java-1.2.0-linux-x86_64.jar;lib\libusb4java-1.2.0-osx-x86.jar;lib\libusb4java-1.2.0-osx-x86_64.jar;lib\libusb4java-1.2.0-windows-x86.jar;lib\libusb4java-1.2.0-windows-x86_64.jar;lib\log4j-1.2.17.jar;lib\mailapi.jar;lib\mqtt-client-0.4.0.jar;lib\openlcb.jar;lib\pi4j-core.jar;lib\pi4j-device.jar;lib\pi4j-gpio-extension.jar;lib\pi4j-service.jar;lib\purejavacomm-1.0.1.jar;lib\slf4j-api-1.7.25.jar;lib\slf4j-log4j12-1.7.25.jar;lib\smtp.jar;lib\usb-api-1.0.2.jar;lib\usb4java-1.2.0.jar;lib\usb4java-javax-1.2.0.jar;lib\vecmath-1.5.2.jar;lib\websocket-api-9.4.7.v20170914.jar;lib\websocket-client-9.4.7.v20170914.jar;lib\websocket-common-9.4.7.v20170914.jar;lib\websocket-server-9.4.7.v20170914.jar;lib\websocket-servlet-9.4.7.v20170914.jar;lib\xAPlib.jar;lib\xbee-java-library-1.2.1.jar;lib\xercesImpl.jar
MaxLen: 8192
ExeString: "C:\Users\ddr\AppData\Local\Temp\LaunchJMRI\InstallTest.exe"?? -noverify -Dsun.java2d.d3d=false -Djava.security.policy=security.policy -Djogamp.gluegen.UseTempJarCache=false -Djinput.plugins=net.bobis.jinput.hidraw.HidRawEnvironmentPlugin -Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel -Djava.library.path=.;lib\x64;lib -Djava.rmi.server.codebase=file:java/classes/ -Dsun.java2d.noddraw -Xms96m -Xmx4055m -Dfile.encoding=UTF-8 -Dpython.home="C:\Users\ddr\JMRI\systemfiles" -Djmri.log.path="C:\Users\ddr\JMRI\systemfiles\\" -Djava.class.path=".;classes;jmri.jar;lib\beansbinding-1.2.1.jar;lib\bluecove-2.1.1-SNAPSHOT.jar;lib\bluecove-bluez-2.1.1-SNAPSHOT.jar;lib\bluecove-gpl-2.1.1-SNAPSHOT.jar;lib\commons-io-2.6.jar;lib\commons-lang3-3.7.jar;lib\commons-text-1.2.jar;lib\gluegen-rt.jar;lib\hid4java-0.5.0.jar;lib\jackson-annotations-2.8.11.jar;lib\jackson-core-2.8.11.jar;lib\jackson-databind-2.8.11.jar;lib\jakarta-regexp-1.5.jar;lib\javacsv.jar;lib\javax.servlet-api-3.1.0.jar;lib\jdom-2.0.5.jar;lib\jdom.jar;lib\jetty-http-9.4.7.v20170914.jar;lib\jetty-io-9.4.7.v20170914.jar;lib\jetty-security-9.4.7.v20170914.jar;lib\jetty-server-9.4.7.v20170914.jar;lib\jetty-servlet-9.4.7.v20170914.jar;lib\jetty-util-9.4.7.v20170914.jar;lib\jhall.jar;lib\jhidrawplugin.jar;lib\jinput.jar;lib\jlfgr-1_0.jar;lib\jmdns-3.5.1.jar;lib\jna-4.4.0.jar;lib\jna-platform-4.4.0.jar;lib\joal.jar;lib\json-schema-validator-0.1.19.jar;lib\jsplitbutton-1.3.1.jar;lib\jul-to-slf4j-1.7.25.jar;lib\jython-standalone-2.7.0.jar;lib\libusb4java-1.2.0-linux-arm.jar;lib\libusb4java-1.2.0-linux-x86.jar;lib\libusb4java-1.2.0-linux-x86_64.jar;lib\libusb4java-1.2.0-osx-x86.jar;lib\libusb4java-1.2.0-osx-x86_64.jar;lib\libusb4java-1.2.0-windows-x86.jar;lib\libusb4java-1.2.0-windows-x86_64.jar;lib\log4j-1.2.17.jar;lib\mailapi.jar;lib\mqtt-client-0.4.0.jar;lib\openlcb.jar;lib\pi4j-core.jar;lib\pi4j-device.jar;lib\pi4j-gpio-extension.jar;lib\pi4j-service.jar;lib\purejavacomm-1.0.1.jar;lib\slf4j-api-1.7.25.jar;lib\slf4j-log4j12-1.7.25.jar;lib\smtp.jar;lib\usb-api-1.0.2.jar;lib\usb4java-1.2.0.jar;lib\usb4java-javax-1.2.0.jar;lib\vecmath-1.5.2.jar;lib\websocket-api-9.4.7.v20170914.jar;lib\websocket-client-9.4.7.v20170914.jar;lib\websocket-common-9.4.7.v20170914.jar;lib\websocket-server-9.4.7.v20170914.jar;lib\websocket-servlet-9.4.7.v20170914.jar;lib\xAPlib.jar;lib\xbee-java-library-1.2.1.jar;lib\xercesImpl.jar" apps.InstallTest.InstallTest
Output folder: C:\Program Files (x86)\JMRI
Launching JMRI
Execute: "C:\Users\ddr\AppData\Local\Temp\LaunchJMRI\InstallTest.exe"?? -noverify -Dsun.java2d.d3d=false -Djava.security.policy=security.policy -Djogamp.gluegen.UseTempJarCache=false -Djinput.plugins=net.bobis.jinput.hidraw.HidRawEnvironmentPlugin -Dswing.defaultlaf=com.sun.java.swing.plaf.windows.WindowsLookAndFeel -Djava.library.path=.;lib\x64;lib -Djava.rmi.server.codebase=file:java/classes/ -Dsun.java2d.noddraw -Xms96m -Xmx4055m -Dfile.encoding=UTF-8 -Dpython.home="C:\Users\ddr\JMRI\systemfiles" -Djmri.log.path="C:\Users\ddr\JMRI\systemfiles\\" -Djava.class.path=".;classes;jmri.jar;lib\beansbinding-1.2.1.jar;lib\bluecove-2.1.1-SNAPSHOT.jar;lib\bluecove-bluez-2.1.1-SNAPSHOT.jar;lib\bluecove-gpl-2.1.1-SNAPSHOT.jar;lib\commons-io-2.6.jar;lib\commons-lang3-3.7.jar;lib\commons-text-1.2.jar;lib\gluegen-rt.jar;lib\hid4java-0.5.0.jar;lib\jackson-annotations-2.8.11.jar;lib\jackson-core-2.8.11.jar;lib\jackson-databind-2.8.11.jar;lib\jakarta-regexp-1.5.jar;lib\javacsv.jar;lib\javax.servlet-api-3.1.0.jar;lib\jdom-2.0.5.jar;lib\jdom.jar;lib\jetty-http-9.4.7.v20170914.jar;lib\jetty-io-9.4.7.v20170914.jar;lib\jetty-security-9.4.7.v20170914.jar;lib\jetty-server-9.4.7.v20170914.jar;lib\jetty-servlet-9.4.7.v20170914.jar;lib\jetty-util-9.4.7.v20170914.jar;lib\jhall.jar;lib\jhidrawplugin.jar;lib\jinput.jar;lib\jlfgr-1_0.jar;lib\jmdns-3.5.1.jar;lib\jna-4.4.0.jar;lib\jna-platform-4.4.0.jar;lib\joal.jar;lib\json-schema-validator-0.1.19.jar;lib\jsplitbutton-1.3.1.jar;lib\jul-to-slf4j-1.7.25.jar;lib\jython-standalone-2.7.0.jar;lib\libusb4java-1.2.0-linux-arm.jar;lib\libusb4java-1.2.0-linux-x86.jar;lib\libusb4java-1.2.0-linux-x86_64.jar;lib\libusb4java-1.2.0-osx-x86.jar;lib\libusb4java-1.2.0-osx-x86_64.jar;lib\libusb4java-1.2.0-windows-x86.jar;lib\libusb4java-1.2.0-windows-x86_64.jar;lib\log4j-1.2.17.jar;lib\mailapi.jar;lib\mqtt-client-0.4.0.jar;lib\openlcb.jar;lib\pi4j-core.jar;lib\pi4j-device.jar;lib\pi4j-gpio-extension.jar;lib\pi4j-service.jar;lib\purejavacomm-1.0.1.jar;lib\slf4j-api-1.7.25.jar;lib\slf4j-log4j12-1.7.25.jar;lib\smtp.jar;lib\usb-api-1.0.2.jar;lib\usb4java-1.2.0.jar;lib\usb4java-javax-1.2.0.jar;lib\vecmath-1.5.2.jar;lib\websocket-api-9.4.7.v20170914.jar;lib\websocket-client-9.4.7.v20170914.jar;lib\websocket-common-9.4.7.v20170914.jar;lib\websocket-server-9.4.7.v20170914.jar;lib\websocket-servlet-9.4.7.v20170914.jar;lib\xAPlib.jar;lib\xbee-java-library-1.2.1.jar;lib\xercesImpl.jar" apps.InstallTest.InstallTest
Return code from process: 2
To copy this text to the clipboard, right click then choose
? 'Copy Details To Clipboard'
Completed


Locked Re: Dispatcher - SML - auto-allocation problem

 

Hi Steve,

Results!!

I took your advice and separated all 5 points and the crossover into seperate blocks and each its own section. The crossover is now a level crossing as well.
ive also added a few extra smaller sections around the layout, and now using Safe Sections. This seems to be working now.

I auto-generated my SML and then manually built my sections.

Because I don¡¯t have any more detection circuits, I¡¯ve done some logixs that trigger based on one sensor and the state of the turnouts, which triggers internal sensors that the blocks are assigned to. A seperate conditional for every possible train movement exists, as well as an ¡°off¡± conditional.

The crossover is on an auto-reverser on one detection section, and the outer rails of it are on another detection section. I have made a Logix for this that if either of them are triggered it triggers the internal sensor for both blocks of the crossover.

I thought about adding extra virtual signals, however if I added any between real signals it might detract from the realism of a yellow before a red on the real signals.
signals 1 through to 24 are real signals, all others are virtual due to not being visable.

Ive only tested this virtually, and I will report back tonight on the results of trains runnning. In theory I end up with 4 trains running around each other!

--
Thanks
Mitch