How Do I Know if My LabVIEW Executable is 32- or 64-bit?

Updated May 27, 2022

Reported In


  • LabVIEW

Issue Details

I have a LabVIEW executable that I would like to run, but I don't know what bitness of LabVIEW that compiled the code. In other words I don't know whether I need the 32-bit or the 64-bit version of LabVIEW Run-Time Engine to run it.

Is there a way to determine the bitness of an executable without executing it?


One way to retrieve this information is to read the executable as a text file and look for a certain string.

Early on in the text, the two letters PE appear followed by either an L or a d. If the character proceeding the PE is an L, the bitness of the executable is 32-bit, and if it is a d, the bitness of the executable is 64-bit.

The following example VI takes in an executable and extracts its bitness using the method described above.