Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Support for Long Names with QCanDbcFileParser?
Qt 6.11 is out! See what's new in the release blog

Support for Long Names with QCanDbcFileParser?

Scheduled Pinned Locked Moved Unsolved General and Desktop
canserialbusqcanbusdbcfileparserdbc
2 Posts 2 Posters 208 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kyle Smith
    wrote last edited by Kyle Smith
    #1

    I noticed when parsing a DBC file, the signal names truncate to 32 characters. I think this limitation is based on older systems/tools, but the DBC files used by the customers I'm developing for exceed this limit. I don't know much about DBC standards. As far as I'm aware, what I'm looking for is support for the "SystemNodeLongSymbol" attribute for objects in a Vector DBC. Any advice?

    Edit:
    I wanted to also add that I was able to solve this by first parsing the long names using regular expressions, then having a custom QMap for the long names and the QCanSignalDescription objects returned by QCanDbcFileParser. I'm mainly wondering if there's a better way to go about this that I'm missing.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote last edited by
      #2

      Hi and welcome to devnet,

      Which version of Qt are you using ?
      Can you provide a minimal compilable example that shows this issue ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved