Hi all
I have a doubt about how to set up an MP on a spectrum analyzer client via script.
I see a question here in the dojo that helps me a lot to understand how to customize the MP.
But my question is about, how I can set this MP on the client (cube or Low-Code App) via script?
The method SetMeasurementPoints seems to receive an entire list of MPs, but it now gives the possibility to set one of them, and if I miss passing another MP in the list, it will delete the already existing in the spectrum analyzer.
Edit to explain better my idea:
At the moment in the MP i setup only the input port, and via script I want to "tick" the MP on the client that could be the Cube or Low Code App. (Below an image to explain better)
So my point is to "active" one of this MP via script, is something possible?
Hi Marco,
Thanks for adding extra information in the question. This sure helps to better understand your question.
As far as I gather, you want clients to automatically have a certain measurement point selected when they open a spectrum display.
Which measurement points are checked in the measurement point list as displayed on a spectrum card in Cube is a user-specific setting that applies to the sessions of that user only. If one user selects MP1 this MP1 will re-open when opening a new card, while a second user might have MP2 configured.
I'm afraid that there is no API to updated these presets/settings for all users in one go, or for active sessions.
Saving/updating this "measurement cycle" in a shared preset might be an option, but one will have to manually load those presets from Cube, which doesn't really sound as what you want.
If it can be of any help: Cube does allow for a measpt input argument which will select the specified measurement point.
Hi Wouter
I’ll keep in mind the measpt input argument, maybe can help in my project