11-05-2008 02:05 PM
I have a system wherein I want to print the front panel at the completion of the VI *IF the user pushes the 'PRINT' button*. I can set it to print all the time, through the menus, but I can't find how to control the printing through LabView. At the moment the 'Print' button "My eyes! The button does nothing!"
See attached PDF for what I have in mind. This is the same PDF as a previous posting.
Thanks, Scrx
Solved! Go to Solution.
11-05-2008 05:41 PM
How about this:
Put your print logic at the very end of your code (but still inside a while loop).
The user has two options:
1) Press stop, which will stop the loop, stop the program, and NOT print the front panel
2) Press print, which will enter an event structure, which contains the logic for printing, then stop the loop and stop the program.
Both ways, the program will end by a user event, it is just whether or not printing occurs.
I can explain more if you have questions about what I am talking about.
11-05-2008 05:55 PM
Hi Cory,
The while loop is already there, and it (at the moment) does nothing, but the problem is that I can't get LabView to 'Print Front Panel' except by checking that box in the menu, and I don't want it to print every time, I want it to print when the user clicks on the 'Print' button...
Thanks, Scrx
11-05-2008 06:11 PM
11-10-2008 05:56 PM