06-13-2013 10:10 AM
With the vi "Easy Print VI Panel..." it is possible to print the front panel of a vi. This works fine as long as the vi is not in a SubPanel.
When I want to print the SubPanel the main vi hangs. With the "Abort Execution" it is possible to terminate the main vi. After that the output is printed.
Have you experienced the same behavior?
Thank you for your help
Stefan von Kaenel
06-14-2013 07:27 AM - edited 06-14-2013 07:30 AM
Hi Stefan,
I have tried this example: https://decibel.ni.com/content/docs/DOC-28142 Please make sure you use the VI "Dispose Report".
If you are still facing this problem, could you please share your code (or an example that causes code with the same error). Which LabVIEW Version are you using?
Regards,
Thomas Just | Applications Engineering | National Instruments | NIG |
06-17-2013 03:02 AM
Hi Thomas
The vi "Dispose Report" did not help. Please see the attachment. It is a simple state machine.
I want to use the ease print vi to only print a portion of my vi.
We use LabView 2012 SP1 f3
Thanks
Stefan von Kaenel
06-18-2013 03:26 AM - edited 06-18-2013 03:27 AM
Hi Stefan
I am sorry, but I can´t reproduce the behaviour of your VI. After pressing the print button, the path and the message "please print this" is printed immediately. I don´t need to stop the vi.
I tried this in LabVIEW 2012 and LabVIEW 2012 SP1 f3.
Can you check it on another computer?
06-18-2013 05:45 AM
Hi Thomas
Now it works. The three loops in my three vis consumed 100% cpu time. Because of that printing lasted about 3 minutes.
With some wait times and a "Wait For Front Panel Activity" I could solve the problem.
Thank you
Stefan