Eric,
How do you know that it queries the physical turnout. ?Do you see a turnout message in the NCE Monitor?
Dave Sand
toggle quoted message
Show quoted text
----- Original message -----
Subject: Re: [jmriusers] NCE Accessory Event Monitoring and possibly CS-105
Date: Wednesday, January 08, 2025 11:10 PM
Dave,
That is exactly what I was talking about. When you do that click on the turnout, either on the Main Panel graphic or the Turnout Table, JMRI first queries the physical turnout. If the physical turnout state is different than the digital twin in JMRI, JMRI updates the digital twin's state in Panel Pro to reflect reality.
If you click a second time, a command is issued to change the state and then Panel Pro updates to reflect the new state.
?
I wanted to know if that functionality is, or could be, exposed somewhere as a function that could be called by a program.? If so, one could periodically run a polling program and update the panel for anything that got changes locally. Since most turnouts are not being actually changed, the power / bandwidth used should be minimal.