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 Hao,
The Spectrum component in DataMiner will already act as a layer to manage what you are looking for.
Please have a look here in the docs regarding the behavior of SLSpectrum: Implementation routine | DataMiner Docs
"A client" could represent different things in the concept of spectrum components:
- either your element-card/view via DM Cube (Spectrum UI)
- or a trace that gets acquired automatically via spectrum monitors/scripts
- or an inline Visio shape that displays certain trace data (again via linked monitors)
your protocol need to indeed interface with that Spectrum analyzer only when necessary request have to be made. But this is what SLSpectrum already handles.
That's one of the greatest advantages of Spectrum management in DataMiner that this is multi-Client by default.
So for every "need" where a client needs new trace updates, the parameter sets will come through in round-robin fashion. (parameter triggers 64118 & 64116)
Hope this clarifies things and gets you forward!
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?