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

Sequence tag with Default value showing wrong value on parameter

Solved748 views31st May 2024Sequence noset
0
Emir Varupa [SLC] [DevOps Advocate]115 12th January 2024 0 Comments

Hello Dojo,

I'm trying to set a parameter to N/A and noticed something strange happening,
Here is the parameter:
<Param id="1000" trending="true">
<Name>tunerFrequency</Name>
<Description>Frequency</Description>
<Information>
<Subtext>
<![CDATA[Tuner Frequency]]>
</Subtext>
</Information>
<Type>read</Type>
<Interprete>
<RawType>numeric text</RawType>
<Type>double</Type>
<LengthType>next param</LengthType>
<Sequence noset="true">div:1000</Sequence>
<DefaultValue>-1000</DefaultValue>
<Exceptions>
<Exception id="1" value="-1">
<Display state="disabled">N/A</Display>
<Value>-1</Value>
</Exception>
</Exceptions>
</Interprete>
<Display>
<RTDisplay>true</RTDisplay>
<Range>
<Low>87.1</Low>
<High>107.9</High>
</Range>
<Decimals>2</Decimals>
<Units>MHz</Units>
<Positions>
<Position>
<Page>General</Page>
<Column>0</Column>
<Row>0</Row>
</Position>
</Positions>
</Display>
<Measurement>
<Type>number</Type>
</Measurement>
</Param>

As you can see, I'm trying to set this parameter to -1 in order for it to display "N/A" by default. However, I've discovered that the parameter value is actually -0.001. It appears that the value 1000 was divided twice by 1000, resulting in -0.001 instead of -1. Could it be that there is an issue with the combination of Sequence and DefaultValue tag, or is this the intended behavior?

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 31st May 2024

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
frans siew [SLC] [DevOps Advocate]919 Posted 17th January 2024 0 Comments

Hi Emir,

Could you try to change the value tag's value to -0.001
<Exception id="1" value="-1">
<Display state="disabled">N/A</Display>
<Value>-1</Value>
</Exception>

My theory is that the value is set again and goes through the sequence when the exception value is being set

frans siew [SLC] [DevOps Advocate] Answered question 17th January 2024
You are viewing 1 out of 2 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