LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV 7.1 VI prints fine. Converted to LV8.0 and it doesn't print.

I created a vi that would print when run. I used LV7.1 and it worked as beautifully. I compiled the code for LV8.0 Execution and a blank page comes out. Also, creating a new vi and setting the panel color to white will print gray. Has anyone had this problem before? Are there any fixes available for this?

Thanks,

Wil
0 Kudos
Message 1 of 10
(3,643 Views)
Wil:
 
Don't know about the blank page, but the panel printing gray is a known reported bug in 8.0.
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 10
(3,638 Views)

Wil,

Can you post a simple VI (saved in LabVIEW 7.1 format) that demonstrates this problem?  As was mentioned, I've heard of the gray printing issue, but I've not heard of the blank printout issue.

-D

0 Kudos
Message 3 of 10
(3,630 Views)
Sure thing Darren,

I've attached the a sample code in both versions. Version 7.1 works beautifully. I saved the 7.1 code to 8.0 and it prints in invisible ink. Pretty impressive.


I haven't checked but I suppose there is a patch(fix) available for this, Right?.


Thanks,


Wil
0 Kudos
Message 4 of 10
(3,621 Views)

Hi Wil,

I was unable to reproduce this behavior.  I ran the "run this one.vi" in LabVIEW 7.1 and got a printout with a picture of a tank with a white background.  I ran the "run this one.vi" in LabVIEW 8.0 and got a printout with a picture of a tank with a gray background.  The gray background is a known issue of course, but I did not get an "invisible" printout like you were mentioning.  I'm not really sure at this point why you're seeing the behavior that you described...

-D

0 Kudos
Message 5 of 10
(3,618 Views)
Hello Darren,

I see what happened. When I originally came across this problem I started to make changes to some of the options for printing and left the postscript level 2 option selected. Running the vi with this option didn't pring anything. (my fault) Going back to the Options and after selecting standard printing I ran the vi and guess what? To my amazement the vi printed perfectly as it did in LV7.1. So I decided to check the options again to see of there was something else I might've changed and sure enough, the Color/Greayscale printing option was deselected, so I selected it again and ran the vi again but the printout came out the same, no gray background shown. I figured let me try a new vi from scratch and see if I can get the same results as I did originally with the grey background. Would you believe I can't even get the vi to print. Everytime I set the vi to print after execution (in the VI properties>printing options), the selection made is not recognized. When I view the VI properties, the print after execute option is not selected anymore, eventhough I had selected before and saved the vi.

Definitely there is a problem with LV8.0 printing and it is not just an issue of printing a grey background. I was looking for a patch or upgrade on LV8.0 and found there is LV8.0.1. Upon reading its readme file, I couldn't find any reference to it. Has anyone any info on this? I don't want to install an upgrade in the middle of development if it is not going to help me. That's what ended up happening to me by starting with 7.1 and converting to 8.0.

Thanks,

Wil


Message Edited by wilvil2000 on 05-12-2006 12:14 PM

0 Kudos
Message 6 of 10
(3,609 Views)

Here's a link to what 8.0.1 resolved:

ftp://ftp.ni.com/support/labview/updates/windows/8.0.1/readme_8_0_1.html

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 7 of 10
(3,609 Views)
I performed a search on the readme document, (ftp://ftp.ni.com/support/labview/updates/windows/8.0.1/readme_8_0_1.html), and I didn't find anything related to  printing. I don't thing 8.0.1 resolved the print issue.

Thanks,

Wil

0 Kudos
Message 8 of 10
(3,595 Views)

The fact that the "Automatically print front panel every time VI completes execution" option does not retain its setting is a known issue that should be fixed in the next LabVIEW release.  As a workaround, you can either use the "Operate > Print at Completion" menubar option on the VI, or you can use the Print Panel to Printer method of the VI class to do it programmatically from the diagram.

Hope this helps,
-D

0 Kudos
Message 9 of 10
(3,595 Views)
Darren,

I think I'll use your second suggestion, "you can use the Print Panel to Printer method of the VI class to do it programmatically from the diagram"

Thank you for yor help.

Wil
0 Kudos
Message 10 of 10
(3,579 Views)