From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This VI demonstrates how to open and output signal names of a LDF database file using using the LDF Starter Kit VIs.
Description
This example uses the LDF Starter Kit VIs to read content from a LDF database file. Read content can be determined by one of the following options:
Signals, Frames, Signal_encoding_types, Diagnostic_frames, Node_attributes, Schedule_tables, Sporadic_frames, Event_triggered_frames, Signal_representations, composite, Signal_groups.
Requirements
Software
Hardware
Steps to Implement or Execute Code
Additional Information or References
**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text ‘NIVerified’. Read here for more information about the new Example Guidelines and Community Platform.**
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
It does not work with v2.1 LDF files
Do we have any example for v2.1 ldf ??
I am having the same issue. I have a USB-8476. The above link talks about using xnet, of which I do not have the card for that. Is there another example to use? When I load the .ldf file using the above test database, it crashes my program. Thanks.
I didn't have the XNET card either. However, you may install and use XNET without the XNET-LIN PCI/PXI.
So just try the XNET, the example above is just for LDF2.0- but not for LDF2.1+.
Not sure about using XNET. I am still new at this stuff. I need to open an .ldf file and read the information. For instance, when I plug into a battery and I want to read its state of charge, I would load the .ldf into labview and read parameters like voltage or current or resistance (used for physical health of battery). However, when I open the .ldf, it still crashes the program. I did use the examples up above. I then look around for an XNET caller that will allow me to do the same thing but no such example exists, unless it is named something other than what I am looking for.
Also, does XNET even support 8476?
Thanks for the help
Hello guys,
Using this method Is it possible to :
-Open an LDF file
-Send LIN Frames through Labview with USB-8476s using the LDF file
?
Yes you can use the 8476 interface and a LDF that is of a v2.1. Here is an example make sure you read the READ ME File.