Darren's Occasional Nugget 08/14/2008

Darren's Occasional Nugget 08/14/2008

Post by Darre » Sat, 16 Aug 2008 06:10:06


Here's one of the more overlooked new "features" in LabVIEW 8.6.  The size of VI files on disk is reduced, sometimes dramatically, due to some new compression techniques we're using in saving/loading VIs.  Here are some examples of VI-based features that I've worked on and their respective file sizes in LabVIEW 8.5 and 8.6: VI Metrics codebaseLabVIEW 8.5 - 346 KBLabVIEW 8.6 - 186 KB
 LLB Manager codebaseLabVIEW 8.5 - 2,954 KBLabVIEW 8.6 - 1,615 KB VI Analyzer UI codebaseLabVIEW 8.5 - 10,149 KB

LabVIEW 8.6 -  5,589 KB So as you can see, these collections of VIs have decreased in size about 45-50%...I've seen some cases where VIs are more than 75% smaller on disk in LabVIEW 8.6.  In these days of cheap 300 GB hard drives, disk space isn't really a concern, but I figure these smaller file sizes will have other benefits, like faster VI downloads, less space taken up by SCC backups, etc.  -D

P.S. - Check out past nuggets <a href=" http://www.yqcomputer.com/ ;message.id=1669" target="_blank"> here</a>.
 
 
 

Darren's Occasional Nugget 08/14/2008

Post by altenbac » Sat, 16 Aug 2008 06:40:09

Darren, I have not tested that, but is there also a similar size benefit for built applications?

 
 
 

Darren's Occasional Nugget 08/14/2008

Post by Darre » Sat, 16 Aug 2008 07:10:05

I just checked by building an EXE out of the main VI Analyzer UI VI: LabVIEW 8.5 - 2,186 KBLabVIEW 8.6 - 1,603 KB So it appears we're gaining some benefits of the file compression in 8.6, but it's not as large as it was for VI files.  That makes sense to me, since the diagrams of most/all VIs are removed during the build process, which will inherently reduce the amount of compression that takes place. -D
 
 
 

Darren's Occasional Nugget 08/14/2008

Post by Mythil » Sat, 16 Aug 2008 07:10:06

Hmm, does this impact .llbs?  I ask because I seem to remember being told that .llb's use compression as well.
 
 
 

Darren's Occasional Nugget 08/14/2008

Post by Darre » Sat, 16 Aug 2008 10:40:17

LLBs do have their own compression that has been around forever, but I believe the compression inherent to LLBs pales in effectiveness to that implemented for VIs in LabVIEW 8.6.  Note that all of the examples I cited in my initial post primarily consist of VIs in LLBs. -D