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

Having a parameter indicating what connection is currently being used.

Solved1.87K views19th July 2023protocol redundant polling smart-serial
5
Ana Faria [SLC]46 31st March 2021 0 Comments

Hello!
I'm currently working with a smart-serial protocol configured with a "redundantPolling" feature.

I was looking for a way of having a parameter that will indicate which communication is currently being used by my protocol. If I'm in the main connection (id = 0) or on a redundant one (id = 1, for example).

My objective was to have a way of alarming when we switch from one connection to the other in the protocol (some way of indicating what interface is active and if the backup interface is currently being used)

These are my conclusions so far:

  • Using the resources from Dataminer, this is what I've tried:
    • Using a trigger to signal when the pair enters a timeout (doesn't work on smart serial)
    • Trying to identify the IP and the port that is being used (I don't think there is a parameter that receives the IP and port currently being used. What exists, is a static parameter that shows all possible IPs and ports from the settings)
    • Use one of the general parameters (don't know why, but the "Communication Info" Table isn't indicating reliable information)
    • Create a subscription to the element itself to find out the state it is in (Not advisable and also leads to the risk of not being able to correctly identify the connection that the protocol is using, just from the state of the element)
    • Trying to use the "smartipheader", that is, making the responses of the device come with the IP and Port (this does not work for the case of smart serial with headers and trailers)
  • The second approach was to use the device itself. That is, being able to ask the device which connection I am currently using, but we need a generic implementation with data coming from DM, so that we can apply this to other drivers as well.

Thank you!

Best regards,

Ana

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 19th July 2023

1 Answer

  • Active
  • Voted
  • Newest
  • Oldest
2
Thijs Vanovenacker [SLC] [DevOps Advocate]2.21K Posted 27th April 2021 2 Comments

Hi Ana! sorry for the late reply here:

The Development Library tells the following related to Redundant polling:

However, note that for redundant polling with smart-serial connections, the communication state needs to be set using the NT_CHANGE_COMMUNICATION_STATE Notify call in order for the redundant polling connections to switch.

Not sure if you already implemented it this way or not, but if we currently only expect the element to switch the smart - serial connection after this notify call is executed, then maybe you can keep track of the connection yourself saving and toggling the state each time the timeout notify is being called.

In case you were able to solve it in another way, please share as well  😉

Thanks.

Marieke Goethals [SLC] [DevOps Catalyst] Selected answer as best 19th July 2023
Ana Faria [SLC] commented 3rd May 2021

Hi Thijs.
Thank you for your answer!
In my particular case, I don’t need a notify call executing to change the state of the element. In the Lawo protocol, the switching to the redundant polling connection is happening automatically (even if it’s a smart-serial connection because we use the interface to also send requests).

We reached the conclusion that, currently, there is no feature that allows me to detect the currently active interface. A task has been created in order to have this support (TaskRef: 154783)

Cheers

Matthijs Favorel [SLC] [DevOps Advocate] commented 3rd May 2021

A new feature request is available here: https://community.dataminer.services/new-feature-suggestions/ability-to-monitor-active-connection-in-redundant-connection-setup/

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

© 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