08-31-2007 02:25 PM
08-31-2007 03:22 PM
08-31-2007 03:24 PM
Did you add the dynamic Vis for word and excel when you build your appplication as mentionned in the report generation toolkit documentation ?
When building applications with Report Generation Toolkit VIs, you must
complete the following additional steps:
• From the
Source Files tab of the Build Application or SharedLibrary (DLL)
dialog box, click the Add Dynamic VI button toadd the following two VIs to the application:
–
_Excel Dynamic VIs.vi in vi.lib\addons\_office\_exclsub.llb
–
_Word Dynamic VIs.vi in vi.lib\addons\_office\_wordsub.llb
• If the application you are building contains the MS Office Report
Express VI, you must add any Word or Excel templates that you use
to the built application. From the
Source Files tab, click the AddSupport File
button to add the template files to the application. Bydefault, the custom destination for the templates is the same as the path
that appears in the
Destination directory field on the Target tab witha
data subdirectory appended. Do not change the custom destinationfor the files you add.
For example, if you are using the basic Excel template with the
MS Office Report Express VI, add
MSOffice_RGT_Template.xltto the application. The basic template files are located in the
templates\Report
directory.08-31-2007 03:39 PM
08-31-2007 03:50 PM
09-04-2007 07:02 AM
09-04-2007 08:53 AM
09-04-2007 09:38 AM
jdam,
So all the subvi's in question ones that you are getting the front panel images of?
09-04-2007 09:43 AM
09-04-2007 10:17 AM
Here's a guess at what is happening.
I'll assume you are using the Append Front Panel Image to Report.vi. If you dig down into that vi you'll notice that it is opening a reference to the vi you want the image of. I'm guessing that in order to get the image it needs a couple of things. One it needs to find the vi either in memory or by a path. Second, the vi needs to retain its front panel. Seems like Application Builder rips out all the subvi front panels by default.
Including the subvi's as dynamic/support files would satisfy both criteria.