To download NI software, including the products shown below, visit ni.com/downloads.
Read and write BLF binary files using the Vector provided DLL, or a more Raw API using the zLib Inflate/Deflate.
Vector has a custom binary file format used primarily for logging raw CAN data. When using a Vector product such as CANalyzer, a log can be done in ASCII which baloons the file size but has the most compatibility, or you can log in BLF which is a small binary file, which also has some level of object compression built in. With this API you can now read these BLF files and get the raw CAN frames in a form that is similar to the XNet frame structure, allowing for easy conversion using the XNet API. You can also use this API to perform the reverse function. Where you may want to log into a BLF file, so that Vector tools like CANalyzer can analyze and view your data.
All the core functions are implemented by calling the Vector provided DLL, which is documented online and has a shipped example installed with CANalyzer. There is an alternate API that also allows for reading and writing BLF files by not using the Vector DLL and instead uses the OpenG zip utility.
Back saved into LabVIEW 2014 (version 2) or LabVIEW 2017 for version 3, and requires the Windows platform for executing the binlog.dll. Version 8 is saved in 2018 and has an example of both the DLL version and the Raw version which requires the OpenG zip package. The OpenG zip method works on all platforms that API supports, and is much faster than the DLL method.
The external dependencies are referenced with the Package Dependency.vipc file. Once those packages are installed through VIPM, open either of the examples and run them to write and read a file.
Version History
Version 8
Version 7
Version 6
Version 5
Version 4
Version 3
Version 2
Description-Separate-2
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Currently I'm installing OpenG library to LV26.
During installation, it tells me the following:
LabVIEW ZIP library, version 5.0.9
----------------------------------
Copyright 2002-2025 Rolf Kalbermatter
Please read this document before you upgrade from an older version of LVZIP.
Version 5.0 of LVZIP is a fundamentally redeveloped package. It still has the basic ZIP functionality and the interface as before but uses underneath its own file IO functions instead of the LabVIEW functions in order to support both long pathnames > 260 characters as well as Unicode characters in paths.
While there is a great effort to keep this package upwards compatible with previous versions, there can be some differences that could require rewiring of some of the functions to make it executable again.
Version 2.2 of LVZIP has some modifications to the VI connector panes in comparison to earlier versions which might require you to slightly redo your project.
Will this affect your toolkit?
Regards
Achim