¿ªÔÆÌåÓý

Date

Locked Re: Operations -passenger trains #operationspro

 

Tony,

You can restrict a train to only use cars and engines with a certain road name.



You can control the order passenger cars are blocked.? You can control which cars are pulled or swapped out of the train at any station along the train's route.

Dan


Locked Re: L/E and custom loads #operationspro

 

Mike,

Thanks for the suggestion. I was hoping to not do so as my goal is to use the web access and try to set it up to appear like the NP paperwork.?

Sam


Locked Operations -passenger trains #operationspro

 

is there a way to get the switchlist to create a passenger train in a yard and get all the passenger cars that make up the train other than putting them all in a block.
but if put in block is there a way to now arrive at a terminal with a yard and have a few cars removed such as baggage, mail, food and rest of train continue on and have a switch list that does that. ?Can you force a switch list to only take a single road name engine and cars? ?I assume its so simple you would just do it on your own but just wondering if the program can do it.
tony


Locked Re: Block and Memory Variables Values show TagID not User Name on Web Server in v4.17.5

 

Thanks for that Steve (Young) - I can now recreate the problem using CAN simulation.

I've updated the links I provided before with a new panel, id tags file and pdf.

Method to recreate is as follows:

  • Open panel using CAN Simulation
  • Ensure Web Server started
  • Open web browser and show panel (http://localhost:12080/panel/Layout/Block%20on%20Web%20Problem )
  • Open Merg->Merg Send CAN Frame dialog
  • Complete the Frame Packets 1 ,2 and 3 with:
    • X FA 000B 0470949A74
    • X FA 000B 0000000002
    • X FA 000B 0000000003
    • Tick the checkboxes next to frames
    • Un-tick the "Send as outgoing CanMessage
    • Tick the "Send as incoming CanReply
  • Click 'Start'
  • Note how 'native' panel shows the User Names set up in id Tags table
  • Note how browser panel shows the System Names without translation
Hopefully that all makes sense.

Andy


Locked Re: L/E and custom loads #operationspro

 

It¡¯s not a separate field but could you use parentheses with the Load: L (Lumber) ??
--
Mike Heintzman
Modeling the P&PU since 1953


Locked Re: JMRI and CATS #cats

 

Rodney,? Thanks for the expanded answers.? I run BDL168s for detection.? OpSwitches 37 and 38 control the detection off delay timing - that helps to eliminate the bounce effect.? I guess I'm going to have to decide whether I want to eliminate detection on rolling stock or add detection to every car.? I have a spool of something like 10,000 10Kohm resistors so I could go either way.

I may not find a lot of use for the TrainStat program as none of my operators is interested in a computer desk job.? I am a great fan of Operations Pro but I don't run it in the Real Time mode for the same reason - no one wants to sit at a desk.? We don't use seniority for anything and we don't really care who is running a train and as long as they are qualified so we don't keep track of who does what.? The Trainmaster position on the C.R.A.P. is a roving helper.? If operations are going well, the TM may get assigned a train or may relieve an operator that needs a nature break.

Just one more quick question:? Can occupancy be "forced on undetected track" via a logix statement?? If so, it seems that it might be possible to automate the termination into undetected track by setting sufficient "if" parameters in a logix statement followed by the forcing action.? This is how I solved the same issue in RR&CO.

Thanks for the detailed answers and suggestions.
Dave...


Locked Re: WiThrottleLite - train stops when application looses focus. #rpi #withrottle

 

I believe if you go into PREFERENCES, WiThrottle? and set the Estop to 0 you will resolve this.

Default is 10 seconds without a packet from the mobile device, train goes IDLE. This is what the HELP explains.

Marc


Locked Re: SPCoast LocoShield, Arduino, LocoLinx - enough for JMRI?

 

It should as that was the intention. But why go to the hassle if a PR4 is the ultimate goal ?? . Why a PR4 ?

All you need is a Locobuffer-USB to interface your computer and the? DCS100.? Unless you are really into the DIY stuff which I have nothing against.

The PR4 is only required if you plan on delving into Digitrax Sound projects and Digitrax sound decoders..

Marc


Locked WiThrottleLite - train stops when application looses focus. #rpi #withrottle

 

Greetings,
New to H.O., DCC and JMRI.
Using Steve Todd¡¯s image I have JMRI working on a Pi3 with NCE Powercab and NCE USB adapter, I am using both Engine Driver and WiThrottleLite, I disabled the estop option so the train would continue to run once the Android phone locks, however on my iPad the throttle moves to idle once the home button is pressed or if the iPad is locked.
I see no settings to change this behavior, is this normal?

thanks in advance,
Gary


Locked DecoderPro: Tams interface connection support broken #tams

 

Hello JMRI group,

I have following problem:
Starting point is a working JMRI 4.10 installation. Everything is fine there, no problems.

Now I tried to update to a newer version of JMRI (4.16, 4.17) and found out that the Tams interface connection is (at least partly) broken in DecoderPro.
The connection is partly working in terms of that it is possible to switch Power on and off via Power button in DecoderPro.
That shows me that the physical connection is basically up and running.

When I now try to readout CVs, the system console shows immediately? "INFO? - programmer already in use".

I don?t know exactly from which JMRI version on the connection was broken, but I tried several of them and the 4.10 is the last one working for me.
In best case I just did some stupid things wrong and it?s very easy for you pointing me to my mistake.

Thanks for your support in advance!

Regards Martin

System console output:
2019-11-10 10:28:49,165 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - * JMRI log ** [main]
2019-11-10 10:28:49,175 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is appended to file: C:\Users\User\JMRI\log\messages.log [main]
2019-11-10 10:28:49,176 util.Log4JUtil? ? ? ? ? ? ? ? ? ? ? ? INFO? - This log is stored in file: C:\Users\User\JMRI\log\session.log [main]
2019-11-10 10:28:49,181 apps.AppsBase? ? ? ? ? ? ? ? ? ? ? ? ?INFO? - DecoderPro version 4.17.5+Rdf73700 starts under Java 1.8.0_231 on Windows 10 x86 v10.0 at Sun Nov 10 10:28:49 CET 2019 [main]
2019-11-10 10:28:49,365 gui3.Apps3? ? ? ? ? ? ? ? ? ? ? ? ? ? INFO? - Starting with profile Test.3ddf8366 [main]
2019-11-10 10:28:49,533 node.NodeIdentity? ? ? ? ? ? ? ? ? ? ?INFO? - Using d1c1b099-9a07-4ffe-b2aa-89d0649c2f8e as the JMRI storage identity for profile id 3ddf8366 [AWT-EventQueue-0]
2019-11-10 10:28:49,625 xml.AbstractSerialConnectionConfigXml INFO? - Starting to connect for "Tams" [main]
2019-11-10 10:28:49,809 serialdriver.SerialDriverAdapter? ? ? INFO? - COM5 port opened at 57600 baud, sees? DTR: true RTS: true DSR: false CTS: true? CD: false [main]
2019-11-10 10:28:49,809 serialdriver.SerialDriverAdapter? ? ? INFO? - TAMS COM5 port opened at 57600 baud [main]
2019-11-10 10:28:50,009 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path program: is C:\Program Files (x86)\JMRI_test\ [main]
2019-11-10 10:28:50,010 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path preference: is C:\Users\User\JMRI\Test.jmri\ [main]
2019-11-10 10:28:50,010 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path profile: is C:\Users\User\JMRI\Test.jmri\ [main]
2019-11-10 10:28:50,011 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path settings: is C:\Users\User\JMRI\ [main]
2019-11-10 10:28:50,011 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path home: is C:\Users\User\ [main]
2019-11-10 10:28:50,012 util.FileUtilSupport? ? ? ? ? ? ? ? ? INFO? - File path scripts: is C:\Program Files (x86)\JMRI_test\jython\ [main]
2019-11-10 10:29:26,001 symbolicprog.CvValue? ? ? ? ? ? ? ? ? WARN? - Exception during CV read: java.lang.NullPointerException [AWT-EventQueue-0]
2019-11-10 10:29:26,002 tams.TamsProgrammer? ? ? ? ? ? ? ? ? ?INFO? - programmer already in use by CvValue _num=29 _cvName= [AWT-EventQueue-0]
2019-11-10 10:29:26,002 symbolicprog.CvValue? ? ? ? ? ? ? ? ? WARN? - Exception during CV read: jmri.ProgrammerException: programmer in use [AWT-EventQueue-0]
2019-11-10 10:29:26,002 tams.TamsProgrammer? ? ? ? ? ? ? ? ? ?INFO? - programmer already in use by CvValue _num=29 _cvName= [AWT-EventQueue-0]
2019-11-10 10:29:26,003 symbolicprog.CvValue? ? ? ? ? ? ? ? ? WARN? - Exception during CV read: jmri.ProgrammerException: programmer in use [AWT-EventQueue-0]
?


Locked Re: Block and Memory Variables Values show TagID not User Name on Web Server in v4.17.5

 

Hi Andy,

See this post on the MERG forum, CBUS reporters only respond to INCOMING CAN Frames.


This was to facilitate the development of sending data from JMRI to a writeable RFiD tag,
as the same OPC was used, updating Reporters when the outgoing message was heard was prematurely updating the location.

In July the development module code was tweaked to use new OPC DDWS for writing so I'll be updating CBUS reporters to both incoming / outgoing,
in theory that'll be one less gotcha for people!

In meantime to simulate this, in the JMRI Send CAN / event frame tool.
Enter the frame and select to send as incoming CanReply

eg. incoming Reporter 4 with IDTag 2 the body of the Can Frame would be sent like

X FA 0004 0000000002
X - Send Hex CAN Frame
FA -?Device data event (short mode) (DDES)
0004 - Hex Reporter number
0000000002 - Hex ID Tag number

With Send CAN Frame you can keep the spaces ( they'll be trimmed ) for increased readability.

See screenshot :?
/g/jmriusers/album?id=174929

Remember though,
Incoming CanReply MUST be checked at present for reporters to respond!

Steve.


Locked Re: BD20 crossing signals

 

Richard,

Since JMRI has all the sensors, and can perform fancy logic as needed, use
it. Your task is picking what sort of output to trigger the lights/sounds.
Light-It can be configured in different ways. I would likely set it as a
signal head or accessory decoder. Granted this means it works via the track
outputs, so the commands have to go to the command station, so they get
relayed to the track bus for the device. But you could have it be the
cross-buck lamps directly. Then another Light-It output to an opto to
trigger the sound.

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


Locked Re: BD20 crossing signals

 

Thanks Dave, I have a Light-It decoder on hand and the thought did cross my mind that it could be tied in with JMRI to operate the Arduino, 5 volt relay, or 12 volt crossing signals.?

I don't comprehend a lot of your post. It is above my level of experience. I appreciate you trying to assist but think it might be best to just go with the IR sensors and the Arduino. I am comfortable there and that will still be a challenge coding/sketching. It is not ideal though. I really wanted to utilise the BD20s.

Thanks again
Richard


Locked Re: JMRI and CATS #cats

 

¿ªÔÆÌåÓý

In Free-mo we use standalone signaling system called MSS for modular Signaling System.?

It uses normal detection in blocks but also has optical sensors at block ends. ?If an engine leaves block b going to block c and caboose is still in block a the optical sensors hold occupancy until the whole train clears the block. ?

You can read more about it online. ?

Kurt


On Nov 9, 2019, at 8:01 PM, rodneyblack2000 via Groups.Io <rodneyblack2000@...> wrote:

Dave,

I understand that the main source of shorts is crew inattention.? There isn't too much that you can do about that (new crew?).? However, if you are using BDL168s as your detection hardware, then it might be possible to sacrifice the 16th detector per board as a "short indication" (see OpSw 10).? Thus, an occupancy/unoccupancy report could be conditional on the value of detector 16.

You will have detection issues if you detect only the locomotives and caboose.? That could confuse train tracking because it could look to CATS like the train is reversing direction.? Furthermore, as in the example of a train spanning a turnout, the dispatcher will be able to throw the turnout under the middle of a train if the turnout is not reporting detected.? The undetected report removes CATS internal Detection Locking on the turnout.? This is a trade off - cost of detecting cars versus the dispatcher frustration of things not working as expected.? I have thought about how to "connect the dots" (assume that all blocks between the locomotive and caboose are also detecting), but have not discovered a good solution.? There are just too many use cases where it fails (e.g. reversing direction or a second train following too closely) and may fail badly.? Something else to consider about relying only on a caboose for end of train detection is that cabooses tend to be light and bounce.? Every bounce makes and breaks contact with the rails (particularly over frogs), so the detection bounces.? Without some kind of "electronic latch" or detection monitor, the occupy-unoccupy reports could be faster than the eye can discern them.? That is why it is common for model railroads to detect two axles (trucks) in every car.? N scale is worse than HO which is worse than S and so on.

I wasn't happy with my last description of what happens to train tracking between detected and undetected territory, as in entering and exiting a yard.? When going from detected to undetected, the train label will stop moving on the detected track, so the dispatcher will have to take action - terminate the train in train management, move the train label, force occupancy on the undetected track, etc.? For undetected to detected movement, the dispatcher can drop a train label on the undetected track.? Since CATS knows that it doesn't have a detector, CATS will force the track to be occupied.? When the exiting train trips the detector on the detected track, CATS will discover the train label on the undetected track and advance it.

The only field that is mandatory in train management is the train symbol, which can be whatever you want to use (as long as it is alphanumeric).? That would be what appears on the screen.? Everything else (except for the data received from Operations) is entered manually including the lead engine number, so is optional.? What some of the more advanced layouts do is create a Train Master role.? The job of the Train Master is to do things like crew assignment, print paperwork (e.g. run Operations), put together and break down trains in staging, etc.? Basically, the job is to off load administrative chores from the dispatcher .? One of the job's tools is a computer running the TrainStat application networked to CATS.? With TrainStat, the Train Master can follow where each train is, add crew, add the lead engine number, etc.? The train management is updated in CATS, so the dispatcher can see who the crew is, what the lead locomotive is, the dynamic length, etc.

Rodney


Locked Re: BD20 crossing signals

 

Richard,

On 10 Nov 2019, at 6:39 PM, Richard_vanRaay via Groups.Io <richard_vanraay@...> wrote:

Track detection in sensors on JMRI is working on my panel. Would it be possible to use this to send a signal to a dcc decoder or a relay or an Arduino?
Now you're thinking on a better track. (This topic started on the NCE DCC list.)

I'm sure it's not difficult to make JMRI send accessory decoder commands to turn on when any track is occupied and turn off when all are unoccupied. I'll leave that explanation to the PanelPro experts.

For hardware, I suggest a cheap NCE Light-It decoder. Configure it as a DCC Accessory decoder and it activates three LED outputs when ON. Instead of a normal LED, connect the internal LED of a cheap optocoupler chip and connect the optocoupler output to pull down an Arduino pin.

Better still, use a dual optocoupler chip, one coupler connected to the Y output and the Arduino, the other to the R output and your MP3 player. Leave the onboard White LED connected as a visual indicator.

Cheap and easy, but it looks like the minimum quantity for a Light-It is a 3 pack for ~$24. Even with that quantity and the optocouplers you'll have change out of $30 and you can find another use for the two spare Light-Its.

Dave in Australia


Locked RE?: Re: [jmriusers] Black and forth running

 

¿ªÔÆÌåÓý

Hi,

?

Will have a test as soon as possible, i¡¯m at a show right now

?

Regards

?

j-f

?

?

De?: Steve_G
Envoy¨¦ le?:dimanche 10 novembre 2019 01:35
??: [email protected]
Objet?:Re: [jmriusers] Black and forth running

?

Hi Jean
The restart delay applies at both ends.
Steve G.

?


Locked Re: Block and Memory Variables Values show TagID not User Name on Web Server in v4.17.5

 

Hi Steve
I've so far failed to recreate the scenario with a simulated connection; I'm not sure how to simulate a new report! I've tried typing into the Report column of the Reporters table, but that doesn't seem to do the same as having a real (MERG) reporter connected and reading a tag.

When a real tag is read, the Report column in the Reporters table shows the ID Tag User Name, and the Value column in the Block and Memory Variables tables shows the ID Tag System Name. When displayed on the 'native' panel, this is converted back to show the (friendly) User Name. However, on the web display of the same panel it shows as the (unfriendly) System Name (i.e. the tag ID with no conversion to User Name).

I've uploaded a panel that demonstrates the problem - but only with a MERG reporter connected! (see /g/jmriusers/files/ProblemsBeingWorkedOn/Andy%20Brown%20-%20161045/Block%20and%20Memory%20Variables%20Values%20show%20TagID/BlockOnWebProblem01.xml ). Included in the folder is also the ID tags xml which goes in the idtags sub folder.

I have also created a document with a couple of screen shots that 'show' the problem (/g/jmriusers/files/ProblemsBeingWorkedOn/Andy%20Brown%20-%20161045/Block%20and%20Memory%20Variables%20Values%20show%20TagID/BlockOnWebProblem.pdf ) .

I know it's not exactly what you asked for, but it's the nearest I've been able to create at the moment.

Thanks
Andy


Locked BD20 crossing signals

 

I am, as usual, seriously confusing myself. ?
I have double tracks and want to put on a crossing signal and mp3 player.
There are about 6 BD20s fitted on this section. They go to an AIU and then JMRI My Layout.
I have been trying to figure out how to connect a 5 volt relay to the BD20s. I am about to give up and just use ir sensors to operate an Arduino. This will work and I know I have the ability/skills to do it, but it is not ideal. I want the lights flashing no matter the speed of the locomotives but always when the track is occupied.
I thought a relay to the BD would work, sounds good, but I have just really confused myself. How do I send Logic to the AIU and the relay at the same time? How do I ground them, power them urgh.
Track detection in sensors on JMRI is working on my panel. Would it be possible to use this to send a signal to a dcc decoder or a relay or an Arduino?
Thanks
Richard, Tasmania


Locked SPCoast LocoShield, Arduino, LocoLinx - enough for JMRI?

 

I'm in the early stages of constructing a layout and have always intended to use JMRI as a part of it.? I initially was going to use DCC++ for a command station but also wanted to use Loconet for a number of things.? I recently got a good deal on a Digitrax DCS100 and throttle so plans are shifting.? My question is: if I have one of the SPCoast (John Plocher) LocoShields mounted on an Arduino Uno running LocoLinx.ino and have it connected to my device running JMRI (hopefully a Raspberry Pi4, but if not, a Win10 machine), would that be an adequate interface for JMRI to Loconet?? I don't see it on the supported hardware list and my attempts to search the messages here for locoshield or locolinx came up empty.? Ultimately I will likely get a Digitrax PR4, but wondering if - for now - this would work to get me started?? (I already have the LocoShield boards because I wanted a few for other projects.)

Thanks,
Mike


Locked Re: Turnouts, crossovers in CATS #cats

 

¿ªÔÆÌåÓý

Tom,

You may be able to form some sort of trap or stick circuit like the prototype does through complex track sections. That would create a 'virtual' occupancy to keep CATS happy.

Dick :)

On 11/9/2019 10:07 PM, Tom Cain wrote:

I am currently using a Layout Editor Panel to manage my layout to managing the track turnouts, occupancy, and signaling. ?It is all working very well but I would like to move up to some of the features of CATS.

As a starting point. ?My single crossovers are isolated at the middle of the crossover and then to either side of that point of isolation. ?The main issue though is there is no specific occupancy for the crossover by itself. ?When trains go through the crossover, the crossover remains black with no indication of occupancy but shows up again beyond the crossover. ?Will I need to isolate the crossovers and provide them with occupancy? ?My double crossovers are basic single crossovers facing each other and will they need 2 or 3 areas of isolation and occupancy?

Thanks and advance for your assistance.

Thomas Cain
Indianapolis, IN
Modeling the Eastern Illinois Santa Fe from the Prototype
See my?NEW?website and layout at: ?