LabVIEW 2013 Report Generation Toolkit for Microsoft Office Help
»View Product Info
You can include Report Generation VIs when you build stand-alone applications and create shared libraries in LabVIEW. You must use the Application Builder to build stand-alone applications.
||Note The LabVIEW Professional Development System includes the Application Builder. If you use the LabVIEW Base Development System or Full Development System, you can purchase the Application Builder separately by visiting the National Instruments Web site.
When building applications with Report Generation VIs, you must complete the following additional steps:
- Verify all files and VIs you use to build an application are in the LabVIEW project.
- Add the following files to the LabVIEW project:
- labview\vi.lib\Utility\NIReport.llb\Standard Report\NI_Standard Report.lvclass if the application uses standard reports.
- labview\vi.lib\Utility\NIReport.llb\Word\NI_Word.lvclass if the application uses Microsoft Word.
- labview\vi.lib\Utility\NIReport.llb\Excel\NI_Excel.lvclass if the application uses Microsoft Excel.
- From the Source Files page of the Application Properties or Shared Library Properties dialog box, navigate to and select the class files you added to the project. Click the right arrow button next to the Always Included list to add the class files to the application.
- If the application you are building contains the MS Office Report Express VI, you must add any Microsoft Word or Microsoft Excel templates that you use to the LabVIEW project and to the application. From the Source Files page, select the template you use and click the right arrow button next to the Always Included list to add the template file to the application.
For example, if you are using the basic Excel template with the MS Office Report Express VI, add MSOffice_RGT_Template.xlt to the LabVIEW project and the application. The basic template files are located in the labview\templates\Report directory.
||Note The default custom destination for templates is a data subdirectory of the destination directory. Do not change the custom destination for the templates you add.
- If the application you are building contains the Word Add New Document VI, ensure that the version of Microsoft Office installed on the target computer is compatible with the application. Applications containing the Word Add New Document VI that you build on a computer with Office XP can run only on target computers that also have Office XP. Applications containing the Word Add New Document VI that you build on a computer with Office 2003 or 2007 can run only on target computers with either Office 2003 or Office 2007.