I have created a live listener that generates sin data. I am plotting data quite happily and now would like to listen to an external data source. The connection address in ILiveListener::connect() is always 0.0.0.0:0. How can I get a connection address?
So if I want the same listener class to read several signals on different ports I just need an instrument for each signal defined in the facilities.xml?
I’m afraid the parameters definable at that level are fixed so you would’t be able to pass anything extra that way.
The only way I can think of at present to be able to define that information & access it in the listener would be to save it has a config option in the script and access it in the listener.