LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Print front panel by clicking on a boolean button

Solved!
Go to solution

Hi everyone,


I need that a user can print the front panel just by clicking on a button in the front panel.

Apparently I need to use Report generation ==> Easy print VI panel + a boolean button.

But I have no idea how to make the connections. My code is in a while loop. Where I have to connect the inputs "VI path" or "contents" for example and then how to connect the boolean button ? (I just want to print the front panel)
(I have seen the manuel help on ni.com but it didn't really help me...)

Thanks for your help 🙂

Best regards

0 Kudos
Message 1 of 3
(2,757 Views)
Solution
Accepted by topic author Elohim

You just need to wire a Current VI's path to the Easy print VI panel (VI path input). And that's it. It will print the VI front panel on the default printer.

If you can't use the event structure just place a case structure and wire your Print button to the selector. First make it print on the default printer with default settings and then start to play with things such as contents.

Message 2 of 3
(2,750 Views)

Thank you !
It really helps me (it lacked me the information about the current VI's path to progress more). It should work now.

 

Regards 🙂

0 Kudos
Message 3 of 3
(2,738 Views)