LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Print Front Panel/Change Colors?

Unfortunately, the optimal GUI for display on a computer screens does not
work very well for printing. I have a program that has a lot of graphs with
black backgrounds and it really sucks the black ink if it is printed often.
In the past, I solved this issue by having a duplicate screen that I sent my
data to that had white backgrounds. In this case I have a lot of tabs,
controls, and indicators and it would take too long to create all the print
screen scenarios on a separate VI.

Question: Does anyone know of a simple method to invert colors or change
brightness of panel printouts to use less ink?


0 Kudos
Message 1 of 6
(3,237 Views)
I am also facing the same problem with you. I solved this by changing their BG color using property node. When the user press the print button, the graphs BG color changed to white first, execute the print command then changed it back to black. It can solve the printing problem but I found that changing BG color frequently is annoying to the user. It's perfect if the screen is not updated when I change the BG color.

Bill
0 Kudos
Message 2 of 6
(3,232 Views)
When using Bill's solution, you can use the "Panel >> Defer Panel Updates" property using Property Nodes. Set it to TRUE, then change colors, print the front panel, reset the color, then set the "Defer Panel Updates" to FALSE.

That way the user will never see the panel color change.

Please see the attached image.
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
0 Kudos
Message 3 of 6
(3,219 Views)
Philip,

Would you mind posting the VI that you posted the diagram screen shot of?
I'd like to copy the code into my diagram and it would save me a bit of time
if I can copy it from your VI diagram.

"Philip C." <x@no.email> wrote in message news:170214@exchange.ni.com...
> When using Bill's solution, you can use the "Panel >> Defer Panel Updates"
> property using Property Nodes. Set it to TRUE, then change colors, print
> the front panel, reset the color, then set the "Defer Panel Updates" to
> FALSE.<br><br>That way the user will never see the panel color
> change.<br><br>Please see the attached image.
>
>
> PrintWhitePanel.JPG:
> http://forums.ni.com/attachments/ni/170/100214/1/PrintWhitePanel.JPG


0 Kudos
Message 4 of 6
(3,190 Views)
That is normally not the procedure, but since you're such a nice person and Christmas is near, I'll make an exception 😉

Merry Christmas!
- Philip Courtois, Thinkbot Solutions

Thinkbot Solutions
Message 5 of 6
(3,187 Views)
Thanks and Merry Christmas to you too!

"Philip C." <x@no.email> wrote in message news:170817@exchange.ni.com...
> That is normally not the procedure, but since you're such a nice person
> and Christmas is near, I'll make an exception ;-)<br><br>Merry Christmas!
>
>
> PrintWhitePanel.vi:
> http://forums.ni.com/attachments/ni/170/100508/1/PrintWhitePanel.vi


0 Kudos
Message 6 of 6
(3,178 Views)