Managing the Resulting Files from a Build Containing LabVIEW ClassesPrimary Software: LabVIEW Development SystemsPrimary Software Version: N/A Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: When building an executable using a LabVIEW 8.6.1 (or prior) class dependent architecture, one example includes the Report Generation Toolkit VIs in LabVIEW 8.6, there are multiple directories containing support VIs that are included. Is there a way to minimize the number of files that are created or consolidate the files to distribute? Solution: In LabVIEW 8.6 and earlier, the Application Builder saves VIs and library files in a flat list within the application and saves VIs with conflicting filenames outside the application in separate directories. The Application Builder no longer moves VIs with conflicting filenames outside of stand-alone applications, shared libraries, or Web services for build specifications you create in LabVIEW 2009. Because of this change, the following solution is only applicable to LabVIEW 8.6.1 and earlier. See LabVIEW 2009 Help: LabVIEW 2009 Features and Changes for more information. When building applications or shared libraries that use LabVIEW classes, Application Builder will place the files that have name conflicts in folders outside of the application. This is due to the mechanism that is used to build applications in LabVIEW. However, in certain cases you may want all files to be within the application. To minimize the number of files generated, you can follow this approach to create LLBs with .dll extensions which will mask the behavior from the end user.
Related Links: LabVIEW 2009 Help: LabVIEW 2009 Features and Changes KnowledgeBase 496CKS45: Error When Building an Executable Containing LabVIEW Classes Attachments:
Report Date: 08/21/2008 Last Updated: 08/20/2009 Document ID: 4OKDCDES |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
