LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Porblems with built application, using wordsub.llb

I am trying to compile a Vi that uses the New Report.vi to create a test datasheet. When I run the Vi in development mode, it works ok. When I run it after using the "build application" fucntion, the vi gives an error (Code 7). The description for the error says something about the "open vi reference". I believe the error has something to do with the "word" related vi's that are contained in the wordsub.llb.
 
 
Does anyone know what I am doing wrong?
 
Is it something with the build process?
 
 
0 Kudos
Message 1 of 2
(2,597 Views)

Are you using LabVIEW 8.0 or later?  If so, the instructions for building an executable are incorrect...they state that you must add _wordsub.llb as a Support File, but you should actually add _wordsub.llb\Word Dynamic VIs.vi as a Dynamic VI when building the executable.  Also, if you are calling any Excel-specific VIs, you would need to add _excelsub.llb\Excel Dynamic VIs.vi as a Dynamic VI as well.

Try this out and see if it works...we are planning on changing the documentation for the toolkit for the next release to indicate the different steps you need to take for building an executable with Report Generation Toolkit VIs in LabVIEW 8.0 versus previous versions.

-D

Message 2 of 2
(2,590 Views)