LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

edit the [LDF] database file

Solved!
Go to solution

Hi,

 

I'm searching a way that can edit the database file *.ldf, cause some customers wouldn't put the Signal_endcoding_types in the ldf file. I need a way to save the "encoding" in the file with labview UI. I've found some old APIs for ldf file, but I've tried out, it seems like, that they only works on old versions. The version of my ldf file is LIN_protocol_version = "2.0"; LIN_language_version = "2.1"; does any one could tell me if there's any way that can realise my target.

Thank you in advance

 

best regards,

Melo 

0 Kudos
Message 1 of 5
(5,282 Views)
What DBMS? Can you explain your problems a bit more?

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 5
(5,239 Views)

Hi Mikeporter,

I mean the specification file *.ldf of LIN communication.

 

best regards

Melo

0 Kudos
Message 3 of 5
(5,155 Views)
Solution
Accepted by topic author Krapfen

Do you actually want to edit the LDF file?  Because if so there is nothing NI currently provides that will work for you.  If you want to use the LDF in XNet, and you want to modify settings imported from the LDF then you can use the XNet API to achive this.  When you use XNet you import the LDF (or other database files) and then you can edit the database, but this doesn't edit the LDF.  This edits the database that XNet uses, which was started by importing the LDF.

 

Recently there have been updates to XNet that allow exporting a database but I believe they only support exporting to a CAN database.  So with CAN you can import a DBC into XNet, edit it using the database editing tools, then export it back to a DBC that should have the edits you made.

0 Kudos
Message 4 of 5
(5,141 Views)

Hi Hooovahh,

thank you. it makes me much more clear.

0 Kudos
Message 5 of 5
(5,133 Views)