LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate report using Word Report Generation VIs error

 

 

When I Generate report using Word Report Generation VIs  ,the error is generated.

error.jpg

 

 

This is  my Vi

1.jpg

2.jpg

can somebody  tell the error reason?

 

The attaché is Vi (one is 2011,other is 8.6)

 

Download All
0 Kudos
Message 1 of 15
(3,509 Views)

3.jpg

probe 6 is error

4.jpg

0 Kudos
Message 2 of 15
(3,499 Views)

Error 7 is a file not found error. Make sure the path to your template (and the template extension .doc or .dot or docx ...) is correct.

 

Ben64

0 Kudos
Message 3 of 15
(3,490 Views)

I have  using this

7.jpg

 So the path to my template is relative path, and the template extension .doc is correct.

 

Can you run my Vi

 

Thank you!

0 Kudos
Message 4 of 15
(3,486 Views)

When I ran it the template was not found (the template and the vi are in the same folder). I had to modify the relative path to this:

 

report2_BD.png

 

Ben64

0 Kudos
Message 5 of 15
(3,480 Views)

I had modifyied the relative path to this:

8.jpg

 

But the error is apperaed:

9.jpg

 

probe 14 15 16 is error

 

10.jpg

 

0 Kudos
Message 6 of 15
(3,469 Views)

Are you the Vi is coreect when you modified the  path ?

Can you pass me your run VI?

 

 

0 Kudos
Message 7 of 15
(3,467 Views)

I can't run your code without error since my MS Word doesn't recognize chinese characters. What you are seeing is an error that was hidden by the first one (the file not found error). The error you are showing is after the Word Update Graph vi. To use this vi you first need to have a graph in your template, which is not the case, that's why you get an MS Word error message. You can use the Word Easy Graph vi instead.

 

Ben64

0 Kudos
Message 8 of 15
(3,464 Views)

Hi Ben64

         

             Thank you! The problem is solved.

   BUT when I use the Word Easy Graph vi  ,the result is 11.jpg

 

I want the Graph (curve),like as:13.jpg

 

How Can I do get the picture.

 

I have other problem. I want to get default name for the new word file.

liang

 

0 Kudos
Message 9 of 15
(3,454 Views)

There is a graph type input to the vi. Right click on it, select create constant and change the value to the type of graph that you want.

 

Ben64

0 Kudos
Message 10 of 15
(3,446 Views)