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
  • Blog
  • Questions
  • Learning
    • E-learning Courses
    • 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
    • Tutorials
    • 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
    • DataMiner Insights
      • Security
      • Integration Studio
      • System Architecture
      • DataMiner Releases & Updates
      • DataMiner Apps
    • 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
  • Downloads
  • More
    • Feature Suggestions
    • Climb the leaderboard!
    • Swag Shop
    • Contact
      • General Inquiries
      • DataMiner DevOps Support
      • Commercial Requests
    • Global Feedback Survey
  • PARTNERS
    • All Partners
    • Technology Partners
    • Strategic Partner Program
    • Deal Registration
  • >> Go to dataminer.services

SetParameter on Titan Edge Decoder perform a “rollback”

Solved755 views27th December 2023C++ Titan edge
2
Marco Di Blasi [DevOps Advocate]24 20th December 2023 0 Comments

Hi everyone

I'm working on a Low Code app where I want to select the one X20 to get it output, and then choose which Titan Edge Decoder insert it as input.

To perform this, I'm writing a small automation script, it gets correctly the information to insert as input in the Titan, and also sets the parameters correctly, but after a small amount of time, the parameters roll back to the previous values.

But I don't get way they rollback, this change is never seems to be tracked on the information events.

Below the code to better understand the issue

#region Set input Titan
/// set alfa channel
var decoders = GetColumns(decoderElement, 2100, new[] { 0, 1, 6}, (string idx, string status, string moduleID) => new { Idx = idx, Status = status, ModuleID = moduleID}).ToList();
var decoder = decoders.First(elm => elm.ModuleID == decoderChannel);

string ssmAddress = "[" + string.Join(",", networkIP.Select(ip => ip.Address.ToString())) + ",,,,]";

//// engine.GenerateInformation(ssmAddress);
decoderElement.SetParameterByPrimaryKey(2117, decoder.Idx, ssmAddress);

/// Alfa IP
decoderElement.SetParameterByPrimaryKey(2105, decoder.Idx, outputAlfaIP.Ip);

/// Alfa Port
decoderElement.SetParameterByPrimaryKey(2106, decoder.Idx, outputAlfaIP.Port);

///// Beta IP
decoderElement.SetParameterByPrimaryKey(2109, decoder.Idx, outputBetaIP.Ip);
decoderElement.SetParameterByPrimaryKey(2110, decoder.Idx, outputBetaIP.Port);
#endregion

I also tried to set directly the write parameters, but it seems to crush after.

1-Edit:

I found some informations, first thing, everything work find untile the script will try to update the field SSM Address, a parameter of the Titan Edge decoder protocol, version 1.0.2.1, with PID 2117, the field has to be formatted in a way like this "[,,,,,,,]" and I try to insert a new value like this [10.169.244.54,10.169.116.54,,,,].

As suggested by Joao I already tried to set the check flag to false, but without any luck.

2-Edit:

The problem seems related to the SSM Address parameter, as if I try to change it by hand, the value will not change with the new value

Fenta Alemahu [SLC] [DevOps Enabler] Answered question 21st December 2023

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
2
Fenta Alemahu [SLC] [DevOps Enabler]1.10K Posted 21st December 2023 0 Comments

Hi Marco,

If you add the square brackets around the IP addresses when setting the SSM address in the Titan Edge connector, that will cause a bad formatted data, and the device will not accept the data since it will not be a list of valid IP address. The IP addresses are sent to the device as a list of IP addresses by splitting the string with the comma. When the square brackets are added in the input data, they become part of the IP address which will make it invalid IP. The square brackets that you see in the read parameters of the table are added by the device API when it returns the data (to indicate array of IP addresses). Remove the square brackets and set a comma separated list of IP addresses. So, if you set 10.169.244.54,10.169.116.54,,,, it will work.
Probably, the connector can be enhanced in the future by removing the square brackets from the returned data to avoid such confusions.

Fenta Alemahu [SLC] [DevOps Enabler] Answered question 21st December 2023
2
João Severino [SLC] [DevOps Catalyst]12.94K Posted 20th December 2023 4 Comments

Hi Marco,

Are those parameters you are setting device data (i.e. part of polling) or element configurations (i.e. data not linked to a setting on the device)?

One thing that I think could be happening if those are device data is that the polling cycle is overriding your changes, especially if you are not setting the values on write parameters.

When you mention you tried to set directly the write parameters do you mean in your script or manually via the element card?

If you want the values you set to persist you would need to use the write parameters and make sure those perform the logic to send them towards your device.

João Severino [SLC] [DevOps Catalyst] Posted new comment 20th December 2023
Marco Di Blasi commented 20th December 2023

Hi Joao, thanks for your answer, I tried via script to set the write parameter, but when I tried the script will stuck at the first parameter to set and then crash with the following error
Script ‘SetInputTitanEdgeDecoder’ failed:

The following was returned from the script:
Could not verify that parameter 22895/421/2117/decoder-1/input-0 was correctly set (50 retries). Last value: [10.216.155.83,10.216.187.84,10.216.155.143,10.216.187.143,10.123.197.203,10.123.228.203,10.123.197.201,10.123.228.201]
(Code: 0x80131500) Skyline.DataMiner.Net.Exceptions.DataMinerException: Set Parameter (‘_22895_421’:2167/decoder-1/input-0) Failed: 0x80004005
at CManagedAutomation.RunWrapped(CManagedAutomation* , Int32 iCookie, IUnknown* pIAutomation, tagVARIANT* varParameters, tagVARIANT* pvarReturn, String scriptName)
at CManagedAutomation.Run(CManagedAutomation* , Int32 iCookie, Char* bstrScriptName, IUnknown* pIAutomation, tagVARIANT* varParameters, tagVARIANT* varEntryPoint, tagVARIANT* pvarReturn, tagVARIANT* pvarEntryPointResult) (CSharp; 0x80131500h):

Exception :
Could not verify that parameter 22895/421/2117/decoder-1/input-0 was correctly set (50 retries). Last value: [10.216.155.83,10.216.187.84,10.216.155.143,10.216.187.143,10.123.197.203,10.123.228.203,10.123.197.201,10.123.228.201]
(Code: 0x80131500) Skyline.DataMiner.Net.Exceptions.DataMinerException: Set Parameter (‘_22895_421’:2167/decoder-1/input-0) Failed: 0x80004005
at CManagedAutomation.RunWrapped(CManagedAutomation* , Int32 iCookie, IUnknown* pIAutomation, tagVARIANT* varParameters, tagVARIANT* pvarReturn, String scriptName)
at CManagedAutomation.Run(CManagedAutomation* , Int32 iCookie, Char* bstrScriptName, IUnknown* pIAutomation, tagVARIANT* varParameters, tagVARIANT* varEntryPoint, tagVARIANT* pvarReturn, tagVARIANT* pvarEntryPointResult) (CSharp; 0x80131500h):

João Severino [SLC] [DevOps Catalyst] commented 20th December 2023

Could you try the solution for this other question?
https://community.dataminer.services/question/how-to-use-automation-script-to-change-the-value-of-a-custom-name-field/

Marco Di Blasi commented 20th December 2023

I tried, but without any luck 🙁
Meanwhile I found something more that I’ll add to the question in the edit

João Severino [SLC] [DevOps Catalyst] commented 20th December 2023

Given that doing a manual set also does not work it could be an issue with the connector. I noticed that version 1.0.2.2 exists so I would try to upgrade to the latest version and see if it is something that was identified and fixed already.
Otherwise, I would say it would be better to get in touch with our Tech Support team (techsupport@skyline.be) so that it can be investigated and fixed.

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

Recent questions

Web Applications exception in Cube due to invalid certificate 0 Answers | 0 Votes
Redundancy Groups and Alarming – Duplicate Alarms 0 Answers | 0 Votes
Correlation Engine: “Test rule” doesn’t result in a hit, despite functional rule 1 Answer | 3 Votes

Question Tags

adl2099 (115) alarm (62) Alarm Console (82) alarms (100) alarm template (83) Automation (223) automation scipt (111) Automation script (167) backup (71) Cassandra (180) Connector (109) Correlation (69) Correlation rule (52) Cube (151) Dashboard (194) Dashboards (188) database (83) DataMiner Cube (57) DIS (81) DMS (71) DOM (140) driver (65) DVE (56) Elastic (83) Elasticsearch (115) elements (80) Failover (104) GQI (159) HTTP (76) IDP (74) LCA (152) low code app (166) low code apps (93) lowcodeapps (75) MySQL (53) protocol (203) QAction (83) security (88) SNMP (86) SRM (337) table (54) trending (87) upgrade (62) Visio (539) Visual Overview (345)
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