Using NI LabVIEW CLI Without a GUI on a Linux Server

Updated Nov 27, 2023

Environment

Software

  • NI LabVIEW Command Line Interface

Operating System

  • Linux

The LabVIEW Command Line Interface (CLI) provides a powerful way to interact with LabVIEW applications and perform various tasks. In this article, we will explore how to utilize the LabVIEW Command Line Interface (CLI) without the need for a Graphical User Interface (GUI) which the Linux Server does not offer.

Xvfb is a display server implementing the X11 display server protocol, it will help us run applications that require a Graphical User Interface (GUI).

Installing Xvfb:
  1. Open a terminal on your Linux server and run the following command to install Xvfb
    • sudo apt update
      sudo apt install xvfb
  2. Confirm installation
    • xvfb-run --help

Graphical User Interface (GUI) is now present in your Linux server, and you can use LabVIEW Command Line Interface (CLI) without any issues.