LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why cann't my application print my report?

My Labview programe can work well until I use the tool "Building a Stand-Alone Application or Shared Library" .I want to change my program to be a *.exe file. The matter is that my printer can not print the report.what can I do?

I use Labview 6.02.

I am hunger for your answer.
0 Kudos
Message 1 of 6
(3,065 Views)
We are going to need a lot more information. What OS are you using? Are you using LabVIEW Pro or FDS with the applicaion builder? Are you using the report generation VIs? Does the execuatable work on the development machine? Do any built executables work? Do you get an error message, and what is it?
I want to help, but I need more info to get started.

Jeremy Braden
Application Engineering
National Instruments
0 Kudos
Message 2 of 6
(3,065 Views)
Thank you for your answer!

The OS is windows 98.I am using Labview 6i after installing the upprograme6.0.2.I know few about LabVIEW Pro or FDS.The report part of the program is modified from "Sample Test Report.vi".The other part of the application can work well,It can calculate,display,only can't print the report,And I got no error message.

My computer:PIII 800,256M memory,I815EP chip on the mainboard.
0 Kudos
Message 3 of 6
(3,065 Views)
Hi.
I experienced almost the same problem. I could run and print report on my computer with FDS Labview 6.0.2, but after distribution of stand alone application I received error message: "oleautomg.cpp line 364" and no printed report. I am using W98 on both computers.
I contacted NI, but they did not give me any useful advice. So I temporarily solved this problem by creating Excel report with minimized window, so user does not see anything on the screen. I am still looking for solution to work through normal report. On my opinion application builder does not pick up some *.dll that is necessary to print standard report.
Hope you will find some good solution and post it in here.
Good luck,
Peter.
0 Kudos
Message 4 of 6
(3,065 Views)
Hi Beemi,

I experienced a similar problem:
I developed time ago a vi in LV 5.1 that should print its panel progammatically, it worked perfectly both as a vi and as an .exe.
After updating to LV 6.0.2 and re-compiling the same vi with no-changes, the print-out gave only a blank sheet, no-one of the controls or indicators were printed and I got no error.
I had to re-build (building a new one)the same vi, with exactly the same panel and diagram in LV 6.0.2 and the printing was ok.
I actually could not figure-out what was the problem, consider that I had in my application very similar vis that could still print their panel after upgrading from LV 5.1 to 6.0.2...

Good luck,

Alberto
0 Kudos
Message 5 of 6
(3,065 Views)
Hi Beemi,

I experienced a similar problem:
I developed time ago a vi in LV 5.1 that should print its panel progammatically, it worked perfectly both as a vi and as an .exe.
After updating to LV 6.0.2 and re-compiling the same vi with no-changes, the print-out gave only a blank sheet, no-one of the controls or indicators were printed and I got no error.
I had to re-build the same vi(building a new one), with exactly the same panel and diagram in LV 6.0.2 and the printing was ok.
I actually could not figure-out what was the problem, consider that I had in my application very similar vis that could still print their panel after upgrading from LV 5.1 to 6.0.2...

Good luck,

Alberto
0 Kudos
Message 6 of 6
(3,065 Views)