LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 97 when running built application and printing report.

I get the following message:

Error 97 occurred at Unknown System Error in Print Report.vi->PM Workorder.vi->NEW PM main.vi
Null Refnum was passed in as input

when I try to run my built application, but it will run fine as a vi. I am using the Report Generation Toolkit with the Excel functions. I am opening an Excel template, adding data, and then printing. When I run the built application it looks like Excel is not opening up, but when I run the vi, I can see excel open and the report is sent out to the printer. I am running both the built application and the vi on the same computer.
0 Kudos
Message 1 of 3
(3,137 Views)
Hello,
I found a similar problem some month ago. I solved including in the application the excel vi's library, that you will find in the labview directory addons.

I hope this info will help you!
Regards
Neon
Message 2 of 3
(3,132 Views)
Thanks, that's what I was missing.
0 Kudos
Message 3 of 3
(3,115 Views)