Presentation is loading. Please wait.

Presentation is loading. Please wait.

As Presented by Jim Kring April 1, 2003

Similar presentations


Presentation on theme: "As Presented by Jim Kring April 1, 2003"— Presentation transcript:

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

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

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

4 OpenG User Group Meeting
Zlib 1.1.4 Open Source “freeware” Adler-32 Error Checking (faster than CRC-32 but slightly more probabilty of false positive on random errors vs. 232 ) .zip file compatible April 1, 2003 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 April 1, 2003 OpenG User Group Meeting

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

7 Advanced Decompression
Open, Extract, Close, and other File Indexing Operations April 1, 2003 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. April 1, 2003 OpenG User Group Meeting

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

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

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


Download ppt "As Presented by Jim Kring April 1, 2003"

Similar presentations


Ads by Google