John, You control the aspect selection by using SML path speed and route. ?This is tied to the selected signal system. The path speed is the slowest speed of the assigned blocks and turnouts. The default speeds for JMRI turnouts is Normal/Restricted for Close/Thrown. ?The first thing I do is change the Thrown speed. Aspects have a speed value and a route value. ?If ALL turnouts are closed, the route is Normal. ?If ANY turnout is thrown, the route is Diverging. The combination of route and speed is used to select the proper "ourAspect"? The path speed can be manipulated by creating a dummy block. Here are the changes I used to make 4136 work as expected:
To simplify turnout feedback, I created a small LogixNG:
Dave Sand ----- Original message ----- From: John Purcell <jdpurce@...> Subject: [jmriusers] Getting SML to indicate "secondary diverging" through double crossover #5-4 #signals #sml Date: Wednesday, October 02, 2024 10:55 PM How do I inform SML to use the third light on a three light mast to indicate "secondary diverging"? ?Secondary diverging means route is through both crossovers. ? In the screenshot, source mast is 4136 and destination mast is 4088. ?SML is treating the route as a standard "diverging" route and using the middle (second) head of mast 4136 to indicate diverging, when the intent is to use the lower (third) head to indicate "secondary diverging". ?(The "simple" cases where mast 4136 is source and destination is mast 4076 or 4072 work as expected.) ? Note that I am using a modified signal system I created named "basic-enhanced" which I will contribute to JMRI after some confirmation that it works correctly. ?The basic-enhanced signal system is based on the standard "basic" signal system in JMRI, with addition of a three-head mast, an "advanced approach" indication (flashing yellow), and all icons cleaned up, renamed and gathered in one place rather than picking from other systems' icons. ? ? Important supporting information:
Thank you for your help. ? --John. ? Attaching files to this note. ?If they should be moved to files section I'm happy to move them there. ? JMRI Panel and Table content: FWT_G_V1-99-13.xml "basic-enhanced" signal system definition files unzipped into /xml/signals directory: basic-enhanced.zip "basic-enhanced" image files for mast icons unzipped into /resources directory. Full path is /resources/icons/smallschematics/aspects/basic-enhanced. ?Zip file contains everything from /icons on down: icons.zip ? Attachments:
|