Discussion:
my excel report is not working in executable file ,however,it works well in vi
(too old to reply)
MindPower
2007-10-24 06:40:06 UTC
Permalink
Hi all ,
 
     Could any one please help me in getting the reason behind the executable gfile not working for excel report generation,however I can get the same function without any problem in main vi.
 
I am attaching my code ,please have a look into it and let me know where I am wrong.
 
Thanks & Regards !
sarita


test datalog.vi:
http://forums.ni.com/attachments/ni/170/279946/1/test datalog.vi
Jorge Amaral
2007-10-24 09:40:06 UTC
Permalink
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. "
MindPower
2007-10-26 04:40:05 UTC
Permalink
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
MindPower
2007-10-26 07:10:11 UTC
Permalink
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 !!!!!!!!:smileyvery-happy:
Regards!
Sarita

MindPower
2007-10-26 04:40:05 UTC
Permalink
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
Loading...