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
    • DataMiner Insights
      • Security
      • System Architecture
      • DataMiner Releases & Updates
    • 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

dynamically change the units of a parameter

417 views12th December 2024protocols
2
peng fei158 9th December 2024 0 Comments

Hi

Is there a way in the QAction code that can dynamically change the units and decimals of another parameter?

e.g., I have a parameter A which i can enter the units string, such as: m, dB, %, C deg etc

And i have a QAction which can dynamically assign the units string stored in parameter A to Parameter B so the Parameter B has the units which is defined by parameter A.

Is that possible?

Thanks

Robin Spruytte [SLC] [DevOps Advocate] Answered question 12th December 2024

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
3
Miguel Obregon [SLC] [DevOps Catalyst]18.67K Posted 9th December 2024 0 Comments

Hi peng fei,

As far as I know this is not possible. For this case you will need to create parameters for each specific measurement. However, it is possible to convert dynamically the units for the same measurement (see dynamic units) For example, the units  for a parameter that displays a bit rate can be converted dynamically to Kbps, Mbps, Gpbs.

Hope it helps.

Miguel Obregon [SLC] [DevOps Catalyst] Answered question 9th December 2024
1
Robin Spruytte [SLC] [DevOps Advocate]637 Posted 12th December 2024 0 Comments

It’s possible to override the visible properties of a parameter from a QAction with the following method: NT_UPDATE_DESCRIPTION_XML

This supports updating parameter descriptions, min and max range and step size. From DataMiner 10.2.5/10.3.0 onward, unit overriding is also supported.

This method applies only for the individual element. The updated parameter will not be updated on other elements.

Robin Spruytte [SLC] [DevOps Advocate] Answered question 12th December 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