Archived:Can I Build a 64-Bit LabVIEW Executable That Uses Modbus API?

Updated Apr 17, 2026

NI does not actively maintain this document.

This content provides support for older products and technology, so you may notice outdated links or obsolete information about operating systems or other relevant products.

Reported In

Software

  • LabVIEW
  • LabVIEW Datalogging and Supervisory Control Module

Issue Details

  • I want to build a 64-bit EXE for distribution, and my program is going to use Modbus API from the Datalogging and Supervisory Control (DSC) Module. However, the DSC Module is not supported in 64-bit, so how can I accomplish my goal?
  • Is it possible to build a 64-bit LabVIEW executable that uses the Modbus API from the DSC module?

 

Solution

It's not possible to build a LabVIEW executable that uses DSC module because the DSC module is not supported in LabVIEW 64-bit.

However, as an alternative, you can use the Modbus library provided by SAPHIR discussed in MODBUS Library for LabVIEW.
It provides Modbus communication from any standard Ethernet or serial port. Using the Modbus library, Programmable Automation Controllers (PACs) can communicate with gateway devices that provide connectivity to a wide variety of industrial networks, such as PROFIBUS, EthernetIP, and DeviceNet. 

To use this library in LabVIEW, please follow these steps:

 

  1. Close LabVIEW.
  2. If you have NI-MODBUS Library version 1.1 already installed, first uninstall it.
    • This can be done by going to Control Panel>>Add Remove Programs>>National Instruments Software and select NI Modbus 1.1 from the list.
  3. Copy NI Modbus.llb from ##\vi.lib to the LabVIEW_ROOT\vi.lib directory where ## is your LabVIEW version (example 86 for 8.6) and is the root folder where you installed LabVIEW.
    • Note: On Windows systems, the default installation directories for LabVIEW are C:\Program Files (x86) for 32-bit, and C:\Program Files for 64-bit. Ensure that the Modbus files are placed in the correct directory for your required bitness.
  4. Copy lvmodbus.chm and lvmodbus.txt from ##\help to the LabVIEW_ROOT\help directory.
  5. Copy nimodbus.mnu from ##\user.lib to the LabVIEW_ROOT\user.lib directory.
  6. Restart LabVIEW. You should see the NI Modbus palette in the User Libraries palette.
  7. To uninstall the library, remove all the files copied from the previous steps.