08-25-2014 09:40 AM - edited 08-25-2014 09:51 AM
Hi All
I'm seeing different Errors using the Report generation toolkit. Maybe you can help me with that.
The errors are:
the error messages are attached to the post.
I'm testing 10 sensors with one application and want to run up to 5 applications on one computer. Since I'm seeing such errors as application is to busy I set all my report generation vi's as non-reentrant execution and additionally added some pause after each word modification.
But I'm still seeing such errors when I run two applications on one computer.
What is the best way to deal with these errors?
thanks
best regards
Urs
08-25-2014 09:50 AM
You are going to have to post your VI.
08-25-2014 10:01 AM
My best guess here is that you have Word open and that is interferring with you being able to manipulate a document.
08-25-2014 10:03 AM
in the first vi I'm saving the word document as a pdf and then dispose the report. the quite.vi is a subvi of dispose report.vi
The second attachment shows how I create the report. I'm using a word_template which i update some tables, append text and include one figure. After each modification I'm waiting some time, thought it could help with these errors....
08-25-2014 10:15 AM
@urssieg wrote:
in the first vi I'm saving the word document as a pdf and then dispose the report. the quite.vi is a subvi of dispose report.vi
The second attachment shows how I create the report. I'm using a word_template which i update some tables, append text and include one figure. After each modification I'm waiting some time, thought it could help with these errors....
Post your VIs. NOT graphic files.
08-25-2014 11:15 AM
If I am running two applications and each one tries to creating a report could this cause the crash?
08-25-2014 11:57 AM
I don't know about a crash, but when I did a project with ActiveX and Excel, I had to add a prompt to tell the user to make sure Excel was closed before I could properly get the reference. I would get an error if they had Excel open.
08-26-2014 03:14 AM
Here my Vi's involved in creating the report.
Is there a way to check wheter word is busy or already open?