Good evening
I have been observing this problem for quite a while and was hoping I might see a change in JMRI 4.8 but have not. It is an intermittent problem that occurs after confirming the Signal Head Appearance is correct in the Consequent Action Edit window and all criteria meet the requirements. The next action requesting this Consequent Action displays an incorrect Signal Head Appearance.
Building signal head logix manually using Logix table with three conditionals on main logix screen called Red, Yellow, and Green. Here is a Browse of one of my logix experiencing the problem in both live and SIM modes:
IX:AUTO:0058C1 Red
Antecedent: (R1 or (R2 and R3))
R1 IF Turnout "NT124" state is Turnout Thrown
R2 AND Turnout "NT124" state is Turnout Closed
R3 AND Sensor "LS123" state is Sensor Active
THEN
When Triggered True, Set Signal Head Appearance, "IH:SE8C:"LT315";"LT316"" to Red
IX:AUTO:0058C2 Yellow
R1 IF Turnout "NT124" state is Turnout Closed
R2 AND Sensor "LS123" state is Sensor Inactive
R3 AND Turnout "NT127" state is Turnout Closed
THEN
When Triggered True, Set Signal Head Appearance, "IH:SE8C:"LT315";"LT316"" to Yellow <==this is the changing value -->
IX:AUTO:0058C3 Green
R1 IF Turnout "NT124" state is Turnout Closed
R2 AND Sensor "LS123" state is Sensor Inactive
R3 AND Turnout "NT126" state is Turnout Closed
R4 AND Turnout "NT127" state is Turnout Thrown
R5 AND Sensor "LS87" state is Sensor Inactive
THEN
When Triggered True, Set Signal Head Appearance, "IH:SE8C:"LT315";"LT316"" to Green
I have even included the conditional from the JMRI file here:
<conditional systemName="IX:AUTO:0061C2" userName="Yellow" antecedent="R1 and R2" logicType="1" triggerOnChange="yes">
<systemName>IX:AUTO:0061C2</systemName>
<userName>Yellow</userName>
<conditionalStateVariable operator="4" negated="no" type="4" systemName="NT121" dataString="" num1="0" num2="0" triggersCalc="yes" />
<conditionalStateVariable operator="1" negated="no" type="2" systemName="LS121" dataString="" num1="0" num2="0" triggersCalc="yes" />
<conditionalAction option="1" type="3" systemName="IH:SE8C:"LT325";"LT326"" data="4" delay="0" string="Yellow" />
</conditional>
Problem is here: I am looking at IX:AUTO:0058C2 Yellow and expecting a Yellow signal head since all the IF statements are true. Initially the Signal Head was correct, but isn't after changing the signal conditions to Red, or Green, then back to a Yellow condition. It will not return to Yellow afterwards The Consequent Actions (the 'then' part) says the signal head should be yellow, but if I edit the Consequent Action, the Signal Head Appearance says "Green" despite how many times I change it back to Yellow (and save the file, quit the program and restart/reload the file). All I have to do is change a condition that will change the signal head correctly, then go back to a Yellow condition, but it will either say Red or Green in the Consequent Action.
Obviously, this can be very frustrating because it doesn't happen with every Logix I've created (30+). Is the fact that I am not using the SSL tool causing this problem? What can I do to isolate this problem, or more better describe it to anyone looking at this.
OS is Win7 running JMRI 4.8 now, but have experienced this in much earlier releases.
Any and all help will be great appreciated.
Wain Schroeder
Clinton Central Model Railroad
www.ccmrr.org