LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI to control Excel and Word

Hi,

 

I understand I need to use ActiveX for the following, still have not go to grips with it!!

 

I have python code, our standard, to perform the production test and get data, 3 different arrays, into
Excel with data on one page and a graph on another.

 

This will extend out as this test will be repeated at different temperatures.

We also generate a test report for each UUT, with serial number that is read using the likes of TextPad.


The following is now the challenge??!!


We now need to get this information out of the Excel, data and charts and put it into a report which needs to be Word.


Also into this report we will need to put headers and footers, pictures on the UUT, diagrams, possible Jpg format ,a table of content, and table of equipment used.


Let’s not forget that the formatting of text with in the report will differ depending where it is to be placed

What do you think? Any pointers to some code that will help to build a frame work?

Thanks

Simon

0 Kudos
Message 1 of 2
(3,920 Views)

Basically what you need is included into two separate instrument drivers that you need to add to your project: Excel report and Word report.

I suggest you look at the documentation and the examples that ships with CVI, that you can found into  <CVI folder>\toolslib\activex\excel and <CVI folder>\toolslib\activex\word folder.

You can also look at forum posts that address this argument.

 

This material will give you the basic framework to work on and some additional hints in using the instruments.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 2
(3,916 Views)