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
  • Updates & Insights
  • Questions
  • Learning
    • E-learning Courses
    • Empower Replay: Limited Edition
    • Tutorials
    • 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
    • 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
    • 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
      • About the DevOps Program
      • DataMiner DevOps Support
  • Downloads
  • More
    • DataMiner Releases & Updates
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

How to get details of Spectrum Analyzer Monitors

Solved386 views21st October 2024monitors spectrum analyzer
2
Fenta Alemahu [SLC] [DevOps Enabler]1.10K 21st October 2024 0 Comments

Hi all,

How can we get the monitor details of the Spectrum Analyzer component of elements?. Example, I want to get the details of each monitor:

var spectrumAnalyzer = idmsElement.SpectrumAnalyzer;

if (spectrumAnalyzer == null)

{

return string.Empty;

}

var spectrumAnalyzerMonitors = spectrumAnalyzer.Monitors;

if (spectrumAnalyzerMonitors == null)

{

return string.Empty;

}

var monitors = spectrumAnalyzerMonitors.GetMonitors();

Here, monitors is an object? How can I get the details of each monitor (name, …) from the object?

Fenta Alemahu [SLC] [DevOps Enabler] Selected answer as best 21st October 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Tom Waterbley [SLC] [DevOps Catalyst]8.89K Posted 21st October 2024 0 Comments

Hi Fenta,

This is how the GetMonitor() method is implemented: https://gist.github.com/TomW-Skyline/68afbd0be050e442cd62129a33490565. The code contains a comment which describes what’s being returned in the object.

SA for the monitor:

0 = script id

1 = dma id

2 = eid

3 = interval (seconds)

4 = name

5 = description

6 = true/false (enabled/disabled)

7 = pre:post (amount of traces to store for alarm recordings)

8 = measpointid,measpointid,…

9 = true/false (auto group params)

10 = amount of templates (n) (RN1043)

11 -> 10+n = alarm template info strings (see GetInfo(SPAI_MONITOR))

10+n+1 = amount of CSV exports (m)

10+n+2 -> 10+n+1+m: CSV export info

x = generate service? (true/false)

x+1 = generated service ID

x+2 = presetname|presetname|…

Alarm template format:

* 6:#:pid:#:variable name:#:Description:#:bDisplayed:#:bMonitored:#:bTrended:#:templateType:#:valCH:#:valMaH:#:valMiH:#:valWaH:#:valNormal:#:valWaL:#:valMiL:#:valMaL:#:valCL:#:measPtId:#:DOUBLE:#:bUsesCustomRange:#:rangelow:#:rangehigh:#:decimals:#:units

* pid -> SL_NO_ID for new ids

* 7:#:pid:#:variable name:#:Description:#:bDisplayed:#:bMonitored:#:bTrended:#:templateType:#:valCH:#:valMaH:#:valMiH:#:valWaH:#:valNormal:#:valWaL:#:valMiL:#:valMaL:#:valCL:#:measPtId:#:bCustomPos:#:row:#:col:#:DOUBLE:#:bUsesCustomRange:#:rangelow:#:rangehigh:#:decimals:#:units

* pid -> SL_NO_ID for new ids

* 6.5.4+ support for TRACE

* 7:#:pid:#:variable name:#:Description:#::#::#::#::#::#::#::#::#::#::#::#::#::#:measPtId:#::#::#::#:TRACE:#:

Hopefully this information can help you further.

Fenta Alemahu [SLC] [DevOps Enabler] Selected answer as best 21st October 2024
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
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