Skip to content

Diagnostics_Addon_Temp_DB #11

@mhx0

Description

@mhx0

Hi all,
I apologize if this is not the right place to ask for information but I don't find any forum or similar "place".

I discovered that the CD requires a "support" XNET database called "Diagnostics_Addon_Temp_DB," which is an empty database. For reasons too long to explain here, this dependency causes me some usability issues.

I've inspected the source code of the engine and I've found the dependency lies in XNET.DB.Initialize.vi where the database is opened as a "workplace" where dynaically create the two frame for TX and RX of UDS data (my guess).
Given that the Diagnostics_Addon_Temp_DB is almost an empty database I've replaced the static XNET Alias with an "in memory" datatbase and now the dependancy is gone and, up to what I can test, the CD still works fine.

I haven't looked closely at the rest of CD's source code, so I'm here to ask someone more knowledgeable about the internal workings of CD whether switching to an empty "in-memory" database would be harmful to CD.

Image Image

I'm currently working on the configuration side of things to remove the automatic database dependency addition; if anyone thinks it might be helpful, I could make a pull request.

Cheers,
D.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions