Make LabVIEW Front Panel Occupy the Entire Screen

Updated Jun 27, 2023

Environment

Software

  • LabVIEW

Operating System

  • Windows

I would like to have a front panel that occupies the entire screen when I run it. I don't want the Windows taskbar or any of the LabVIEW menus to be visible. How can I do this?

You can do this manually or programmatically.

Configure VI Properties Manually
You can configure the VI to always run in full-screen mode and not display any of the LabVIEW environment's menus or toolbars by doing the following:
  1. Go to File » VI Properties.
  2. From the drop-down list, select Window Appearance.
  3. Click on Customize and make sure the following are unchecked:
    • Window has title bar
    • Show menu bar
    • Show vertical scroll bar
    • Show horizontal scroll bar
    • Show toolbar when running
    • Allow user to resize window
  4. Click OK.
  5. From the drop-down list, select Window Run-Time Position.
  6. From the Position drop-down list, select Maximized. 
Note: These instructions will not hide the Windows Taskbar.
Note: Since the Abort button from the menu bar will no longer be visible, your VI may run continuously. To stop execution, you can use the keyboard shortcut <Ctrl-period>, though a well implemented Stop button is always recommended.

Auto-Hide Windows Taskbar
The Windows taskbar has an Auto-hide option (accessible by right clicking the Windows taskbar and selecting Properties) which will cause the taskbar to disappear after a short delay of no use. To make it reappear, move the mouse to the taskbar's previous position (often the bottom of the screen).
 
When you run a full screen VI, the taskbar will become unavailable and will not appear by mousing over the taskbar location. 

If you want your front panel to occupy the entire screen but not the taskbar, ensure that the Auto-hide feature is disabled. LabVIEW will not cover the taskbar when Auto-hide is disabled.

Configure VI Properties Programmatically
The following steps can be used to programmatically resize the front panel:
  1. Insert a VI Server Reference on your block diagram by going to your function palette and selecting Programming » Application Control » VI Server Reference.
  2. Right-click on the output terminal and select Create » Property for VI Class » Front Panel Window » Panel Bounds:
  1. Right-click the FP.PanelBounds property and select Change to Write. 
  2. The FP.PanelBounds property accepts a cluster of 4 elements. To create the cluster, right-click on FP.PanelBounds and select Create » Constant. The elements on the cluster are Left, Top, Right, and Bottom respectively, and correspond to pixel locations on your monitor.
    1. The Bottom and Right values should be set depending on the resolution of your monitor. For example, if your resolution is 1024 x 768, then the Bottom value should be 768, and the Right value should be 1024.
    2. Set the Top and Left values to 0.
  3. Close the VI reference using a Close Reference function:

Note: This method will cover the Windows taskbar.