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

[SRM] – How to get the Link element name of resources

Solved1.63K views21st February 2022development resources SRM
1
Mieke Dryepondt [SLC] [DevOps Advocate]3.60K 10th February 2022 0 Comments

In a custom booking wizard we want to provide a drop down of all the IRD equipment. This will make sure that all the required functionality is done by the same equipment.

We are able to find the eligible resources but we would need the Link element name.
How do we retrieve this?

Keep in mind that the DVE state is not always enabled.

We found that when we set the result of the GetEligibleResources as FunctionResource we can get the DMAId and ElementId of the Main element. Doing an extra looking to get the name feels like adding a lot of overhead on the system.

List<string> irds = new List<string>();
foreach (var matchingIrdResource in matchingDemodResources)
{
var fr = matchingIrdResource as FunctionResource;
var irdMain = _engine.FindElement(fr.MainDVEDmaID, fr.MainDVEElementID);
if (irdMain != null)
{
irds.Add(irdMain.ElementName);
}
}

Mieke Dryepondt [SLC] [DevOps Advocate] Selected answer as best 21st February 2022

3 Answers

  • Active
  • Voted
  • Newest
  • Oldest
4
Jens Vandewalle [SLC] [DevOps Enabler]9.44K Posted 10th February 2022 0 Comments

Hi Mieke,

To make sure that the same equipment is used you’ll have to work with capabilities.

In your case the Decoding resource must have a capability with the name of the element to which the selected Demodulator resource is linked. Once the Demodulator resource is assigned, a DTR script must transfer the linked element name as a capability parameter to the Decoding function.

Note: Best practice is to have the element name available as a resource property on your Demodulator resource to avoid having lots of system calls.

Mieke Dryepondt [SLC] [DevOps Advocate] Selected answer as best 21st February 2022
1
Jorge Dias [SLC] [DevOps Enabler]4.78K Posted 11th February 2022 0 Comments

Hi Mieke,

If possible, set, like Jens, suggested a property in your resources that will hold the Main Element name, that will save you the extra calls.

If that is not possible, improve your algorithm by storing all the distinct ids and then only make a call for each element.

Jorge Dias [SLC] [DevOps Enabler] Answered question 11th February 2022
0
Matthias Declerck [SLC] [DevOps Advocate]2.75K Posted 10th February 2022 0 Comments

Hi Mieke,

I’m afraid you have to do with the following:

The object ‘Net.ResourceManager.Objects.FunctionResource’ has the following properties:
– int DmaID + int ElementID (inherited from Resource)
This is the ‘resource element’, based on the instance  (FunctionEntryPoint)
in the example, this is Switch.1 with ID 66/564506.
– int MainDVEDMAID + int MainDVEDElementID
This is the main DVE element. in the example, this is Switch A.

Example:

Matthias Declerck [SLC] [DevOps Advocate] Answered question 10th February 2022
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