LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Example on how to use the NI "saving a front panel img to file" on a prog.

New to the labview program - I'm trying to save the front panel of the displayed output to file. I downloaded "Panel_Image_to_File.zip" from the NI site. But I'm having problem using the code to our program so as to save the image as a jpeg.

A simple example on how to use the code or any other code that will be able to save the front panel to a specified folder will be great.
0 Kudos
Message 1 of 2
(2,165 Views)
All you should need is an invoke node of VI class and the the method Get Panel Image. Wire the Image Data output to the Write JPEG File on the Graphics & Sound>Graphics Formats palette. The Invoke Node is on the application Control palette. When it's on the diagram, right click and select Class>VI Server>VI. Right click on it again and select Methods>Get Panel Image.
Message 2 of 2
(2,163 Views)