That¡¯s an interesting idea!
A script could do this. It would have to be system-specific, as traffic takes different forms for different systems. Perhaps somebody with more experience with the JMRI XpressNet code could write a sample.
Another approach would be to vampire off a Monitor window. A script could watch the text area in the window for changes, and set the Sensor active and inactive as desired. That would be a bit complicated now, but I¡¯ll add some member functions to make that easier sometime in the next couple days.
Bob
On Jul 17, 2017, at 7:18 AM, palj44@... [jmriusers] <jmriusers@...> wrote:
I find it use full when using a panel that does not seem to be doing anything to glance at the XpressNet traffic to inevitably discover a lot is actually going on! (And then wait for stuff to quieten down). It would be neat though to have a sensor which came on when it is busy but can not work out how to do that.
Any ideas please?
--
Bob Jacobsen
rgj1927@...