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

Protocol template set also for a second column

Solved353 views29th October 2024
1
Stefan Schedletzky [DevOps Enabler]2.06K 25th October 2024 0 Comments

Hi Dojo,

I’m writing a protocol and now I have the following problem. When I do a set on one column it should also do automatically a second set before on another column for the same row.

A B C D E
1 2 3 4 5
6 7 8 9 10

For example this table above you choose parameter 2 for the set but before must be parameter 4 set to a specific value.

Is there something I can do easily in the write parameter? I have two solutions in my mind, either do a copy of the table and than use a QAction to do the specific sets. Or just da QAction for the first set, but here I’m not sure if the snmp set is already done, before I can set the second column.

Stefan Schedletzky [DevOps Enabler] Selected answer as best 29th October 2024

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
José Silva [SLC] [DevOps Catalyst]1.43K Posted 25th October 2024 1 Comment

Hi Stefan,

To set one parameter before another in the same row, you’ll indeed need to handle this within a QAction.

Here’s how you can approach it:

  1. Triggering the QAction: Set up the QAction to be triggered with row=true to capture the table key (instance) for the row in question.
  2. Setting the Initial Parameter: First, perform the set on the initial SNMP column. I recommend checking out this guide for details on executing SNMP sets in tables: Here.

    Note: Although the value will be immediately set in the table, this doesn’t automatically trigger a “get” to confirm the set value on the device. If you want to confirm that the set was applied on the device, you’ll need to manually initiate a repoll after setting.

  3. Setting the Target Parameter: After the first set, perform the main set on your target parameter (e.g., on parameter 2) within the same QAction.
  4. Adding Wait Logic (If Necessary): If you need a delay between sets or want to confirm the first set succeeded before moving on, consider adding a wait mechanism or a check to confirm that the value is updated on the device before proceeding with the main set.

I hope this helps! Let me know if you need further clarification.

Stefan Schedletzky [DevOps Enabler] Posted new comment 29th October 2024
Stefan Schedletzky [DevOps Enabler] commented 29th October 2024

Thanks José, worked perfectly!

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