I have a strange question... I have an EIB switch-block that shows a status (populated via a VI) and its changes trigger sending of a UDP packet. When in the app I press that switch, its status changes and it sends the command to the device.
Now the issue is: the device may or may not change its state (depending on the device state); this is the behaviour of the device controlled by the eib switch.
If the device changes its state, then everything is ok (I will also receive the state via the VI, but it will already match the eib block state).
If the device does not change its state, it sends the current state via the VI. As this is the same state it was before, this does not trigger a change of the eib-block state, so it shows the wrong state at this point.
How do I keep the eib-block state correct?
(it should still catch changes of the device)
I was thinking something with analog memory, pulse, delay, but it seems far fetched. Also something with remembering the previous state seems too much... Is there some simple way?
Kommentar