Prev: Invalid server IP address for Remote Panels under LV 8.0.1
Next: Error 1 occured at Dequeue Element
From: ltok on 19 Apr 2007 04:40 Hi I am having a problem. I am using LabVIEW 8.20, Report Generation Toolkit for Microsoft Office 1.1.2 and Microsoft Excel 2003. My OS is Windows XP (SP ) I want to build the vi attached below into an exe. The vis that I used are from addons>>_office>>excel.llb. I follow the suggestion found in the link below and add in all the files in excel.llb into my project so that it can be added into the executable as dynamic vis. However, some vis in excel.llb cannot be added into my project. After I have add all vis that can be added into the project, I build an application (exe) with the vi below as the Main vi and all other added vis (from excel.llb) as dynamic vis. After that, I build and run this exe on the same PC. I am unable to run it. This vi will save datas when I click on the stop button. After I click on the stop button, a window will pop-up and prompt me to select which directory to save the vi. When I run the exe, I type in test.xls (for example) but the file saved is a picture and not an excel file. If I just run the vi instead of the exe, Excel will open and datas and graph will be displayed in Excel. May I know where did I done wrong?? How do I use the Report Generation Toolkit in an executable with Microsoft Excel? <a href="http://digital.ni.com/public.nsf/websearch/C38CE3F30542D65B86256F0E00740DD8?OpenDocument" target="_blank">http://digital.ni.com/public.nsf/websearch/C38CE3F30542D65B86256F0E00740DD8?OpenDocument</a> Thank you & Regards Lee Self-Regulating.vi: http://forums.ni.com/attachments/ni/170/242632/1/Self-Regulating.vi Untitled Project 1.zip: http://forums.ni.com/attachments/ni/170/242632/2/Untitled Project 1.zip
From: centerbolt on 19 Apr 2007 09:40 You only need to add one dynamic vi from the Excel library. Look at page 9 of the Report Generation Toolkit manual for the specifics. <a href="http://www.ni.com/pdf/manuals/323805a.pdf" target="_blank">http://www.ni.com/pdf/manuals/323805a.pdf</a>
From: ltok on 20 Apr 2007 09:40 Hi centerbolt, Thank you for your reply. I have tried adding in just that dynamic vi found in Excel Library and my main vi but it still cannot work. Is there anything that I need to look out as well?? [View attached picture.] Thank you & Regards Lee added.JPG: http://forums.ni.com/attachments/ni/170/242933/1/added.JPG
|
Pages: 1 Prev: Invalid server IP address for Remote Panels under LV 8.0.1 Next: Error 1 occured at Dequeue Element |