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

Smart-Serial driver – response issues

Solved563 views28th August 2024dataminer element response errors smart-serial
2
German Ballesteros [SLC] [DevOps Member]565 4th July 2024 0 Comments

I have a Smart-Serial driver and we’re having issues when receiving the responses.

We validated the data we’re receiving from the device on Wireshark and wee’re receiving all the data. When checking on DMA element, we’re partialy receiving it and doesn’t report timeouts in the communication). It’s likely the communication is interrupted at some point but don’t have any confirmation for that (no log errors, no stream viewer errors, no SLPort errors).

The Response parameter is configured with ‘next param’, so we receive any values on that without limiting with a trailier.

One thing to take into account is that we’re not requesting the data using commands, we’re receiving it after activate the element in the DMA.

Is there something we could implement in the driver to avoid that issue? Is this a software issue?

German Ballesteros [SLC] [DevOps Member] Selected answer as best 28th August 2024

2 Answers

  • Active
  • Voted
  • Newest
  • Oldest
0
German Ballesteros [SLC] [DevOps Member]565 Posted 28th August 2024 0 Comments

To solve that issue, we updated the header/trailer params type to ‘read’ and remove the ‘headerTrailerLink’ option from all of them.

German Ballesteros [SLC] [DevOps Member] Selected answer as best 28th August 2024
0
Tom Waterbley [SLC] [DevOps Catalyst]8.89K Posted 5th July 2024 0 Comments

Hi German,

Is the data that you receive from the device binary data, that could contain 0x00 bytes? If that data is somewhere converted to a string, it would be terminated by that character.

To solve that you should retrieve the binary data from the parameter, instead of a normal protocol.GetParameter(). This can be done as follows:

object[] oData = (object[])protocol.GetData(“PARAMETER”, <parameter ID>);

byte[] data = oData.Cast<byte>().ToArray();

Also don’t forget the “read response” action and trigger before each response.

To investigate this further you could activate development logging on the element.

Tom Waterbley [SLC] [DevOps Catalyst] Edited answer 5th July 2024
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