¿ªÔÆÌåÓý

Locked Re: LogixNG assign state of one sensor to another sensor with one action? #logixng


 

Robin,

Here is a single action:

LogixNG: IQ:AUTO:0001
??? ConditionalNG: IQC:AUTO:0001
??????? ! A
??????????? Digital Formula: setSensorState("Second", getSensorState("First"))
??????????????? ?* E1
????????????????????
See?

Dave Sand


----- Original message -----
From: Robin Becker <rbgroups@...>
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.

?

Robin

?

Robin Becker

San Diego CA

?

?


Join [email protected] to automatically receive all group messages.