LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create zip or gz file with zlib (LVZlib)

Hi!
I downloaded LVZlib in order to compress my data and to archive them in a file (zip or gz...) compatible with winzip and co...
I can compress and decompress my data with LabVIEW but my file isn't legible with powerarchiver (winzip).
Perhaps I need to write an header or somethings like that?
Can you help me, please!
0 Kudos
Message 1 of 3
(4,287 Views)
Benjamin,

There are many ways of compressing data. The data compressed with Zlib is not compatible with WinZip. If you need to create files which can be opened using Winzip you'll need to take another approach. I've personally had luck with calling the Winzip command line interface from LV (there are some examples in the development library that use the Winzip command line). You need to install a seperate add-on to get command line support for winzip:
http://www.winzip.com/prodpagecl.htm
Alternately, you could try one of the older command line compression programs such as pkzip. Winzip should open archives created with those programs. You could also search around to see if you can find an ActiveX compression utility that supports one of the winzip compression schemes.

Regards,
Ryan K.
0 Kudos
Message 2 of 3
(4,257 Views)
benjamin.prat;

Try also the Zip Tools (lvzip) from OpenG.org. They are compatible with WinZip.

Regards;
Enrique
www.vartortech.com
0 Kudos
Message 3 of 3
(4,245 Views)