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
    • Kanban workshop
    • 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
  • Support
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

GQI script Parameter Description

Solved90 views5 days agoautomation scipt GQI script
6
Timothy Van Poucke [SLC] [DevOps Enabler]1.21K 6 days ago 0 Comments

Hi Dojo,

I'm working on a GGQI script, in the script we get a DOM resource, from the resource I get an element, depending on which pool it is I want to display a number of parameters (PIDs hardcoded) with their values and alarm level. I already have a lot:

public List<GQIRow> GetRows()
{
var rows = new List<GQIRow>();

string dmaId = _arguments.Resource.Info.LinkedElementInfo;
var element = _arguments.Dms.GetConnection().GetDms().GetElement(new       DmsElementId(dmaId));

var VirtualResourceDirectoryParam = element.GetStandaloneParameter<string>(596);

string paramName = ????
rows.Add(new GQIRow(paramName, new[] {
new GQICell{ Value = paramName},
new GQICell{ Value = VirtualResourceDirectoryParam.GetValue() },
new GQICell{ Value =  VirtualResourceDirectoryParam.GetAlarmLevel().ToString()},
new GQICell{ Value = "TBD" },
}));
return rows;
}

Getting the pool is also not an issue but I don't know how I could get the parameter description, any suggestions?

Timothy Van Poucke [SLC] [DevOps Enabler] Selected answer as best 5 days ago

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
0
Tom Waterbley [SLC] [DevOps Catalyst]8.91K Posted 5 days ago 1 Comment

Hi Timothy,

If you know the protocol name and version, you can use GetProtocolMessage to retrieve all the information about the protocol.

var message = new GetProtocolMessage(element.Protocol.Name, element.Protocol.Version);
var result = (GetProtocolInfoResponseMessage)gqiDms.SendMessage(message);

var allParameters = result.AllParameters;

For more details, see the documentation here:

https://docs.dataminer.services/develop/api/types/Skyline.DataMiner.Net.Messages.GetProtocolInfoResponseMessage.AllParameters.html

Timothy Van Poucke [SLC] [DevOps Enabler] Selected answer as best 5 days ago
Timothy Van Poucke [SLC] [DevOps Enabler] commented 5 days ago

Thanks! as I have my element I can use
GetProtocolMessage getProtocolMessage = new GetProtocolMessage(element.Protocol.Name, element.Protocol.Version);
var protocolInfo = (GetProtocolInfoResponseMessage)_arguments.Dms.SendMessage(getProtocolMessage);

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