Presentation is loading. Please wait.

Presentation is loading. Please wait.

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

Similar presentations


Presentation on theme: "As Presented by Jim Kring April 1, 2003 LabVIEW Zip Tools “A multi-platform Zip utility for LabVIEW”"— Presentation transcript:

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

2 April 1, 2003 OpenG User Group Meeting 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

3 April 1, 2003 OpenG User Group Meeting Background LabVIEW Zip Tools is an OpenG Toolkit (OGTK) package  Rolf Kalbermatter wrote the shared library wrapper around the zlib (de)compression library  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

4 April 1, 2003 OpenG User Group Meeting Zlib Open Source “freeware” –http://www.gzip.org/zlib/zlib_license.htmlhttp://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 vs ).zip file compatible

5 April 1, 2003 OpenG User Group Meeting High-level LabVIEW API Compress files and directories to an archive Extract All files in an archive to a Dir

6 April 1, 2003 OpenG User Group Meeting Advanced Compression Open  Store  Store  …  Close

7 April 1, 2003 OpenG User Group Meeting Advanced Decompression Open, Extract, Close, and other File Indexing Operations

8 April 1, 2003 OpenG User Group Meeting 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.

9 April 1, 2003 OpenG User Group Meeting 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

10 April 1, 2003 OpenG User Group Meeting 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

11 April 1, 2003 OpenG User Group Meeting Recap or shared library wrapper for Zlib 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


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

Similar presentations


Ads by Google