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.
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
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.
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.
in this way you can get the infomation of signal_Encoding_tables
Like the other guys (wilburwu, EDAG_Ingolstadt and Madottati) I would like to read in a LDF file the signal logical text table that it is marked under the section "Signal_encoding_types".
It seems that in September 2016 (more than 3 ½ years after the opening of this topic) it is still not available with NI-XNET.
I am using NI-XNET 15.5 with LabVIEW 2012 and PXI-8516/2.
Can anybody from NI tell us if one day it will be done ?
I think it's a shame not to have this feature, because as wilburwu wrote a signal "W_FAILURE" (8 bit) has the following table: "0-No Failure", "1-Hardware failure" and it is more convenient to read a text than understanding a number.
I can confirm that Signal Encoding Types have not been added to XNET as of version 16.0.
I will check the list of requested features to make sure signal encoding types is represented and update the request if it is. Unfortunately, I cannot predict if the feature will be implemented in the future or not.
As I see, there is an already declined idea in the Idea Exchange:
The topic has been declined because nobody has kudoed it.
I created a new idea, please kudo it, maybe NI will take care then:
Thanks for your reply.
Hope that it will be done one day : especially as the information exists in the LDF file.