10-04-2010 01:34 PM
A few months ago I developed an application that involves the Report Generation toolkit. (LV 2009 SP1, NI Developer Suite 2010 DS1) The application ran well using Word 2003 until the customer had to replace the computer. Subsequently they setup a new computer with Word 2010 installed. Now however, an appended table is not generating correctly. The problem is that column labels are printing where the data should be. All other non-table bookmarks are working correctly.
The customer tried a backup version of the template. They also deleted and manually created the table bookmark to no avail. Preliminarily there appears to be a problem with Word 2010 and I do not have a system with it installed to confirm. Is anyone aware of problems with Word 2010 and report generation using bookmarks?
Dave
10-05-2010 05:23 PM
Unfortunately Office 2010 was not supported until LabVIEW 2010 Report Generation Toolkit. The 2009 Report Generation Toolkit was not tested with Word 2010 and therefore its very possible that Microsoft changed some things that are no longer compatible with the toolkit. Do you experience the same problem with LabVIEW 2010?
For your Reference:
LabVIEW 2009 Report Generation Toolkit for Microsoft Office Readme
LabVIEW 2010 Report Generation Toolkit for Microsoft Office Readme
10-08-2010 04:17 PM
Hi David,
I''ve just received LV v.2010 and have installed it. However, the application has not yet been built using v.2010. I'm also in the process of acquiring a copy of Word 2010. Your indication that I need to update Report Generation has lead me in the right direction.
Thanks,
DJ
10-11-2010 04:15 PM
Great, well let us know if you get the same problem with LabVIEW 2010.
11-05-2010 11:51 AM
Hello
I got similar problems with the table-into-word10-with-report-generation-toolkit behaviour.
I'm trying to write a table with the Report Generation Toolkit (RGT) Vi's into a MS Word 2010 document. When writing the table, only the first row is correct written. The following rows of the table have also been filled with the values of the first row!?!
I've tried the following constellations:
LV2010, RGT 2010, Word 2010
LV2009, RGT 2009, Word 2010
exactly the same effect. seems really to be a word 2010 problem.
I found out, that the vi NI_ReportGenerationToolkit.lvlib:Word_Insert_Table.vi writes the data table into the word document. In this vi is a subvi called NI_ReportGenerationToolkit.lvlib:Word Set CB.vi which is password protected. I don't understand what this vi does, but could it be possible that there is the point to get it working?
Instruction to reproduce this behaviour:
11-08-2010 03:52 PM
I'm working on finding a test machine with Office 2010 and I'll update you if I'm able to reproduce the problem or not.
11-09-2010 01:14 PM
Hello,
I have replicated and confirmed the problem with LabVIEW 2010, Report Generation Toolkit 2010 and Word 2010. I have filed this to R&D under CAR ID #257414. As a workaround you can manually set each cell using Word Edit Cell.vi. I have attached a simplified representation of this unexpected behavior as well as the workaround. Hopefully this helps everyone out!
11-30-2010 04:56 AM - edited 11-30-2010 04:59 AM
If i understand correctly, the Word Set CB.vi copy the input string into system clipboard. You can try to Ctrl-V manualy into Word document after executing Easy Table.vi to see it. I have a problem to insert russian text into table...
11-30-2010 06:03 AM
I replace Word Set CB.vi with this vi and it work fine now, even whith russian symbols in cell.
12-01-2010 09:25 AM
And you must change keyboard layout to your local language, before execute Set_CB.vi Only after this manipulation local symbols copy to clipboard correctly.