NI Home > Community > NI Discussion Forums
Reply
Member
wilburwu
Posts: 180
0 Kudos

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!

Active Participant
GeorgJ
Posts: 261
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

Member
EDAG_Ingolstadt
Posts: 1
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.

 

 

Member
Madottati
Posts: 51
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

Member
Gibson
Posts: 141
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