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
    • 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
      • 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)
      • Book your Agile Fundamentals training
      • Book your Kanban workshop
    • >> Go to DataMiner Docs
  • DevOps
    • About the DevOps Program
    • Sign up for the DevOps Program
    • DataMiner DevOps Support
    • Feature Suggestions
  • Downloads
  • Swag Shop
  • PARTNERS
    • Business Partners
    • Technology Partners
  • Contact
    • Sales, Training & Certification
    • DataMiner Support
    • Global Feedback Survey
  • >> Go to dataminer.services

How to correctly do History set per row?

130 views2 hours agoConnector historyset
6
Mieke Dryepondt [SLC] [DevOps Advocate]4.13K 15th June 2026 0 Comments

I am confused with the documentation on how to perform a History Set per Row.
Can you provide me the different steps required to do a history set correctly?

1. Which of my column params require the history set attribute? Only the items I want to apply history set on?
2. How to apply it on protocol.AddRow.
3. How to apply it on protocol.SetRow.

Having a practical example would help a lot.
In the end I want my alarmed columns to generate an alarm based on the passed time instead of the time of setting the row.

Brent Alleweireldt [SLC] Answered question 2 hours ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
1
Brent Alleweireldt [SLC]2.61K Posted 2 hours ago 0 Comments

Hi Mieke,

Here are some answers to your questions:

1. Only the parameters you want to utilize historyset on needs to be marked as such. So if only 2 columns need to utilize functionality provided by historyset, you apply it only on those 2.

2. to use it with protocol.addrow, you wrap the row in an object[] where index 0 is the objectarray representing the row, and index 1 is the DateTime to use for the set.
Example:

DateTime TimeOfSet = DateTime.Now.AddDays(-1);

var row = new ExampleQActionRow { /*values*/};

Protocol.AddRow(Parameter.Example.tablePid, new object[] { row.ToObjectArray(), TimeOfSet });


3. To use it with a Protocol.SetRow there is an override for this in the protocol object which takes in a timestamp.

Example:

DateTime TimeOfSet = DateTime.Now.AddDays(-1);

var row = new ExampleQActionRow { /*Values*/};

Protocol.SetRow(Parameter.Example.tablePid, row.Key, row.ToObjectArray(), TimeOfSet);

Hope this helps a bit to clarify things.

Brent Alleweireldt [SLC] Edited answer 2 hours ago
You are viewing 1 out of 1 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

© 2026 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