LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save an image of a frontpanel as bmp or gif.

Hi. I need to save an image of a frontpanel as bmp or gif. I did so with the frontpanel to HTML solution and it worked fine. But after building an exe application this solution is not working any more. I always get an error with the method node that transfers the frontpanel to HTML.
I used the corrected paths for the application version. So I don't think this is the reason for the error.
please help!!! thanks
0 Kudos
Message 1 of 4
(2,978 Views)
try something like this. I get an error in your vi but the invoke node i'm using doesnt seem to generate it
0 Kudos
Message 2 of 4
(2,978 Views)
I have attached a simple VI that saves the panel of the calling VI as PNG Image.

Simply place it on your diagram inside a case or event structure. If called it will prompt you for the desired filename and then create an image of the VI where it's placed.

It should be trivial to convert it to generate GIF or BMP images for your purpose. I like PNG better ;-).
Message 3 of 4
(2,978 Views)
altenbach wrote:
> I have attached a simple VI that saves the panel of the calling
> VI
as PNG Image.
>
> Simply place it on your diagram inside a case or event structure. If
> called it will prompt you for the desired filename and then create an
> image of the VI where it's placed.
>
> It should be trivial to convert it to generate GIF or BMP images for
> your purpose. I like PNG better ;-).


Image Toolbox VIs support gif read/write:

http://www.geocities.com/gzou999/imgtool.htm
0 Kudos
Message 4 of 4
(2,978 Views)