LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help! I'm in need of some cross platform compression and decompression routines please!

I have performed automatic compression and decompression of files controlled by a LV application using the software WINRAR.

Refer to the site: www.winrar.com for download and documentation.
0 Kudos
Message 2 of 5
(3,073 Views)
I've tried the same, but to no avail. There are several routes you might want to try though. On systems with a command-line: use gzip or zip to compress the file after you've written the data to file. You can dynamically load the appropriate VI on the system you are currently using. (There is no way to do this correctly, as the Windows and Unix system call interfaces are different. Doing this on tha Macintosh is *very* hard, and required intimate knowledge of PPC fot the mac: not something you want to try for yourself).

Another method might be to use a library call to compress your data. zlib is ported to most systems and can do this. I think you can call the functions in zlib directly using the "call library function" function of LV. You may need a wrapper, as some of
the zlib function use non-standard function-types. Requires some reading of the zlib manuals. Let us know if you have any results using this technique.

Maarten
0 Kudos
Message 3 of 5
(3,073 Views)

Alberto,

Can I get some help on coding WinRAR into LabVIEW.  I have a post going on this, but no one has been able to help.  I am routing through the system exec vi.  Any help would be appreciated.

 

Thanks,

 

A

 

0 Kudos
Message 4 of 5
(2,668 Views)
for others: posted here
0 Kudos
Message 5 of 5
(2,660 Views)