Hi Dojo,
Is it possible for a protocol to detect if an element card is open in DataMiner Cube?
To give some context, I am creating a spectrum analyzer protocol that communicates like a smart-serial device. I would like to disable the polling/retrieval/processing of data if the element card is not open such that it doesn't run in the background, such that it can support multiple sessions.
Is there a reserved parameter or a method to ensure this?
Hi Chian,
Every element has a general parameter "[Clients connected]" (ID 65029) which has value Yes=1 when a client is connected, or value No=0 when no clients are connected. Maybe you could use this in your connector.
https://docs.dataminer.services/develop/devguide/Connector/ReservedIDsElementControlProtocol.html
I think this is less relevant for Spectrum integrations. our Visual overview supports features to show inline trace graphs , this will accept certain “Spectrum monitors” as arguments. In return the spectrum element will need to make sure it can process and request new trace data based on this. So if we block communication based on this 65029 parameter, I don’t think the end goal will be met…
Hi Thijs. I thought the problem was that DataMiner was interfering with users that are working directly with the spectrum analyzer, or another external application. That was not completely clear from the question. But if that is not the case my answer is indeed not really relevant.
Hi Chian,
Maybe you could change the settings in the standby mode?
https://docs.dataminer.services/user-guide/Advanced_Modules/Spectrum_Analysis/Working_with_Spectrum_Analyzer_elements/Viewing_spectrum_analyzer_traces.html?q=spectrumanalyzersession#sharing-spectrum-sessions
Another option is to use shared sessions:
https://docs.dataminer.services/user-guide/Advanced_Modules/Spectrum_Analysis/Working_with_Spectrum_Analyzer_elements/Viewing_spectrum_analyzer_traces.html?q=spectrumanalyzersession#sharing-spectrum-sessions
Do these options fit your use case?