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
    • YouTube Videos
    • Solutions & Use Cases
      • Solutions
      • Use Case Library
    • Agility
      • Book your Agile Fundamentals training
      • Book you Kanban workshop
      • Learn more about 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)
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Pogram
    • DataMiner DevOps Support
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
  • Downloads
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Solutions
    • Deal Registration
  • >> Go to dataminer.services

Representing max values as interprete exceptions

Solved1.80K views19th July 2023exception interprete
3
Craig Dann 10th February 2021 0 Comments

Hi,

I would like to disable a double parameter under certain circumstances. I would like to do this by setting the value to be the maximum allowed value for a double (all other values are valid values). Could you please let me know how to represent this in the XML file? i.e. what do I put in the xxx below? Thanks

<Interprete>
<Type>double</Type>
<RawType>double</RawType>
<LengthType>fixed</LengthType>
<Length>8</Length>
<Exceptions>
<Exception id="1" value="xxx">
<Display state="disabled">NOT INITIALIZED</Display>
<Value>xxx</Value>
</Exception>
</Exceptions>
</Interprete>

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 19th July 2023

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
1
João Severino [SLC] [DevOps Catalyst]13.37K Posted 10th February 2021 0 Comments

Hi Craig,

As Jarno mentioned, in the linked question, the answer indicates that a double parameter in DataMiner is a standard double-precision floating-point number whose maximum limit is 1.79769313486232E308.

I gave it a try in a test protocol and managed to add it as is to the default value tag of a parameter, which will show in DataMiner as Infinity

Do note that I had to change the raw type from double to numeric text in order to be able to add the default value.

I also tried to add an exception to the parameter but could not get it to display as desired.

Not sure if there is another way of getting it to work but, if possible in your application, I would advise you to try and restrict the range the numbers can take.

That way you could specify a value outside that range without relying on extreme numbers.

João Severino [SLC] [DevOps Catalyst] Answered question 10th February 2021
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
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