How Do I Save My Front Panel in LabVIEW

Updated Apr 5, 2018

Reported In

Software

  • LabVIEW

Issue Details

I would like to save my LabVIEW Front Panel. How can I do this, and what file formats can I use?

 

Solution

There are several options for printing a LabVIEW Front Panel:

Option 1: Print Screen

  1. Make sure that your Front Panel is the active window and press 

    <Alt>+<PrintScreen>

    ​ This will copy an image of the Front Panel to the Windows clipboard.

  2. Open an image editor program such as Microsoft Paint and press

     <Ctrl>+<v>

     to paste the image.

  3. Save the image in the desired format.

Option 2: Manual Print in LabVIEW

  1. Select File»Print.
  2. Select your VI and then click Next.
  3. Select the appropriate option under the Print Contents section and then click Next.
  • Complete front panel to print the VI name and the entire front panel.
  • Visible portion of front panel to print the VI name and the currently visible portion of the front panel.
  • Icon, description, panel and diagram to prints the VI name, description, icon and connector pane, front panel, block diagram, and hidden subdiagrams in Case, Event, or Stacked Sequence structures.
  • VI documentation prints custom setting that you define on the VI Documentation page.
  1. In the Destination section select the desired file type then click Next.
  • Printer - Edit the Page Setup and Margins sections then click Next. Edit the Printer settings then click Print.
  • HTML - Select the desired image format and color depth then click Save.
  • RTF - Select the desired color depth then click Save.
  • Plain Text - Select the character limit per line then click Save.
  1. Select the desired directory and press OK.
  2. Browse to that directory to locate the Front Panel image. The name of the Front Panel image is the same as the HTML file but with the letter p added to the end of the name. For example, if you saved your HTML file as My Program.html, the Front Panel image would be called My Programp.xxx (where .xxx is the image format you specified).

Option 3: Programmatically Print in LabVIEW

  1. Place a Current VI's Path function on the block diagram.
  2. Connect this to the VI Path input terminal of an Open VI Reference VI.
  3. Place an Invoke Node on the block diagram.
  4. Wire the VI Reference output of the Open VI Reference VI to the Reference input terminal of the Invoke Node.
  5. Select the method FP.GetImage by selecting Front Panel»Get Image.
  6. Wire the Image Data output terminal into the Image Data input terminal of any one of the write image file VIs located in the palette Graphics and Sound»Graphics Formats.
  7. Use the path input terminal of the image saving VI to specify where to save the file.

WAS THIS ARTICLE HELPFUL?

Not Helpful