LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

New report generation vi runs but does not stop

Solved!
Go to solution

Help.....

I have a problem with New Report VI.vi block that when i use to create an excel report, it runs and does not stop. But if i restart my PC it works good for some times and again does not stop.

How can i fix it?

0 Kudos
Message 1 of 7
(3,839 Views)

For starters, post some code so we can see where you went wrong.  Preferrably a snippet.  If you don't know how to create a snippet, there are articles available that detail it. 

aputman
0 Kudos
Message 2 of 7
(3,828 Views)

You'll have to post some code on this one - as the only other thing I can think to reference is this: http://digital.ni.com/public.nsf/allkb/EFCE1C25DCE7483E86256CAF00539451?OpenDocument

0 Kudos
Message 3 of 7
(3,827 Views)

My problem is that New Report.vi runs but does not generate report in case that report type is Excel. In attached pic, it can be seen that this vi can't generate report signal. 

0 Kudos
Message 4 of 7
(3,808 Views)

You have to include the Save Report to File.vi in there with the file path instead of wiring it to your template. The webpage I posted earlier has great instructions on this.

0 Kudos
Message 5 of 7
(3,797 Views)
Solution
Accepted by topic author mikhay

Check if Excel is busy with something that is stopping it from opening a new document. Cell editing, file dialogs, explorer previews?

0 Kudos
Message 6 of 7
(3,777 Views)

Also open up the task manager and see if you have extra instances of Excel running in the background that were not closed down properly.  

aputman
0 Kudos
Message 7 of 7
(3,775 Views)