LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Printing on completion

I have created a test program for our manufacturing using LV5.1 The only
problem is that when the main vi completes its execution I want to print the
screen ONLY if there are errors. Has anyone done this or could point me in
the right direction.

Shannon King
Manufacturing Engineer
sking@itis.com
0 Kudos
Message 1 of 4
(2,863 Views)
"Kingfish" wrote:
Shannon,

under the 'Application Control' functions there is a vi called print panel.vi,
you can put this in a case structure to print panel if there is an error.


>I have created a test program for our manufacturing using LV5.1 The only>problem
is that when the main vi completes its execution I want to print the>screen
ONLY if there are errors. Has anyone done this or could point me in>the
right direction.>>Shannon King>Manufacturing Engineer>sking@itis.com>>>>
0 Kudos
Message 2 of 4
(2,863 Views)
If I open a window and do a (print window) from the tool bar, it woks fine.
But if I check the print at complete box, I get a spool 32 error?
I have installed new drivers & labview 6.0.2 upgrades.
0 Kudos
Message 4 of 4
(2,863 Views)
Hello,
I'm sorry for answer so late, but I'm new at this news' group today.
Try to do the following: put a case structure wiring the condition to the
state of the output error cluster. In the true case put these VIs: "Current
VI's Path Constant" wired to the input "path" of "Strip Path" and its output
"name" to the input "VI name" of "Print Panel". Uncheck "Print Panel when VI
Completes Execution" at "VI Setup". I have used this solution and worked.
I hope this was usefull to your problem.

Eduardo Segura
eduardo.segura@terra.es

Kingfish escribió en el mensaje de noticias
8ilbfd$897$1@news.chorus.net...
> I have created a test program for our manufacturing using LV5.1 The only
> problem is that when the main vi completes its execut
ion I want to print
the
> screen ONLY if there are errors. Has anyone done this or could point me
in
> the right direction.
>
> Shannon King
> Manufacturing Engineer
> sking@itis.com
>
>
>
>
0 Kudos
Message 3 of 4
(2,863 Views)