1 / 11

LabVIEW Zip Tools

LabVIEW Zip Tools. “A multi-platform Zip utility for LabVIEW”. As Presented by Jim Kring April 1, 2003. Presentation Outline. Background The shared library zlib wrapper LabVIEW API High-level VIs Advanced (De)Compression VIs Utility-level VIs and Shared Library API String Compression

casta
Download Presentation

LabVIEW Zip Tools

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. LabVIEW Zip Tools “A multi-platform Zip utility for LabVIEW” As Presented by Jim Kring April 1, 2003

  2. Presentation Outline • Background • The shared library zlib wrapper • LabVIEW API • High-level VIs • Advanced (De)Compression VIs • Utility-level VIs and Shared Library API • String Compression • MacBinary Support OpenG User Group Meeting

  3. Background • LabVIEW Zip Tools is an OpenG Toolkit (OGTK) package http://opengtoolkit.sf.net • Rolf Kalbermatter wrote the shared library wrapper around the zlib 1.1.4 (de)compression library  http://www.gzip.org/zlib/ • Chris Salzmann Compiled in Mac Classic & OS X and extended the shared library to support MacBinary Format. • lvzlib shared library compiled for Win32, Mac, Linux OpenG User Group Meeting

  4. Zlib 1.1.4 • Open Source “freeware” • http://www.gzip.org/zlib/zlib_license.html • Adler-32 Error Checking (faster than CRC-32 but slightly more probabilty of false positive on random errors 655212 vs. 232 ) • .zip file compatible OpenG User Group Meeting

  5. High-level LabVIEW API • Compress files and directories to an archive • Extract All files in an archive to a Dir OpenG User Group Meeting

  6. Advanced Compression • Open  Store  Store  …  Close OpenG User Group Meeting

  7. Advanced Decompression • Open, Extract, Close, and other File Indexing Operations OpenG User Group Meeting

  8. Utility and Shared Library Functions • Allow binary data (as opposed to files) to be written/read to/from the zip archive. • Other useful features that are abstracted from the high-level API. OpenG User Group Meeting

  9. String Compression • Operate on strings rather than files • Useful for compressing data that will be sent over TCP-IP and many other applications • This API is identical to that of a tool found on the NI DevZone OpenG User Group Meeting

  10. MacBinary Support • Macintosh file’s have a resource fork which stores metadata. • MacBinary encoding stores the file and its resource fork into a single file, so that it may be zipped. • OGPI will need this for OpenG Packages with Macintosh Files OpenG User Group Meeting

  11. Recap • http://opengtoolkit.sf.net/ or http://OpenG.org • shared library wrapper for Zlib 1.1.4 • LabVIEW API • High-level VIs • Advanced (De)Compression VIs • Utility-level VIs and Shared Library API • String Compression • MacBinary Support • Used By OGPI for (un)packing OpenG Package (.ogp) files OpenG User Group Meeting

More Related