LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

printing vis

Hi, I am using a small vi file to print out something and i dont know what happens, every time i try to print it out nothing comes out of the printer.
But when I run that vi from some other computer it prints from there. i dont know if anything wrong with my computer or its the vi... Suggestion
0 Kudos
Message 1 of 4
(2,745 Views)
Printing in LV is a problem that is as old as LabVIEW.
As far as I understand you question you might have
no standard printer in Windows or there is a driver
problem.
There is a VI available in the knowledge base that
kan be unes to select the default printer.
Try to implement this one first and tell us if it
is possible to print with another printer.
It might be possible that you install fineprint too.
With fineprint you can create PDF files and it works
as a printer.
This way you can see if there is anything non senseless
generated by LabVIEW on your computer.

With kind regards

Martin
With kind regards

Martin Kunze

KDI Digital Instrumentation.com
e-mail: martin.kunze@digital-instrumentation.com
Tel: +49 (0)441 9490852
Message 2 of 4
(2,734 Views)


@SAL2005 wrote:
Hi, I am using a small vi file to print out something and i dont know what happens, every time i try to print it out nothing comes out of the printer.
But when I run that vi from some other computer it prints from there. i dont know if anything wrong with my computer or its the vi... Suggestion


Hi,

I do have printer installed in the window. I can print from word and excel perfectly, but with this VI I can't.
When I try to print and see the errors, it says...Class not registered in New Report.vi.
How do I track the errors sequentially and debug the VI?
Thaks

SAL
0 Kudos
Message 3 of 4
(2,712 Views)
Hello Sal,

The best way to track errors in LabVIEW is with the use of the Error Cluster, and the "Highlight Execution" mode in LabVIEW. Make sure that you are always wiring Error Clusters (the pink wire at the bottom of VIs usually) between your VIs. You can turn on execution highlighting by pressing the icon that looks like a light bulb. Run the VI and watch your block diagram to see where the error occurs.

Travis M
Applications Engineer
National Instruments
Travis M
LabVIEW R&D
National Instruments
0 Kudos
Message 4 of 4
(2,690 Views)