LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Report Generation VIs

Hi everybody,
does anybody know a reliable way how to print from one EXE done in LV6.0.2
under W9x,WinNT, W2K?

First we used direct print VI panel, after VI completition, but there are
many problems with it. Then we left it and switched to report generation,
now we are at the same situation.
-Report generation does under WinNT and W2K different size of report on
printer printout, NI-support suggest: LET USE W98.
-Using W98, printing on printer with page format A4, EXE crashed. NI-support
suggest: LET USE WinNT,W2K

I hope you understand, there is no way to distribute 3 different EXE just
because of incorrect printout behaviour.

Another problem we found in report generation VI's:
After printing to printer, the memory space used by LV is growing while

using report generation VIs after every print even though I closed report
reference. Each print make app. or LV allocated memory 3 MB higher. The
newly allocated memory is no more released and all VI's are after 3to 5
printouts really slow.

Seems to us, there is no way how to use report generation VI's.
Can anybody help how to do printouts?

Thanks in advance
0 Kudos
Message 1 of 3
(2,396 Views)
You may consider using an ActiveX control or DLL to do the printing job. For example, in VB is very simple to use the Printer object (it's similar to drawing on screen). It will be an extra work but you can customize your report exactly as you want.
0 Kudos
Message 2 of 3
(2,396 Views)
I am also facing the same problem....one more reason to crash exe is that if u have Labview & Exe both installed on the same PC then the Exe file runs through Labview supported dll files so may be NI Reports have been corrupted after making EXE so once uninstall
- EXE program
- Labview run time engine
- Complete Labview program with "Remove all" option then restart PC (Required)
Now GO to Windows Run function(above Shut Down option)
Type "regedit" ..go to HKEY_LOCAL_MACHINE -> Software -> National Instruments ..find a folder "NI Reports" if present ..delete it ..if not ...exit then install your exe program..try it ....also now if you install Labview...your exe should work fine....
Also if u can print the panel by "Print panel Vi" but Monitor color res
olution should be 256 color else you would be getting "image.cpp" error so Go to Desktop->Right click -> Properties -> settings - you will have options to select 256 color resolution ....then I think this would also work
0 Kudos
Message 3 of 3
(2,396 Views)