¿ªÔÆÌåÓý

Date

Locked Re: BD20 block detection

 

Don't let it get you down, you are making progress, it's always a learning process. I too have been overwhelmed. I took a six year hiatus due to 'health' reasons, and have found that 'Raspberry Pi and Arduino" is just a big mystery to me. Bought an arduino kit and now understand that you can make just about anything. It would help if users said 'my arduino crossing gates", but I can't even consider this part of the hobby at this time.. Take small steps, walk away for a while, have a beverage or three and try again slowly in the morning. We have all been where you are now, keep your chin up and your mouth closed in case there are birds.


Locked Re: BD20 block detection

 

See below:
On 7 Nov 2018, at 9:16 PM, Richard_vanRaay via Groups.Io <richard_vanraay@...> wrote:

Wouter gave me a great link Tina photo of the USB interface but for the life of me I can't find the Jumpers on it! He gave a link to Tony's Trains.
When I study mine under a magnifying glass I am still unable to see anything that looks like it can be switched.
There are little black boxes with numbers like 271.
Is it the 8 pins that stick up that I believe I took a plastic case off when I bought it? It says SETUP right next to it. It is next to the LED near the curly cord.
Yes, it is the 8 pins in two rows between SETUP and 1 2 3 4. But don't worry. Simply leave them all bare.

Then JMRI preferences are:
-- System manufacturer: NCE
-- System connection: NCE USB
-- Serial port: COM4
-- USB version: V7.x.x
-- System: PowerCab
-- Additional Connection Settings checkbox ON
--- Baud rate: 9600.

Save and quit JMRI.
Turn off and restart Power Cab
Start JMRI.

The JMRI console log should then report V7.3.0.

I AIU,have theset the AIU's to 8 and 9
Good
WiThrottle is working.
Good

NCE show cabs keeps coming up error.
Don't know why. It works for me with JMRI V4.13.4 and the settings above.

All preference Defaults are NCE
Check them again after making changes.

Tell us if any LEDs are stuck ON on the NCE USB. They should not.

Post a Console Log and Ken can look over it while I try to get some sleep...

Dave


Locked Injecting a delay between turnout operations

 

NCE PowerCab with USB, JMRI 4.12, Java 1.8.1, UK equipment mixed Cobalt and Guagemaster Turnout motors, Train Tech signals,

I have a Layout Panel which does what is expected "on the screen" and the correct NCE commands are sent out (i.e. the turnouts and signals change state on the screen and the JMRI NCE Command Monitor reflects the commands I would expect to appear.? However it all happens in a rush.? At times turnout operations get missed out ON THE LAYOUT - i.e the commands are there but somehow they overrun each other or "get lost" in the traffic (I think power draw on the accessory bus is also a factor). Also signals change before turnouts have completed their movements (a no-no in 12" to the foot terms). I had a similar experience when I automated my system using NCE Mini-panels.? In that case (despite arguments from many that it should not be necessary) I programmed delays into the panel logic to ensure time between key changes, and that all turnouts could complete before the command to change a signal was issued.

I have searched JMRI documentation and this forum and can find nothing to help me - probably because I don't know how to put the question to the search engines.

Can anybody help please?

Iain,
Newcastle upon Tyne, UK


Locked Re: BD20 block detection

 

Wouter gave me a great link Tina photo of the USB interface but for the life of me I can't find the Jumpers on it! He gave a link to Tony's Trains.
When I study mine under a magnifying glass I am still unable to see anything that looks like it can be switched.
There are little black boxes with numbers like 271.?
Is it the 8 pins that stick up that I believe I took a plastic case off when I bought it? It says SETUP right next to it. It is next to the LED near the curly cord.
I? AIU,have theset the AIU's to 8 and 9
WiThrottle is working.
NCE show cabs keeps coming up error.
Baud rate is 9600
All preference Defaults are NCE


Locked Re: BD20 block detection

 

The COM port isn't bad according to the log you posted. You are just missing those jumpers.

I suggest you forget about changing the address of the NCE USB. Take all jumpers off, change baud rate back to 9600 and it should all start working again, WiThrottle, Show Cabs, etc.

If not, check Preferences->Defaults and make sure everything is set to NCE and nothing to Internal.

Then please try changing the AIUs to 8 and 9 using the DIP switches:
- AIU 8 is Switch 4 Off, all others On.
- AIU 9 is Switches 1 and 4 Off, all others On.

Check for changes in Show Cabs.
--
Dave in Australia

On 7 Nov 2018, at 7:52 PM, Richard_vanRaay via Groups.Io <richard_vanraay@...> wrote:

Now the WiThrottle is working but back to a bad com port on the laptop. All firewalls are off. I need the laptop now only to send information to this group .
I will reconnect to the Raspberry Pi after I send the lates console report.


Locked Re: BD20 block detection

 

The * in V7.3.* is the jumpers. You have to put jumpers 2,3,4 onto the pin pairs of the NCE USB.

See my earlier setup instructions.
--
Dave in Australia

On 7 Nov 2018, at 6:22 PM, Richard_vanRaay via Groups.Io <richard_vanraay@...> wrote:

I don't know where to find the connection preference to change it to 7.3.* I assume it must be on the very first Edit/Preferences page.


Locked Re: BD20 block detection

 

Now the WiThrottle is working but back to a bad com port on the laptop. All firewalls are off. I need the laptop now only to send information to this group .
I will reconnect to the Raspberry Pi after I send the lates console report.

2018-11-07 19:48:35,846 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main]
2018-11-07 19:48:35,861 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: C:\Users\Toshiba laptop\JMRI\log\messages.log [main]
2018-11-07 19:48:35,863 util.Log4JUtil??????????????????????? INFO? - This log is stored in file: C:\Users\Toshiba laptop\JMRI\log\session.log [main]
2018-11-07 19:48:35,878 apps.Apps???????????????????????????? INFO? - PanelPro version 4.12+Rb6a9bb1 starts under Java 1.8.0_151 on Windows Vista x86 v6.0 at Wed Nov 07 19:48:35 AEDT 2018 [main]
2018-11-07 19:48:37,004 apps.Apps???????????????????????????? INFO? - Starting with profile My_JMRI_Railroad.3f558d63 [main]
2018-11-07 19:48:37,584 node.NodeIdentity???????????????????? INFO? - Using jmri-dNQe-cAGbhNiaaacjEYECc-3f558d63 as the JMRI Node identity [AWT-EventQueue-0]
2018-11-07 19:48:38,323 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "NCE" [main]
2018-11-07 19:48:39,240 usbdriver.UsbDriverAdapter??????????? INFO? - NCE USB COM4 port opened at 19200 baud [main]
2018-11-07 19:48:41,366 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files\JMRI\ [main]
2018-11-07 19:48:41,367 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Users\Toshiba laptop\JMRI\My_JMRI_Railroad\ [main]
2018-11-07 19:48:41,371 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Users\Toshiba laptop\JMRI\My_JMRI_Railroad\ [main]
2018-11-07 19:48:41,377 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Users\Toshiba laptop\JMRI\ [main]
2018-11-07 19:48:41,384 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Users\Toshiba laptop\ [main]
2018-11-07 19:48:41,386 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Users\Toshiba laptop\JMRI\My_JMRI_Railroad\ [main]
2018-11-07 19:48:41,778 server.WebServer????????????????????? INFO? - Starting Web Server on port 12080 [WebServer]
2018-11-07 19:48:43,401 PanelPro.PanelPro???????????????????? INFO? - Main initialization done [main]
2018-11-07 19:48:43,486 server.WebServer????????????????????? INFO? - Starting ZeroConfService _http._tcp.local for Web Server with properties {path=/, json=4.1} [WebServer]
2018-11-07 19:48:48,846 withrottle.FacelessServer???????????? INFO? - Published ZeroConf service for 'richard's railroad._withrottle._tcp.local.' on 192.168.1.15:12090 [WiThrottleServer]
2018-11-07 19:48:48,848 withrottle.FacelessServer???????????? INFO? - Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer]
2018-11-07 19:48:49,364 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 0 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2018-11-07 19:48:49,464 nce.NceConnectionStatus?????????????? WARN? - Incorrect or no response from NCE command station [nce.NceTrafficController Transmit thread]
2018-11-07 19:48:49,469 jmrix.AbstractMRTrafficController???? WARN? - timeout flushes receive buffer: 00 F8 [nce.NceTrafficController Receive thread]
2018-11-07 19:48:59,465 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 1 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2018-11-07 19:48:59,568 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2018-11-07 19:48:59,572 jmrix.AbstractMRTrafficController???? WARN? - timeout flushes receive buffer: 00 F8 [nce.NceTrafficController Receive thread]


Locked Re: BD20 block detection

 

Hi everyone, I am sorry to trouble you all again but I am really down. No idea what I am doing and seriously regretting going down this path of DCC controlling Ppoints and installing blocks but all the money is invested and it is slowly progressing. I am trying to follow all of your advice and I seriously appreciate how much time you are putting in to helping out a silly bugger you don't even know.

The upgade chip is installed and I changed the baud rate to 19200. Powercab control is working but no WiThrottle.
I see 7.3.0 in the console log.
I don't know where to find the connection preference to change it to 7.3.*?? I assume it must be on the very first Edit/Preferences page.

NCE? information shows the new AIU I connected in series last night and gave the address of 5 to. I understand these addresses should be changed , but first I want to get the wiThrottle working again.

CAB 3 Usb interface
Cab 4? AIU
Cab 5 AIU



-----------------------------------------

2018-11-07 18:03:15,156 util.Log4JUtil??????????????????????? INFO? - * JMRI log ** [main]
2018-11-07 18:03:15,299 util.Log4JUtil??????????????????????? INFO? - This log is appended to file: C:\Users\Toshiba laptop\JMRI\log\messages.log [main]
2018-11-07 18:03:15,300 util.Log4JUtil??????????????????????? INFO? - This log is stored in file: C:\Users\Toshiba laptop\JMRI\log\session.log [main]
2018-11-07 18:03:15,311 apps.Apps???????????????????????????? INFO? - PanelPro version 4.12+Rb6a9bb1 starts under Java 1.8.0_151 on Windows Vista x86 v6.0 at Wed Nov 07 18:03:15 AEDT 2018 [main]
2018-11-07 18:03:16,239 apps.Apps???????????????????????????? INFO? - Starting with profile My_JMRI_Railroad.3f558d63 [main]
2018-11-07 18:03:16,700 node.NodeIdentity???????????????????? INFO? - Using jmri-dNQe-cAGbhNiaaacjEYECc-3f558d63 as the JMRI Node identity [AWT-EventQueue-0]
2018-11-07 18:03:17,233 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "NCE" [main]
2018-11-07 18:03:19,807 usbdriver.UsbDriverAdapter??????????? INFO? - NCE USB COM4 port opened at 9600 baud [main]
2018-11-07 18:03:30,102 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 0 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2018-11-07 18:03:30,205 nce.NceConnectionStatus?????????????? WARN? - Incorrect or no response from NCE command station [nce.NceTrafficController Transmit thread]
2018-11-07 18:03:32,588 apps.PerformFileModel???????????????? INFO? - Loading file C:\Users\Toshiba laptop\Desktop\Panel25Oct.xml [main]
2018-11-07 18:03:34,516 configurexml.ErrorHandler???????????? ERROR - File not found while opening file /C:/Users/Toshiba%20laptop/Desktop/Panel25Oct.xml Exception: java.io.FileNotFoundException: C:\Users\Toshiba laptop\Desktop\Panel25Oct.xml (The system cannot find the file specified)
See http://jmri.org/help/en/package/jmri/configurexml/ErrorHandler.shtml for possibly more information. [AWT-EventQueue-0]
java.io.FileNotFoundException: C:\Users\Toshiba laptop\Desktop\Panel25Oct.xml (The system cannot find the file specified)
??? at java.io.FileInputStream.open0(Native Method)
??? at java.io.FileInputStream.open(Unknown Source)
??? at java.io.FileInputStream.<init>(Unknown Source)
??? at java.io.FileInputStream.<init>(Unknown Source)
??? at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
??? at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
??? at jmri.jmrit.XmlFile.rootFromURL(XmlFile.java:182)
??? at jmri.configurexml.ConfigXmlManager.loadOnSwingThread(ConfigXmlManager.java:646)
??? at jmri.configurexml.ConfigXmlManager.lambda$1(ConfigXmlManager.java:604)
??? at jmri.util.ThreadingUtil.lambda$0(ThreadingUtil.java:159)
??? at java.awt.event.InvocationEvent.dispatch(Unknown Source)
??? at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
??? at java.awt.EventQueue.access$500(Unknown Source)
??? at java.awt.EventQueue$3.run(Unknown Source)
??? at java.awt.EventQueue$3.run(Unknown Source)
??? at java.security.AccessController.doPrivileged(Native Method)
??? at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
??? at java.awt.EventQueue.dispatchEvent(Unknown Source)
??? at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
??? at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
??? at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
??? at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
??? at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
??? at java.awt.EventDispatchThread.run(Unknown Source)
2018-11-07 18:03:37,393 server.WebServer????????????????????? INFO? - Starting Web Server on port 12080 [WebServer]
2018-11-07 18:03:38,645 util.FileUtilSupport????????????????? INFO? - File path program: is C:\Program Files\JMRI\ [main]
2018-11-07 18:03:38,647 util.FileUtilSupport????????????????? INFO? - File path preference: is C:\Users\Toshiba laptop\JMRI\My_JMRI_Railroad\ [main]
2018-11-07 18:03:38,647 util.FileUtilSupport????????????????? INFO? - File path profile: is C:\Users\Toshiba laptop\JMRI\My_JMRI_Railroad\ [main]
2018-11-07 18:03:38,648 util.FileUtilSupport????????????????? INFO? - File path settings: is C:\Users\Toshiba laptop\JMRI\ [main]
2018-11-07 18:03:38,656 util.FileUtilSupport????????????????? INFO? - File path home: is C:\Users\Toshiba laptop\ [main]
2018-11-07 18:03:38,656 util.FileUtilSupport????????????????? INFO? - File path scripts: is C:\Users\Toshiba laptop\JMRI\My_JMRI_Railroad\ [main]
2018-11-07 18:03:40,208 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 1 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2018-11-07 18:03:40,308 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2018-11-07 18:03:41,311 withrottle.FacelessServer???????????? INFO? - Published ZeroConf service for 'richard's railroad._withrottle._tcp.local.' on 192.168.1.15:12090 [WiThrottleServer]
2018-11-07 18:03:41,312 withrottle.FacelessServer???????????? INFO? - Creating new WiThrottle DeviceServer(socket) on port 12090, waiting for incoming connection... [WiThrottleServer]
2018-11-07 18:03:43,314 PanelPro.PanelPro???????????????????? INFO? - Main initialization done [main]
2018-11-07 18:03:50,309 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 2 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2018-11-07 18:03:50,410 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2018-11-07 18:04:00,412 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 3 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2018-11-07 18:04:00,512 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2018-11-07 18:04:10,513 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 4 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2018-11-07 18:04:10,613 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2018-11-07 18:04:20,614 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 5 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2018-11-07 18:04:20,714 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2018-11-07 18:04:30,715 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 6 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2018-11-07 18:04:30,815 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2018-11-07 18:04:31,880 server.WebServer????????????????????? INFO? - Starting ZeroConfService _http._tcp.local for Web Server with properties {path=/, json=4.1} [WebServer]
2018-11-07 18:04:40,816 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 7 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2018-11-07 18:04:40,918 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2018-11-07 18:04:50,920 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 8 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2018-11-07 18:04:51,020 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2018-11-07 18:05:01,021 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 9 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2018-11-07 18:05:01,122 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2018-11-07 18:05:11,123 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 10 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2018-11-07 18:05:11,224 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2018-11-07 18:05:21,225 jmrix.AbstractMRTrafficController???? WARN? - Timeout on reply to message: AA consecutive timeouts = 11 in nce.NceTrafficController [nce.NceTrafficController Transmit thread]
2018-11-07 18:05:21,325 nce.NceConnectionStatus?????????????? WARN? - No response from NCE command station [nce.NceTrafficController Transmit thread]
2018-11-07 18:05:21,332 jmrix.AbstractMRTrafficController???? WARN? - timeout flushes receive buffer:? [nce.NceTrafficController Receive thread]
2018-11-07 18:05:21,336 nce.NceConnectionStatus?????????????? INFO? - NCE EPROM revision = 7.3.0 [AWT-EventQueue-0]
2018-11-07 18:09:03,634 jmrix.AbstractMonPane???????????????? WARN? - File selection dialog box did not provide a path to the specified file.? Log will be saved to C:\Users\Toshiba laptop\JMRI\My_JMRI_Railroad\monitorLog.txt [AWT-EventQueue-0]
2018-11-07 18:09:05,435 jmrix.AbstractMonPane???????????????? WARN? - startLogButtonActionPerformed: getSelectedFile() returns monitorLog.txt monitorLog.txt [AWT-EventQueue-0]
2018-11-07 18:09:05,436 jmrix.AbstractMonPane???????????????? WARN? - startLogButtonActionPerformed: is attempting to use returned file path and file name C:\Users\Toshiba laptop\JMRI\My_JMRI_Railroad\monitorLog.txt [AWT-EventQueue-0]

---------------------------------------------------------


Locked Re: JMRI starter tutorial

 

Am 06.11.2018 um 22:03 schrieb tnmkumar_us:
Also, I understand that SoundPro can be used to play sounds even if the locomotive does not support sound.
Is it possible to test this also in offline mode?
Yes, it is.

See for details.

Here are two short video examples playing sounds in simulator mode:




Klaus


Locked Re: JMRI starter tutorial

 

Thanks Paul. That is very useful.


Locked Re: Still Trying to write a script using Digitrax Sensors and NCE lights its

 

It looks like you¡¯ve confused two different structures. The AbstractAutomaton class (see the ¡°class¡± line below) uses methods called ¡°init¡± and ¡°handle¡±. The Siglet class uses the methods called defineIO and setOutput. So try changing the class line to

class Three_aspect(jmri.jmrit.automat.Siglet) :

For more:





Bob


On Nov 6, 2018, at 2:58 PM, Paul V via Groups.Io <vap2663@...> wrote:

I got the NCE lightits to work by addressing them 1 thru 3 and setting them up in the signalhead table and testing them on the table. I then use the script:

signals.getSignalHead("LH$1").setAppearance(RED) #red

Changing the color and it worked.

I then ran the code in the below and it does not work I am looking for suggestion as to what I am doing wrong. I am wondering if I would be better off defining the turnouts in the turnout table like I did for the signalheads.

If so I just need to monitor the sensors and need to command to do it. Any help is appreciated.
Thanks Paul

#Three_aspect Program to control a 3 aspect cascading signal system
#The idea is that if a train in a given block the block that it is in is
#green the one behind it is red, the next back is yellow, and the next back is dark.
#
# > > > >
# ls20 ls1 ls2 lsx
# >Train>
# ___________ ___________ ____________ ___________
# Green Red Yellow dark
#
#

import jarray
import jmri
import java

class Three_aspect(jmri.jmrit.automat.AbstractAutomaton) :

def defineIO(self):
#list of sensors
self.ds01 = sensors.provideSensor("1")
self.ds02 = sensors.provideSensor("2")
self.ds03 = sensors.provideSensor("3")
self.ds04 = sensors.provideSensor("4")
self.ds20 = sensors.provideSensor("20")
self.to01 = turnouts.provideTurnout("1")
self.to99 = turnouts.provideTurnout("99")

self.setInputs(jarray.array([self.ds01,self.ds02,self.ds03,self.ds04,self.ds20,self.to01,self.to99],jmri.NamedBean))

return

def setOutput(self):
#block 1
if self.ds01.knownState == ACTIVE :
signals.getSignalHead("LH$1").setAppearance(RED) #red
elif self.ds02.knownState == ACTIVE :
signals.getSignalHead("LH$1").setAppearance(YELLOW) #yellow
elif self.ds20.knownState == ACTIVE :
signals.getSignalHead("LH$1").setAppearance(GREEN) #green
else:
signals.getSignalHead("LH$1").setAppearance(DARK) #dark

#block 2
if selfto07.knownState == THROWN :
signals.getSignalHead("LH$2").setAppearance(RED) #if turnout 7 is thrown then red light else normal operation
elif self.ds02.knownState == ACTIVE :
signals.getSignalHead("LH$2").setAppearance(RED) #red
elif self.ds03.knownState == ACTIVE :
signals.getSignalHead("LH$2").setAppearance(YELLOW) #yellow
elif self.ds01.knownState == ACTIVE :
signals.getSignalHead("LH$2").setAppearance(GREEN) #green
else:
signals.getSignalHead("LH$2").setAppearance(DARK) #dark

#block 3
if self.to99.knownState == THROWN :
signals.getSignalHead("LH$3").setAppearance(RED) #hold point 1 If thrown Red light must get switchlist from dispatcher Else normal operation
elif self.to01.knownState == THROWN :
signals.getSignalHead("LH$3").setAppearance(RED) #If turnout 1 thrown then red light Else normal operation
elif self.ds03.knownState == ACTIVE :
signals.getSignalHead("LH$3").setAppearance(RED) #red
elif self.ds04.knownState == ACTIVE :
signals.getSignalHead("LH$3").setAppearance(YELLOW) #yellow
elif self.ds02knownState == ACTIVE :
signals.getSignalHead("LH$3").setAppearance(GREEN) #green
else:
signals.getSignalHead("LH$3").setAppearance(DARK) #dark

return
Three_aspect().start()




--
Bob Jacobsen
rgj1927@...


Locked Re: JMRI starter tutorial

 

Try this link. It is a power point presentation on using OperationsPro
www.bhamrails.info/Model_Railroading/New Layout/Operations/JMRI Ops.
Paul D


Locked Re: JMRI starter tutorial

 

Thanks Gerald. I browsed through this and seems something I can learn from.
Are you aware of something similar for Operations?


Locked Re: JMRI starter tutorial

 

¿ªÔÆÌåÓý

Paul

Two months ago a? gave a clinic on Decoder Pro. This was a "Hands On" Clinic where those attending were in "paired" with a friend for the clinic. The clinic took 4 hours - 2 in the morning then a break for 1 hour for refreshments then another 2 hours. Each pair had a system set up on the table so they could try things out as the clinic progressed.

For this clinic I put together some notes - with plenty of explanations. Those who attend (20 of them) had either a Sprog or an NCE system, with a laptop - all Windows. As I knew everyone in the clinic, their layouts, and roughly the skills the notes were 'tailored' to suit.

I have put the notes (20 pages) on the web for anyone to download and read. The notes were written in Australian but should translate easy enough to American or English.

May or may not be of help.

Gerry

On 7/11/2018 1:45 pm, Paul Davidson wrote:
I cannot answer all your questions but I was in same boat when I started learning JMRI earlier this year with no one locally to help me. I could read the guide but it left me with a million questions. I eventually found numerous tutorials on line that provided "how to" example. That got me over the hump in my learning curve. Do a google search for JMRI tutorials and several will show up. My biggest problem with almost all I found was that they were built using older versions of JMRI thus the screens did not match very well with the latest versions. However, they still were very valuable.
I have a Digitrax layout thus I use Loconet. When not connected to my layout, I use the "Loconet Simulator" to play with my JMRI files.
Paul D
-- 
Gerry Hopkins MMR #177 FNMRA
Great Northern Downunder




NMRA Australasian Region
Contest & AP Chairman
Web Administrator




Virus-free.


Locked Re: JMRI starter tutorial

 

Is there a way to attach a screenshot to a post?
I was trying to build a train and it gave this error "Train requires 1 locos, could not pick up at departure(Cassette) or set out at (Cassette)


Locked Re: Copy panel

 

Thanks for that. Looks like our webmaster removed the page completely since registrations closed last week, but didn't provide an explanatory page or redirect.

He may have told members at club meeting yesterday but I was in hospital undergoing surgery.

I'll remove the link from my signature and chew his ear...

I don't think I'd downloaded the Program either... But I'll be there answering questions all weekend.
--
Dave in Australia

On 7 Nov 2018, at 1:47 PM, Paul Davidson <pdavidson@...> wrote:

Dave,
The New England Convention 2018 link does not work.


Locked Re: JMRI starter tutorial

 

Thanks Paul.
I searched and came across this tutorial that I am going through.


I currently see this error that I am trying to figure out.



Locked Re: Copy panel

 

Dave,
The New England Convention 2018 link does not work.
Paul D


Locked Re: JMRI starter tutorial

 

I cannot answer all your questions but I was in same boat when I started learning JMRI earlier this year with no one locally to help me. I could read the guide but it left me with a million questions. I eventually found numerous tutorials on line that provided "how to" example. That got me over the hump in my learning curve. Do a google search for JMRI tutorials and several will show up. My biggest problem with almost all I found was that they were built using older versions of JMRI thus the screens did not match very well with the latest versions. However, they still were very valuable.
I have a Digitrax layout thus I use Loconet. When not connected to my layout, I use the "Loconet Simulator" to play with my JMRI files.
Paul D


Locked Re: BD20 block detection

 

¿ªÔÆÌåÓý

Make sure you don't have your Tables set to load at Startup, nor Show Cabs when changing the NCE USB's cab address.
Either of these loading at startup will prevent you using the Configure USB command before the NCE USB locks up.

--?
Dave in Australia

The New England Convention 2018

On 7 Nov 2018, at 1:19 AM, Dave Heap <dgheap@...> wrote:

On 7 Nov 2018, at 12:35 AM, Ken Cameron <kcameron@...> wrote:

1. Install the new chip. Confirm things still work ok. You should see the
7.3.0 in the console log. Keep JMRI running.
2. Change the connection preference to say you have the 7.3.* and the baud
rate change for 19,200. Save and exit JMRI.
3. Install the jumpers (all) on the USB. Cycle power.
4. Confirm this is now working. Should id as 7.3.7, and no AA command
timeouts.


You may get other command timeouts (and a stuck Cab Bus LED). if the address already stored in the NCE USB Cab ID Is invalid.

If so, unplug/replug the Cab Bus cable and give the command below before the LED gets stuck on again.

(Both the AA Return Version and B1 Set Cab ID commands are processed in the USB and not sent to the command station.)

5. Use the USB Cab Id command to set it to 10. This gets it out of the range
useable for throttles.
6. Restart JMRI, confirm still working, Show Cabs should work and show USB
as 10.


Dave