LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error when using Report Generation Toolkit

Hi, all,
I am using Report generation toolkit to generate a report in either
word or excel format. But i even can't run the "new report.vi". It
returns an error code of "Bad variable type (-2147352568)", and seems
this error comes out from the "call by reference" after the
word/excel's "open VI reference". I have checked the folder
"C:\Program Files\National Instruments\LabVIEW
6.1\vi.lib\addons\_office", there are "_exclsub.llb" and
"_wordsub.llb". The respect VIs are all inside. I don't know why there
is such error. Currently i am using labview 6.1, Microsoft office 2000
and Windows NT 4.0.
Your kindly help will be appreciated very much!!!
Thannk you in advance!! ^_^

Your sincerely,
celery
0 Kudos
Message 1 of 4
(3,017 Views)
So, if you place just New Report.vi on the Block Diagram, wire in the report type and run it, it gives you this error? Do the example programs which ship with the toolset give this same error also? If so, I would just reinstall the toolset first and see if that helps. It sounds like the entire install is corrupt.
J.R. Allen
0 Kudos
Message 2 of 4
(3,017 Views)
I have encountered the same problem and I remember that NI support recommands to recompile the library
"C:\Program files\National Instruments\LabView 6.1\
vi.lib\Utility\NIReport.llb".
Try it, it will maybe help you!
0 Kudos
Message 3 of 4
(3,017 Views)
Thank you so much with your help...
However, I also consulted NI application engineer and they suggested
me to reinstall the Microsoft office 2000. I did it and now my Report
Generation Toolkit is ok.
I felt very strange why such error occur.
Anyway, my labview and also the report generation can work properly.

Thank you!

Regards,
celery
0 Kudos
Message 4 of 4
(3,017 Views)