Skip to content
DataMiner DoJo

More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in posts
Search in pages
Search in posts
Search in pages
Log in
Menu
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • Open Classroom Training
    • Certification
      • DataMiner Fundamentals
      • DataMiner Configurator
      • DataMiner Automation
      • Scripts & Connectors Developer: HTTP Basics
      • Scripts & Connectors Developer: SNMP Basics
      • Visual Overview – Level 1
      • Verify a certificate
    • Tutorials
    • Video Library
    • Books We Like
    • >> Go to DataMiner Docs
  • Expert Center
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Markets & Industries
      • Media production
      • Government & defense
      • Content distribution
      • Service providers
      • Partners
      • OSS/BSS
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • Agile
      • Agile Webspace
      • Everything Agile
        • The Agile Manifesto
        • Best Practices
        • Retro Recipes
      • Methodologies
        • The Scrum Framework
        • Kanban
        • Extreme Programming
      • Roles
        • The Product Owner
        • The Agile Coach
        • The Quality & UX Coach (QX)
    • DataMiner DevOps Professional Program
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

SetMeasurementPoints on client spectrum analyzer

Solved1.03K views31st October 2023spectrum analyzer
2
Marco Di Blasi [DevOps Advocate]24 26th October 2023 0 Comments

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.

Can you edit a measurement point of a spectrum analyzer through an automation script? - DataMiner Dojo

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?

Michiel Vanthuyne [SLC] [DevOps Enabler] Answered question 30th October 2023

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
Michiel Vanthuyne [SLC] [DevOps Enabler]4.10K Posted 30th October 2023 2 Comments

Hi Marco,

As far as I know, this is not possible via the API.

In DataMiner Cube a workaround is possible by making these configurations:

  • In the spectrum element, enable "visualize measurement points" from the "measurement points" tab in the ribbon
  • In the "Card" tab of the user settings, select "Open spectrum Analyzer" as "Default opening behavior for cards showing measurement points"

That way, you will get a list of measurement points in the surveyor:

Opening one of these measurement points will open up your spectrum element with the measurement point already selected:

These measurement point cards can also be included in workspaces for easier opening together with other cards.

As far as I know, there is no similar method to do this in low-code apps.

Michiel Vanthuyne [SLC] [DevOps Enabler] Posted new comment 3rd November 2023
Marco Di Blasi commented 31st October 2023

Hi Michiel
I already tried with the MP as service, but never got the point you suggest, it could help for sure, anyway I tried to create and delete vai script few MPs, but when the script end the execution, all the services created for each MP are gone. so if some else using one of that service, and the script start, that service will be deleted.
I’m thinking to use the MPs to have access to different input ports, and try to create preset via scripts to set the propertys.

Michiel Vanthuyne [SLC] [DevOps Enabler] commented 3rd November 2023

Hi Marco,
this may depend on how your script is treating the existing MP’s. To handle this correctly, you need to first read the existing MP’s, add or edit the ones you want to change and then send a message back that includes the existing + new MP’s. That way existing services should not be deleted. Next to the question you linked, please also take a look at https://community.dataminer.services/question/preselecting-measurement-points-script/. I’ve posted a code snippet there that encapsulates the messages in a class and might be easier to use.

You are viewing 1 out of 3 answers, click here to view all answers.
Please login to be able to comment or post an answer.

My DevOps rank

DevOps Members get more insights on their profile page.

My user earnings

0 Dojo credits

Spend your credits in our swag shop.

0 Reputation points

Boost your reputation, climb the leaderboard.

Promo banner DataMiner DevOps Professiona Program
DataMiner Integration Studio (DIS)
Empower Katas

Recent questions

Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes
Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
Privacy Policy • Terms & Conditions • Contact

© 2025 Skyline Communications. All rights reserved.

DOJO Q&A widget

Can't find what you need?

? Explore the Q&A DataMiner Docs

[ Placeholder content for popup link ] WordPress Download Manager - Best Download Management Plugin