LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unzip files within labview

If you installed lvzip-2.5.1-2 then you should find that file in your <LabVIEW>/user.lib/_OpenG.lib/lvzip together with a readme.txt that explains this step somewhere.

 

Rolf Kalbermatter

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 71 of 91
(2,918 Views)

Unfortunately we have no power about LabVIEW itself and can not make it do things different than it does. And code deployment during building of an RT target is definitely a LabVIEW thing and not something our packages can change.

 

What has changed is that the latest version also installs the appropriate *.out file even for LabVIEW 2009.

 

Rolf Kalbermatter

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 72 of 91
(2,917 Views)

IT WORKS!. That was it. Had to transfer the .out file over. Do I have to do that every time I compile the VI or just once?

 

You guys are awesome by the way!

---------------------------------
[will work for kudos]
Message 73 of 91
(2,912 Views)

rex1030 wrote:

IT WORKS!. That was it. Had to transfer the .out file over. Do I have to do that every time I compile the VI or just once?

 

You guys are awesome by the way!


Only evertime you have a new cRIO controller, or reformatted an existing one :-).

 

Rolf Kalbermatter

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 74 of 91
(2,910 Views)

I can't thank you guys enough for making this work on cRIO devices. Mad Kudos to Rolf and Jim.

 

Shame on NI for not having this functionality already. 

---------------------------------
[will work for kudos]
Message 75 of 91
(2,901 Views)

rex1030 wrote:

I can't thank you guys enough for making this work on cRIO devices. Mad Kudos to Rolf and Jim.

 

Shame on NI for not having this functionality already. 


They can't do everything!

 

This is a project that started somewhere back in 2001 or so as a trial and if I would put all the hours up that I have spent on it since, then boy this would be a very expensive library. Smiley Very Happy

 

And in fact it is a bit demotivating when you have spent so much time for something and then NI goes and puts the whole feature directly into LabVIEW. I'm not saying they are stealing but it feels a bit like that. Smiley Wink

 

Another issue is copyright. The libraries I used have a rather liberal open source license so creating an open source library out of them is no issue at all. Integrating it into LabVIEW, while I believe the license would make it legal, is still a battle with any corporate legal departement.

 

Rolf Kalbermatter

 

Message Edited by rolfk on 09-21-2009 09:16 PM
Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 76 of 91
(2,899 Views)

Zipping in RT is definitely something we've seen requests for, so I wouldn't be surprised to see native support for it sometime soon in a future version (although that's just speculation on my part).  As Rolf says, we can't do everything, and it takes a fair amount of development and testing time to fully implement new features and make sure they behave properly and "play nice" with the operating system.

 

In the meantime, we definitely have to give a big thank you to Rolf and the OpenG community for satisfying demand for this sort of thing.  I know it takes a tremendous amount of work to put something like this together, but the LabVIEW community really appreciates your efforts.  If this feature does ever become natively supported, I hope you don't get demotivated or take it personally.  Just look on the bright side and remember that the burden of supporting it will then rest on us instead of being solely on you!

Message 77 of 91
(2,899 Views)

I have the same problem as the first response in this discussion.  I have a .dat file with zlib compressed binary data that I would like to uncompress in Labview.  Could someone tell me the summary of what has been solved in this discussion?  Has the question been answered?  Is there a way to uncompress zlib binary data in Labview?

 

Thanks

0 Kudos
Message 78 of 91
(2,843 Views)

Unzipping in LV is not a problem (thanks to Rolf Kalbermatter), it is an OpenG package that has been around for a while.

 

The best way to get it, and lots of other goodies is to install the VI Package Manager, from here: http://www.jkisoft.com/vipm/download/

 

Most of the discussion in this thread lately is about using it in LabVIEW RT though...That's also available using the same package...but it can be a little more work to get it up and running.

Message 79 of 91
(2,838 Views)

hilbert wrote:

I have the same problem as the first response in this discussion.  I have a .dat file with zlib compressed binary data that I would like to uncompress in Labview.  Could someone tell me the summary of what has been solved in this discussion?  Has the question been answered?  Is there a way to uncompress zlib binary data in Labview?

 

Thanks


In addition to what Mads said, the LVZIP package is mostly about creating and accessing ZIP files. Hoewever it does make use of the ZLIB functions for the compression and uncompression of the data and the pure ZLIP Compress and Uncompress functions are also available as seperate VIs. Look for the ZLIB Inflate and ZLIB Deflate functions in the package which take a ZLIB compressed byte stream (LabVIEW string) and return the uncompressed data stream (also a LabVIEW string), respectively the opposite.

 

Rolf Kalbermatter

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
Message 80 of 91
(2,831 Views)