Both sensors watching the sections (channels of a Roco 10808 current detector connected to a Z21 command station), as well as the loco decoder are capable of RailCom, hence they can provide the feed-back needed.
Can you get me a log of how the railcom detection messages are showing up from the Roco 10808 sections?
I know how the railcom detector built into the Z21 command station provides information to us, but it looks like the Roco 10808 might report things in different ways based on how it is configured.
I am not familiar with Python (Jython) and know even less about the way RailCom feed-back is made use of. Can anybody tell me how to modify the code and, possibly, change the setting?
Railcom detection is provided via a reporter object. ?It is not quite the same as a sensor, though there is a sensor associated with it.
The example script:
Shows generally how to work with reporters in a script. ?This is a bit LocoNet specific in handling the reporter output. ?I may have an example that can be used with the railcom objects provided by the Z21 command station¡¯s internal railcom detector. Let me look into that later today.
Paul