Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
- Jmriusers
- Messages
Search
Locked
Re: Problem with class RocoZ21CommandStation
Bob,
I have a single connection. The default settings were all Z21 LocoNet. I have changed them to just Z21, the results are the same except that the numbers after @ in the only print are different. The command station can also be configured to send emulated LocoNet feed-backs. I guess this is irrelevant here, nevertheless I have set this option with the same outcome. I seems that I have tried all the possibilities. Gabor |
Locked
Re: Problem with class RocoZ21CommandStation
I don¡¯t know much about the Z21. Do you have a separate LocoNet connection configured? Or is that part of talking to the Z21?
If you have more than one connection, please make sure that preferences -> defaults are set properly. It looks like the default command station is a LocoNet one, not a Z21. Bob On Jun 14, 2019, at 7:12 AM, halasz <halasz.gabor@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Re: Problem with class RocoZ21CommandStation
Bob,
Thank you for the suggestions. The first does not print anything. The complaint seems to be that a required non null default for jmri.jmrix.roco.z21.RocoZ21CommandStation does not exist. The first print in the second version is 'jmri.jmrix.loconet.SlotManager@650lbf'. The serial number is not printed for jmri.jmrix.SlotManager has no attribute getSerialNumber. I may send full log files if necessary. Please, let me also know which modules to import. (To be on the safe side I have imported everything I could think of: jmri, jmri.jmrix, java, java.beans.) Gabor |
Locked
Re: New 4.15.7 and CMRI
This is definitely a bug. Haven¡¯t found the cause yet, but I can recreate it.
I _think_ that as a workaround you can: *) Open the preferences *) select your C/MRI connection *) Check the advanced preferences box *) Look at the speed, which will probably come up at 9,600. Set it to 19,200, then back to 9,600 (yes, that shouldn¡¯t be needed; that¡¯s apparently the bug) *) Click save, then restart. Check the console to see if the line about serialdriver.SerialDriverAdapter says that come 6 was ¡°opened at 9600 baud¡± (good) or ¡°opened at 19200 baud¡± (bad) Sorry for the trouble. Fix on the way. Bob -- Bob Jacobsen rgj1927@... |
Locked
Re: PanelPro 4.15 Dispatcher and Auto Train Running
Hi Steve,
Steve wrote I am starting to go thru this. The first thing I notice is that you have blocks that occur in more than one section. This happens when Sections are auto generated from signal masts. But dispatcher uses sections, and it asks is a section already allocated or not. Unfortunately in the case of the sections going thru block "Madden Ave" this could result in 9 trains being schedule thru it at once. For anything other than very simple uni directional running the auto-sections dont work well, you need to manually build one section per block (_not_ one for each directions) and then build the transits. As well as causing trains to move before everything is set up it can effect the "Actions", like horn, bell to be incorrectly fired. A lot of your problems stem from this.I have uploaded a "fixed" panel file to the file section. ?I have deleted all the sections and manually created new sections. ?All sections now only contain one block and blocks only appear once in the section table. ?Section directions are correct and transits build ok with for/rev appearing correct. I also have replaced the long virtual blocks in the station yard with the east and west physical blocks and recreated the SML. ?This should fix the WARN messages. 2019-06-10 14:39:04,035 jmri.Block WARN - count of 2 ACTIVE neightbors with proper direction can't be handled for block Mil #3 long but maybe it can be determined when another block becomes free [AWT-EventQueue-0]2019-06-10 14:39:17,695 jmri.Block INFO - Block Mil #3 long gets LATE new value from Mil o/s up, direction= West [AWT-EventQueue-0]I just now need to put my layout back together again to test it out. Many thanks for your help and advice. Don |
Locked
Re: Windows 10 / NCE help needed
Dave H,
In Win10 Device Manager hidden devices show with the COM# showing. So it is representing #4 in your list. Simply loading a driver, but it never seeing the hardware, doesn't seem to change the list. Knowing what hardware could be connected without additional drivers being added to the system is not something easy to tell. -Ken Cameron, Member JMRI Dev Team www.jmri.org www.fingerlakeslivesteamers.org www.cnymod.com www.syracusemodelrr.org |
Locked
Re: JMRI,NCE,MERG, Raspberry Pi 3, Engine Driver.
Ray,
On 13 Jun 2019, at 11:59 PM, Ray via Groups.Io <raynorwood@...> wrote:That's because nothing is selected. See below. I did click on the copy to clipboard but unable to find the clipboard.Once you have done a "Copy to Clipboard" (equivalent to a "Select All" followed by "Copy") you should be able to do a "Paste" into any writable text window (email, text file...). Dave in Australia |
Locked
Re: Windows 10 / NCE help needed
Marc,
On 14 Jun 2019, at 5:32 AM, forfoum@... wrote:In UNIX/macOS land we basically talk about: 1) Installed device drivers; the driver software extension is installed on the computer HD in the correct location. 2) Loadable device drivers; the driver software is compatible with the computer operating system's requirements and hence can be loaded when the matching device is plugged in. It may or may not have ever been loaded. 3) Loaded device drivers; the device has been plugged in, causing the driver software to be loaded into computer RAM and (in the case of a Virtual Com Port driver) a named port to be created in /dev directory. 4) Unloaded device drivers; the device has been unplugged, causing the com port to disappear from /dev and the driver software to be removed from computer RAM. As I don't have Windows 10 and hence can't check I'm not sure which categories "hidden devices" covers: - Maybe you (or someone) could enlighten me? - Do "hidden devices" show a last-known COM port number? Dave in Australia |
Locked
Re: Problem with class RocoZ21CommandStation
Objects exist in JMRI already to talk to the layout. You can¡¯t just create them, you have to find the ones that are already there.
Once you have JMRI talking to your command station successfully, try something like this (I haven¡¯t tested this!) z21 = jmri.InstanceManager.getDefault(jmri.jmrix.roco.z21.RocoZ21CommandStation) print z21 print z21.getSerialNumber() or z21 = jmri.InstanceManager.getDefault(jmri.CommandStation) print z21 print z21.getSerialNumber() One or the other of those should work. If not, come back with what that four print statements said, and I¡¯ll try to figure out that next thing to try. Bob On Jun 13, 2019, at 10:30 PM, halasz <halasz.gabor@...> wrote:-- Bob Jacobsen rgj1927@... |
Locked
Problem with class RocoZ21CommandStation
I want to use the class of the title with my Roco Z21 Command Station connected to JMRI by WiFi. I have tested it with the program below that is supposed to get the serial number of the station. It invariably prints 0. Using PanelPro >Z21 > Z21 Configuration Tool shows the right serial number.
class Z21(jmri.jmrix.roco.z21.RocoZ21CommandStation): ??? def start(self): ??????? SN = self.getSerialNumber() ??????? print SN ??? return Z21().start() What is wrong? More precisely, I need the functions getCanDetertorFlag() and setCanDetectorFlag() of the class. I have to use CAN and LocoNet reporters alternately for neither can do all I need. As the two types do not work simultaneously, Paul (Bender) told me to switch CAN Detector Message Flag on and off. Again, it works fine with PanelPro > Z21 > Z21 Configuration Tool graphically but I have to do it in a script. Any suggestion is welcome. Gabor |
Locked
Re: PanelPro 4.15 Dispatcher and Auto Train Running
Hi Don
toggle quoted message
Show quoted text
I would make each block a section, but it's a guideline not a rule. You don't have to have a signal on every block or section boundry, you need them at the end of any block where you stop (eg buffer stop, junction) or the entry to any block where you change speed. The speed is set from signal mast to signal mast. I often combine the throat of a point to it's adjoining block. I always make slip, diamond, a single section. The Forward and Reverse in the section definition. Best to be consistent. Pick a direction, say clockwise is fwd for a round and round, or moving left to right is fwd for a back and forth, and then stick with it. Then when you do transits it will be all fwd or all reverse except where you go through a reversing loop. It makes checking easier and writing logix with the fwd reverse sensors a lot easier, and you need those sensors for firing sensors in the correct order in dummy blocks. If you have 3 sections A B C. Section A has B entering Rev. Then B has A entering Fwd. Etc The transit ABC will have all fwd and Transit CBA will have all reverse. Note the entry exit directions aren't tied to the transit order, it's a disconnect. And then the actual fwd/rev for loco is another disconnect. And yes the terms fwd / rev are confusing, but Cardinal points don't work any better, neither does up and down, I'm happy to say it wasn't my monkeys that did this.......If it was I would have used X and Y and Z. Reversing loops should have two sections in the loop...A B C A not A B A. Steve G. On June 13, 2019 10:10:32 PM EDT, Don <donmcgil@...> wrote: Thanks Steve --
Sent from my Android device with K-9 Mail. Please excuse my brevity. |
Locked
Re: JMRI-SWITCH LISTS PRINT OUT Question
Hi Frank,
The program calculates the maximum number of characters for each of the car attributes, type, number, color, etc.? You can see their length when creating a new manifest, and then checking the system console for messages that state the longest name for each attribute and the number of characters.? Afterwards you can try to reduce the length of your longest attributes, and that will decrease the width of the column for that attribute. See the section "Message Format". Dan |
Locked
Re: PanelPro 4.15 Dispatcher and Auto Train Running
Thanks Steve
The first thing I notice is that you have blocks that occur in more than one section. This happens when Sections are auto generated from signal masts. But dispatcher uses sections, and it asks is a section already allocated or not. Unfortunately in the case of the sections going thru block "Madden Ave" this could result in 9 trains being schedule thru it at once. For anything other than very simple uni directional running the auto-sections dont work well, you need to manually build one section per block (_not_ one for each directions) and then build the transits. As well as causing trains to move before everything is set up it can effect the "Actions", like horn, bell to be incorrectly fired. A lot of your problems stem from this.That is probably the key to multiple trains being scheduled simultaneously. ?I initially created my sections manually, but while creating transits there were sections where the next section did not show up in the drop down list. ?Using Auto generated Signal Mast Logic (SML) (albeit still requiring some tweaking) and auto generated sections from signal masts appeared to solve this problem but did create some interesting sections! ?I take it you are suggesting that it is best to have each section having its own unique block or is it OK to have multiple blocks in one section? ?Do you need a Signal mast for the exit from each section? ?If each section just consists of one block it will then be necessary to add a lot more signal masts than what Panel Editor wants to create. ?Also how do you handle the situation where a block (section) has multiple entry points? ?I was under the impression you would need a unique section for each entry point but this would result in the one block appearing in multiple sections. ?Is this OK provided that they are all for the same direction of travel? A further question which is possibly related to the above is the meaning of Direction (Forward/Reverse) as entered while creating sections (top to bottom) of blocks, and the Direction (Forward/Reverse) which appears in Transits. ?Is the Direction in transits the direction the train is transiting the section or the Direction of the Loco on the throttle (as modified by Create Train)? ?For simple back and forth shuttle operation they are the same, but when you turn a train in a reverse loop the loco is still travelling in the same direction on the throttle but is traversing the sections on the layout in the opposite direction. ?These are 2 completely different uses of the Forward/Reverse terms and to save confusion I suggest that the ones used while creating sections should be different. ?If I recall in the past East/West were used but this is confusing for circular layouts. ?In Australia and countries with a UK railway tradition the terms Up/Down (vs E/W, N/S of the US tradition) are generally unambiguous referring to trains traversing a section and would also work for defining your direction of travel through the blocks of a Section you are creating (up the list or down the list). ? Cheers Don |
Locked
JMRI-SWITCH LISTS PRINT OUT Question
Frank in Houston
I am trying to change the distance between the columns on the switch lists generated by Operations.? I need to have a larger print for some of my older friends.? Right now if I increase the size of the font, each line on the switch lists becomes two lines.
I have noticed that the space between the columns (Car TYPE...Number..Color...etc..a total of 8 columns) is larger than necessary, so if I can print the columns a little closer together, I might have enough space on each line to increase the size of the font.? How can I do this? THANK YOU......Frank is Houston |
Locked
Re: Simple spdt sensor
I purchased and used a device called ArLoco from ArCoMoRa (Arduino Control Model Railroad) that has 16 inputs and connects directly to the Loconet. (www.arcomora.com)
As a newbie in Arduinos, I was concerned about being able to get it to work, but it was easy. They're working on all kinds of stuff that I have not kept up on, so something else there may strike your fancy. Phil from gorgeous Young Harris, Georgia,? USA ps, I used it to make a diy tethered throttle before Geoff Bunza's "Simplified WiFi Throttle" became my focus. |
Locked
Add WiThrottle startup action
Hi.
Linux and windows platforms executing JMRI test version 4.15.7+Rf006fc4 and stable version, when adding a wiThrottle perform action to startup in preferences, this add two wiThrottle actions. Luis Zamora. |
Locked
Re: Windows 10 / NCE help needed
Marc,
On 14 Jun 2019, at 5:32 AM, forfoum@... wrote:Agreed. That's why I said "or". I have seen that mentioned , but don't have a Windows 10 installation to be familiar with it myself. Dave in Australia |
Locked
Re: Dropping loco image file in Roster Media Pane
#rpi
#rosterimage
Update:
This has been resolved. Rajendra was trying to drop the image from his PC onto the VNC window view of the RPi. I explained how to use the fileshare to copy the images to the RPi, then drop them from the RPi. |
Locked
Re: PanelPro 4.15 Dispatcher and Auto Train Running
Hi Don
I am starting to go thru this. The first thing I notice is that you have blocks that occur in more than one section. This happens when Sections are auto generated from signal masts. But dispatcher uses sections, and it asks is a section already allocated or not. Unfortunately in the case of the sections going thru block "Madden Ave" this could result in 9 trains being schedule thru it at once. For anything other than very simple uni directional running the auto-sections dont work well, you need to manually build one section per block (_not_ one for each directions) and then build the transits. As well as causing trains to move before everything is set up it can effect the "Actions", like horn, bell to be incorrectly fired. A lot of your problems stem from this. I will keep going thru this later (honey dew list needs some handling) Steve G. |
Locked
Re: Web Server / Operations manifest view problem
#operationspro
Randall,
I can do but I did see that Dan B. was in that area in github recently making some changes so he may have already addressed it.? Sam |
to navigate to use esc to dismiss