It was the getSensorState() and setSensorState() I was missing.? Looked at Chapter 9 again and now see they are under ¡°Layout¡± so should have figured this for myself. ?Appreciate the help!
From:[email protected] <[email protected]> On Behalf Of Dave Sand Sent: Sunday, December 10, 2023 3:07 PM To:[email protected] Subject: Re: [jmriusers] LogixNG assign state of one sensor to another sensor with one action?
?
Robin,
?
Here is a single action:
?
LogixNG: IQ:AUTO:0001
??? ConditionalNG: IQC:AUTO:0001
??????? ! A
??????????? Digital Formula: setSensorState("Second", getSensorState("First"))
Subject: [jmriusers] LogixNG assign state of one sensor to another sensor with one action?
Date: Sunday, December 10, 2023 4:19 PM
?
Hi.? I have two sensors with user names ¡°FIRST¡± and ¡°SECOND¡± and am currently setting the state of SECOND to the state of FIRST using a LogixNG using an If-Then-Else.? I wondered if LogixNG can do this with a single Action?? Thanks.