How to Run a LabVIEW Example in Linux Desktop

Updated Oct 2, 2024

Environment

Software

  • LabVIEW

Operating System

  • Linux

The purpose of this article is to explain how you can access the LabVIEW shipping examples in Linux OS. And example using Linux Red Hat 8 is shown below.

The examples in Linux are located under the following path: /usr/local/natinst/<LabVIEW>/examples

Once the name for the example is found, it can be opened from LabVIEW or in the terminal using the command: labview64 <name of the example>.vi
 

For a shipping example from  the System Configuration Driver that will list the connected hardware to the machine, assuming a computer with version of LabVIEW 2021 64 bits, then the folder path will be /usr/local/natinst/LabVIEW-2021-64/examples/nisyscfg. Once the example to run is determined, to execute use the command labview64 Show\ All\ Hardware.vi
In this case, the escape character is used ("\") between the words to prevent the shell to interpret those as separate arguments and not as a single file.
Running LabVIEW example in linux.png