LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

my excel report is not working in executable file ,however,it works well in vi

Hi all ,
 
     Could any one please help me in getting the reason behind the executable file not working for excel report generation,however I can get the same function without any problem in main vi.
 
I am attaching my code and executable file also ,please have a look into it and let me know where I am wrong.
 
Thanks & Regards !
sarita

Message Edited by MindPower on 10-24-2007 01:40 AM

Message Edited by MindPower on 10-24-2007 01:43 AM

Download All
0 Kudos
Message 1 of 6
(2,987 Views)

I can't open the vi in the moment. But by your description I think that I know the solution.

When you build the executable you've to add dinammically the vi's from report generator that aren't in your main vi hierarchy. So, you've to open the vi's and find those that are open trough "open vi reference" and add them dinamicaly.

And don't know if these tips are enough.

From NI Zvezdana S.
"When you use the Report Generation Toolkit to build a stand-alone application with the Application Builder, you must add _Word Dynamic VIs.vi from _wordsub.llb and _Excel Dynamic VIs.vi from _exclsub.llb as dynamic VIs. These two VIs contain subVIs that are called dynamically by the high-level Report Generation VIs. I believe that if you grab these VIs from the (desired office version part of the) installation CD instead of from the development machine, then everything should work. "


Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Message 2 of 6
(2,965 Views)
Are you receiving a particular error when building the executable or does it not work when you run the built application?  What version of MS Office are you using?  What version of LabVIEW?


Message 3 of 6
(2,944 Views)

Hi Jorge,

Thanks for your prompt response .

I am trying with what you have mentioned .I just want to know what vis should I add dynamically or is there need of just one vi i.e._Excel Dynamic VIs.vi

 

Thanks & Regards!

Sarita

0 Kudos
Message 4 of 6
(2,923 Views)

Hi BOB ,

 

Thanks for your prompt response.

I am using 8.2 version of LabView.I am not getting any error while building up the executable file but, I am not getiing data logged in Excel file in the executable file,However, I can log the data in any excel file from main vi.

 

Thanks & Regards !

Sarita

0 Kudos
Message 5 of 6
(2,922 Views)

Hi Jorge,

Thanks a Lot !

My problem got solved just by adding that _excel dyanamic vis.vi .

I am able to log the data in executable file also now.

Thanks a looooooooooot !!!!!!!!Smiley Very Happy

Regards!

Sarita

0 Kudos
Message 6 of 6
(2,908 Views)