09-21-2009 01:34 PM
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
09-21-2009 01:36 PM
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
09-21-2009 01:41 PM
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!
09-21-2009 01:42 PM
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
09-21-2009 01:58 PM
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.
09-21-2009 02:12 PM - edited 09-21-2009 02:16 PM
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. ![]()
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.
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
09-21-2009 02:37 PM
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!
09-25-2009 01:17 PM
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
09-25-2009 01:25 PM
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.
09-25-2009 01:55 PM
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