LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to obtain the VI image?

Hi
Any one can tell me how to obtain the front panel image? I have made the attached program, but it does not work. Thanks
0 Kudos
Message 1 of 4
(2,612 Views)
Hi Keysucces,

what is it that you want to do?
Your code looks OK to add your VI image to a report, their are several options to get the image of a VI front panel.
One option is the Code Capture Tool.

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 4
(2,606 Views)

Hi

I tried the capture panel picture.vi, but how can I choose a VI which I need its image?

Thanks

Keysuccess

0 Kudos
Message 3 of 4
(2,599 Views)
The attached VI shows the basics of how to save an image of a VI's front panel:

1) You open a reference to the VI
2) Using invoke node, you then get the front panel image.
3) Close the VI reference
4) Save the image to the file format of your choice (I picked the VI for JPEG - you can use which every one you want).

In the top path control enter (or browse to) the path to the VI that you want to capture. In the second path control, enter the path (and filename) for the destination image file. Run this VI and it will create a file containing the front panel image of the VI you selected.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 4 of 4
(2,564 Views)