Checking Computer Information Like Windows OS or Bitness Using LabVIEW

Updated Aug 24, 2020

Reported In

Software

  • LabVIEW

Issue Details

I want to get my computer information, Windows OS version, bitness, name and so on using LabVIEW VIs. Is there any way to get computer information? If so, which function should I use?

Solution

You can check your computer information from LabVIEW using the System Exec VI. System Exec.vi is located in Functions Palette>>Connectivity>>Libraries&Executables>>System Exec.vi. Using the System Exec.vi, you can execute Windows-based applications or Command-line applications.

To determine computer information from the command line, input the value systeminfo in the command line input. 
 

 Note: This image is a LabVIEW snippet, which includes LabVIEW code that you can reuse in your project. To use a snippet, right-click the image, save it to your computer, and drag the file onto your LabVIEW diagram.