Automotive and Embedded Networks

Showing results for 
Search instead for 
Did you mean: 
Reply

Read Signal Encoding from LDF file using XNET

Read Signal Encoding from LDF file using XNET

Hi,

I'm trying to read the signal logical text table in a LDF file. The infomation should be marked under the section "Signal_encoding_types". It indicates what the value means for the signal. For instance, a siganl "W_FAILURE" (8 bit) has the following table: "0-No Failure", "1-Hardware failure".

 

Is it possible to get this out using XNET or any other LIN methods? The LDF file is attached.

Thanks!

0 Kudos
Message 1 of 6 (4,498 Views)
Reply
0 Kudos

Re: Read Signal Encoding from LDF file using XNET

Hello!

The XNET API in LabVIEW can open LDF files. They are referred to as Databses.

You will find the functions in the Functions pallette under Measurement I/O > XNET> Database

You will find some examples in the NI Example Finder under

Hardware Input and Output > LIN > NI-XNET > Databases

 

Also see

http://www.ni.com/white-paper/12375/en#toc3

 

Regards,

  Georg

0 Kudos
Message 2 of 6 (4,462 Views)
Reply
0 Kudos

Re: Read Signal Encoding from LDF file using XNET

Hi 

Thanks for the reply!

It was the question because of the LIN Message encoding, which is explicit defined in the LDF file. I need to used this part to decode the messages on the LIN bus. I've known how to read the LDF file (databse). But I didn't find the option to read out the encoding table in XNET.

 

 

0 Kudos
Message 3 of 6 (4,458 Views)
Reply
0 Kudos

Re: Read Signal Encoding from LDF file using XNET

Does anybody have an answer to this question? I have the same problem: LDF read is OK, but I don't find the right property node for the signal's logical values.

 

Madottati

0 Kudos
Message 4 of 6 (3,771 Views)
Reply
0 Kudos

Re: Read Signal Encoding from LDF file using XNET

scaling LIN data into a String table value is not support of today by NI-XNET

0 Kudos
Message 5 of 6 (3,769 Views)
Reply
0 Kudos

Re: Read Signal Encoding from LDF file using XNET

[ Edited ]

in this way you can get the infomation of signal_Encoding_tables

 

regards

Melo

 Enconding_INFO.JPG

 

0 Kudos
Message 6 of 6 (2,017 Views)
Reply
0 Kudos
//this script is to ensure MY ACCOUNT is loaded and then paste the info into the nav