Keyboard Shortcuts
Likes
- Jmriusers
- Messages
Search
Locked
Re: Control number of lines going to printer per page-OPERATIONS
Frank in Houston
Hello Jan and all who have been helping me. ?I called the APPLE tech service and they provided an option to download which was found to be missing (somehow). ?ALL IS WORKING FINE NOW. ?THANK YOU FOR ALL YOUR HELP
|
Locked
Re: Jython Script Contribution - YAAT enhancement
#automation
#yaat
#scripting
Bill,
toggle quoted message
Show quoted text
As it turns out, my old style is no longer relevant. I have replaced the run/skip style with a program address style. ?The actionTokens list is now treated as a computer program with control actions modifying the current address index. ?This simplified the implementation of nested IF and GOSUB logic. Thank you for the push to make this change. ?It was time to re-think how it runs and therefore this will be version 2.0. Before releasing this on the world, I would appreciate if you could verify with your setup that I did not miss something important. Dave Sand On Sep 19, 2019, at 7:39 AM, bill fitch <bill.fitch14@...> wrote: |
Locked
Re: Layout editor - connecting slips to turnouts
#layouteditor
Hi Dave. Good evening and thanks for your reply.
Fraser has also replied regarding my Servo Driver (CANMIO - SVO). It would seem that there is a known failure area regarding feedback with the released kits. This was a new design and I am looking at a specific post in the MERG Forum which mentions this but I need to go through the full thread (22 Pages of entries!) to fathom out what my response should be. I do have the original version on my layout and could substitute this on my test bed. I am out all day tomorrow but shall look at this on Wednesday if nothing else comes up. I had toggle switches mounted on my Servo Mounts to tell me when the end of travel occurred but discontinued this due to reliability problems (the switches occasionally moved on the mount over time). Solving the problem above will provide? a robust way of signalling? to JMRI of the turnout state. I have also removed the need to set P1a turnout to also move P1b turnout in JMRI. This is already done in the MERG system and therefore is unnecessary. ?I have enough hardware on the test bed to avoid using Simulation Mode. Best wishes Peter |
Locked
Re: Layout editor - connecting slips to turnouts
#layouteditor
Peter,
toggle quoted message
Show quoted text
Now you are getting into the hardware specific actions. My experience is with RR-CirKits TowerMan boards. These are configured so that when the circuit is closed (connected to ground), a sensor active is sent to JMRI. We have the Tortoise switch machines wired with both internal switches connected to the TowerMan. When the turnout starts moving, both inputs are held high which show as Inactive. When this occurs, JMRI sets the turnout state to Inconsistent. When the turnout finishes moving, the appropriate switch is closed and sends an Active. Now JMRI knows the actual state. Note: There is an issue with running in simulation mode. The P1a turnout has P1b as a supporting turnout. This causes a Java stack overflow and JMRI hangs. The requires killing JMRI from the operating system. Dave Sand On Sep 23, 2019, at 3:53 AM, peter.s.drury via Groups.Io <peter.s.drury@...> wrote: |
Locked
Re: layout editor continuing route signal help needed
Robin,
toggle quoted message
Show quoted text
The only thing you should have to do is set Continuing Route to Thrown. When set to Thrown, Layout Editor reverses the closure segments when drawing the turnout. I have uploaded a very simple demo panel xml file: /g/jmriusers/files/ProblemsBeingWorkedOn/dsand/Continuing%20Demo.xml Dave Sand On Sep 23, 2019, at 2:02 PM, Robin Becker <rbgroups@...> wrote: |
Locked
Re: Control number of lines going to printer per page-OPERATIONS
Frank in Houston
OK....This is what I Find....(after starting Compute)r. ?At the BOTTOM of the window I do the following: A)...I click on System preferences.....B)...then click on Printers and Scanner.....C)...then click on on Printer....brings up my EPSON WF-3720...(no little boxes can be found). What step by step routine do you use?.... THANK YOU. ?Frank in Houston |
Locked
Re: layout editor continuing route signal help needed
Dave,
toggle quoted message
Show quoted text
Appreciate the response. I can certainly flip the driven turnout position on the layout and flip the feedback. Not sure how to fix the Turnout Table though. To simplify my remaining question, I used Loconet Sim and just assigned a DIRECT Feedback loconet turnout to the panel. When I set the Continuing Route Turnout State to THROWN in Layout Editor, the Turnout Table shows THROWN when the layout editor panel shows CLOSED. Checking "Inverted" in the Turnout Table does not resolve this. What do I need to do so that the Layout Editor Panel and the Turnout Table agree? Robin -----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Dave Sand Sent: Monday, September 23, 2019 10:35 AM To: [email protected] Subject: Re: [jmriusers] layout editor continuing route signal help needed Robin, The secret is to treat turnout closed/thrown as closed/thrown everywhere except in the continuing route setting and the wiring at the switch machine. If feedback is enabled it needs to wired accordingly. This works perfectly with Tortoise style machines and two sensor feedback. If the machine moves the wrong way, flip wires 1 and 8. If the feedback is wrong, reverse the feedback wires OR reverse the feedback sensors in the turnout table entry. The feedback process might be different for EXACT. Dave Sand On Sep 23, 2019, at 10:59 AM, Robin Becker <rbgroups@...> wrote: |
Locked
Re: Layout editor - connecting slips to turnouts
#layouteditor
Update
Photo uploaded into folder MERG - JMRI Test? |
Locked
Re: Layout editor - connecting slips to turnouts
#layouteditor
Hello Fraser, thanks for your reply.
My bench test setup I have a rather long break from this exercise in combining MERG with JMRI. I decided right from the start NOT to attempt to? incorporate JMRI on the layout proper until I understood what I am doing. I have extended my asic Bench Test facilty of CANGIZMO, CANPAN and Activity Monitor to include new build CANUSB4 and CANCMD.with a piece of Test Track for Programming and test running. These items can be seen on the small board at the top of the photo. I realised that individual modules might create quirks when interfacing with JMRI so I have built and installed the following modules on the larger board in the foreground. 2 * CANACE8C (for the toggle switches), 2 * CANACC8 (for 6 home made test signals) 1 * CANMIO-SVO (for 8 * servos representing turnouts on the main layout) and a CANDISP (for use for mixed Common Cathode signals). Getting back to the issue at hand I can confirm that the CANMIO is fitted with a resnet and not the ULN 2803. I was not aware of the option to fit the ULN 2803 and shall check if this is an easy remedy. I do no longer install microswitches on the servo mounts, although some there are some on my test servos. I have gone for the servo crossing switch module as a more reliable interface than the microswitches. The photo will be uploaded to the JMRI photo folder as soon as I can. Best wishes Peter |
Locked
Re: layout editor continuing route signal help needed
Robin,
toggle quoted message
Show quoted text
The secret is to treat turnout closed/thrown as closed/thrown everywhere except in the continuing route setting and the wiring at the switch machine. If feedback is enabled it needs to wired accordingly. This works perfectly with Tortoise style machines and two sensor feedback. If the machine moves the wrong way, flip wires 1 and 8. If the feedback is wrong, reverse the feedback wires OR reverse the feedback sensors in the turnout table entry. The feedback process might be different for EXACT. Dave Sand On Sep 23, 2019, at 10:59 AM, Robin Becker <rbgroups@...> wrote: |
Locked
Re: Unsupported decoder: Uhlenbrock 74120
Hi Charles,
On the Uhlenbrock website, it says:?The 74120 Decoder replaces the existing Decoder 76425 with NEM 652 plug. That one happens to be in JMRI, and IntelliDrive2 I added for other models last Spring. If you can send me the CV tables for this decoder (by Private message, use the button below on the groups.io web interface), I will check if I can work something out for you next month. Egbert |
Locked
layout editor continuing route signal help needed
¿ªÔÆÌåÓýHi.? I have a panel with signals set up in Layout Editor and generally everything works fine.? The only issue so far is with 2 turnouts where the main line takes the diverging (THROWN) route.??? On the main approaching each turnout is a double head searchlight signal mast.? In order to get the top head on the mast to represent the main (diverging) route, I have set ¡°Continuing Route Turnout State¡± to THROWN.? That works as desired on the panel diagram ¨C when the turnout is shown on the panel as aligned for the diverging route, the signal shows Green over Red (for example), and when the turnout on the panel is shown aligned for the normal route the signal shows Red over Green (for example). ? The problem is with the relationship of the state of the turnout on the panel with the physical turnout state on the layout and as shown in the Turnout Table.? It appears that setting ¡°Continuing Route Turnout State¡± to THROWN causes the displayed turnout state on the panel (and the turnout state used for calculating the signal aspects) to be _opposite_ the state of the physical turnout.? So now when the turnout on the layout is set to CLOSED, the turnout on the panel is shown as THROWN and signals are set as if the turnout is THROWN. ? If I now check the ¡°Inverted¡± checkbox for the turnout in the Turnout Table then the turnout state on the panel matches the turnout state on the layout.? The Turnout Table now shows the opposite state from the physical turnout however.? This means that anyone using the Turnout page in Engine Driver sees the wrong state.? This is very confusing but perhaps could be managed.? ? ? There is a second reason I¡¯d like to avoid inverting the turnout if at all possible.? These physical turnouts have EXACT feedback.? When the turnout is actuated, the feedback state in JMRI changes to INCONSISTENT while the turnout is in motion.? This INCONSISTENT feedback state is useful since it causes all signals around that turnout to go to RED until the turnout reaches its final position.? Unfortunately the INCONSISTENT state disappears when the Invert option is selected: turnouts with Invert checked only show CLOSED and THROWN. ? Am I missing something in setting up Layout Editor for this condition?? Would appreciate guidance if you are familiar with this case.? Thanks. ? (FYI I was running 4.16 but updated to the latest test build and see no change in this behavior.) ? Robin ? Robin Becker San Diego, CA ? ? |
Locked
Re: Layout editor - connecting slips to turnouts
#layouteditor
Peter
Does your MIO have a ULN2803 chip beside the servo connections or an 8-way resnet? If it's a resnet then that probably explains your output reversal. I believe the default is the ULN2803 and that reverses the PIC output to operate correctly with active to reverse the switch (point blades) and inactive to return the switch to the normal position. The resnet does not do that inversion so active is normal and inactive is reverse. By far and away the best way to sort these things out is to create a small demo board with just a few bits of track and a point or two and get all the switching, block detection, tie bar position detection, servo orientation etc all working before attempting to start on the layout proper. All the bits will be transferrable to the final layout once confidence in the interaction between CBUS and JMRI is gained. It sounds like wasted work but I can assure you it's exactly the opposite. Changes to things are MUCH, MUCH easier done on the demo rather than the final layout. Another question, do you actually have two sensors or micro switches to monitor the tie bar position of all your switches? Fraser |
Locked
Re: Operations - Question from a beginner
#operationspro
Paul,
I have been following this thread and one possible solution might be to set the train build mode to "aggressive mode".? This allows the software to take two (or more) looks at the siding.? It might help your situation. Dave... |
Locked
Re: Control number of lines going to printer per page-OPERATIONS
It is there on my Macs.?Yes, that's my experience too. The mac print dialog has a "simple" box which can be "expanded" by clicking a little arrow. The expanded dialog has several scaling options including "fit to sheet". Note that the dialog allows you to set the startup printing setup including an option to "use last settings" which is handy when you do find the combination of settings which does what you want. Jan |
Locked
Re: Control number of lines going to printer per page-OPERATIONS
¿ªÔÆÌåÓýIt is there on my Macs.?Click on print and it a box that shows the printer comes up that does not have the scale box on it then click on the show details box.? It is not part of the printer drive software , it is in the apple driver software.? I have also had very bad luck with Epson printers over the years on any computer and finally swore off of them.? HP work flawlessly for me.? I can alwasy get my Macs to print like I want. I have 2 Windows boxes that will not print corectly to anything no matter what I do.? Jim
|
Locked
Re: Control number of lines going to printer per page-OPERATIONS
Frank in Houston
NEW INFORMATION...(First, THANKS to ALL who tried to help)
I borrowed a friends Apple computer and installed my JMRI files thinking a totally fresh start might help....same result... when I tried to print my manifests on his Apple I got the same problem as I have on mine. ?That is, every page of my manifest was about two lines too long and does not get printed. ?I could not find an OPTION called something like "Size to fit" or "Scale to fit" on either Apple computer. ? So I installed the latest release 4-17-4 on a Windows 7 machine and used it to print my manifest and ALL WORKED JUST FINE. ? I looked at the "OPTIONS" on the Windows 7 machine and found an option titled "FIT TO SIZE". ?(This kind of option is what I need on the Apple computer). ?I went to the EPSON Workforce WF3720 Website and Downloaded the very latest updates and drivers for the APPLE computer to my APPLE computer. ?However that still did not fix the problem. ?My page by page manifest is still about two lines too long for the APPLE computer to print everything. ?The print is beautiful but not complete. Since the OPTION "FIT TO SIZE" is not provided by the printer software, Is there a built in feature in the Windows 7 print routine that proves the ?"FIT TO SIZE" Option? ?AND IF SO, how can I get this OPTION (or something similar) installed in my APPLE Computer? ? THANK YOU AGAIN...Frank in Houston |
Locked
Re: Layout editor - connecting slips to turnouts
#layouteditor
Dave
Thanks for your feedback. I fully agree with you that I should ensure the conditions are correctly set up in MERG and to avoid using JMRI to inverting anything. Spent some time last night checking through my application and found that I need to get further information on the MERG sensor inputs to jmri. I found that the P1a sensors conflicted when trying to set the turnout to the OFFl (closed) position. This was due to the MERG CANMIO SVO output events simultaneously providing a high to both Events 1 & 2 resulting in both being active at the same time in the sensor table. Not surprisingly, The Turnout on the panel showed the correct movement and then reverted back to the ON (thrown) position. Both Sensors at this time were 'Active'. More work to do in MERG to resolve this before applying the other sensors inputs from the turnouts. In the mean-time. Can you please remind me of how I was able to set the sensors to provide feedback for the other turnouts? I have a still have a bit more time to continue with this before other things get in the way. I am determined to try to ensure I can do this in a concentrated way and avoid the long delays between sessions. One other thing, I have left the default ' No Pull Ups/Down' in the JMRI sensor settings. Best wishes Peter? |
Bob
toggle quoted message
Show quoted text
Yes you are right - 3F . Gerry On 23/09/2019 5:15 pm, Bob Jacobsen wrote:
The problem is that decoder doesn¡¯t do 128 speed steps, so it doesn¡¯t respond when it receives them. --
Gerry Hopkins MMR #177 FNMRA Great Northern Downunder NMRA Australasian Region Contest & AP Chairman Web Administrator |
The problem is that decoder doesn¡¯t do 128 speed steps, so it doesn¡¯t respond when it receives them.
As to the comparison: Watching the command monitor wind up the speed on screen throttleLet me organize these a bit differently to make the comparison easier: screen ? cmd - Q C7 DO 3F 85 ADThe Q C7 D0 means ¡°send a command to loco 2000¡±. Then they differ: 3F is a 128 step command to set the speed; the 85 is forward in the 5th step 76 is a 14/28 speed step command in forward. If it¡¯s 14 step, the headlight is on. ? speed to "0" - Q C7 DO 37 80 A8They differ in the command 37 is a 128 step command to step 0 in forward (I would have expected 3F for that, though; could you confirm 3F?) 60 is a 14/28 step command to stop. If it¡¯s 14 step, it¡¯s headlight off. So the reason the screen and phone are behaving differently is that the screen thinks it¡¯s supposed to be sending in 128 step mode, and the phone in 14/28. Bob -- Bob Jacobsen rgj1927@... |