LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to store data into log file(.doc) using CVI

The purpose is to store the capture data(from my cvi program) and store into the log file (.doc). so at the end of the program run I can retrieve the doc file where the data  store to do my analysing .

Why do this: I wanted to create my program into .exe file that why I need this method or do u have other method to intro?

Any ideal or note or example to share? Pls help

0 Kudos
Message 1 of 4
(6,331 Views)

If you are explicitly trying to create a Microsoft Word document, then CVI comes with Word Report instrument that can be used to generate such files. The instrument is located in toolslib\activex\word\wordreport.fp, while a sample program can be found in samples\activex\word\wordrpt.cws.

I suggest you take a look at the example program that illustrates the fundamentals of this instrument, next you can start designing your own application using that instrument.



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?
0 Kudos
Message 2 of 4
(6,328 Views)

Thanks for the information. let me go try out.

0 Kudos
Message 3 of 4
(6,317 Views)

how it work but when i create my program to distribution and run on other PC, the auto save fail and because it can not find the directory path name: how do i set  a fix pathname example c:\\folder1 so that the file will auto store into the fix pathname when using other PC  

 

 

0 Kudos
Message 4 of 4
(6,244 Views)