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
Wouter Demuynck [SLC] [DevOps Advocate]5.91K Posted 27th October 2023 3 Comments

Hi Marco,

You are correct: the SetMeasurementPoints method does expect definitions for ALL of the measurement points at once and will consider previously existing measurement points that do not appear in the new data as deleted.

There is currently no method to add or update a single measurement point.

Best approach here would be to call GetMeasurementPoints first and then extend/update the data returned from there. This updated data can then be sent back through SetMeasurementPoints. This will make sure that previously existing measurement points keep their configuration.

As far as I remember, the "object" type output of GetMeasurementPoints can be cast to object[] where each entry in there can be cast to string[], which is the same format as what SetMeasurementPoints expects as input.

Wouter Demuynck [SLC] [DevOps Advocate] Posted new comment 27th October 2023
Marco Di Blasi commented 27th October 2023

Hi
Yes my approach at the least is the same you suggest, so retrieve all the MPs, search the one I need and change it, then upload the entire array of MPs as I received, but in case I would also give the possibility to the user to enable one specific MP on Cube/Visio or LCA? this is possible via script?

Wouter Demuynck [SLC] [DevOps Advocate] commented 27th October 2023

Unless I’m missing something, where the automation script is being launched from (Visio/LCA/directly from automation/scheduled/…) doesn’t really matter here?

From the automation script you should be able to fetch all measurement points / make updates and re-apply the updated set

Marco Di Blasi commented 30th October 2023

Hi Wouter
You are right, from where the script are launched is not the point, but if there is the possibility to “set active” one MP, anyway I update my question to explain better my case

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