Installing the LabVIEW DIAdem Connectivity VIs

Updated May 27, 2026

Reported In

Software

  • LabVIEW
  • DIAdem

Issue Details

I want to call DIAdem from a running LabVIEW VI and specify what data is loaded into DIAdem and how that data is displayed, among other use cases.

Solution

  1. Download the LabVIEW DIAdem Connectivity VIs 2025 Q4.zip file from this article and unzip it locally to your computer


 

 

  1. Install the LabVIEW DIAdem Connectivity VIs into the "examples" and "vi.lib" folders of the LabVIEW version you want to use


 

Method 1 : manual install

Use the "examples" and "vi.lib" folders included in the unzipped LabVIEW DIAdem Connectivity VIs 2025 Q4 folder (hereinafter referred to as "this package") to install them in the appropriate locations for your LabVIEW version.

    • Copy the "DIAdem" folder located in the "examples" folder of this package to the C:\Program Files\National Instruments\LabVIEW<version>\examples folder.
    • Copy the "DIAdem" folder located in the "vi.lib\addons" folder of this package to the C:\Program Files\National Instruments\LabVIEW<version>\vi.lib\addons folder.
    • Copy all libraries (.llb files) located in the "Platform\express" folder of this package to the C:\Program Files\National Instruments\LabVIEW<version>\vi.lib\Platform\express folder.
    • If LabVIEW is open, please restart it for the changes to take effect.

Note: If you have multiple LabVIEW versions installed, you will need to perform the above steps for each version.

 

 

Method 2: Automated installation using a batch file

Instead of the manual procedure described above, you can use a batch file (.bat) to automatically copy the necessary folders and files to the specified directories. The following is an example: This batch file automatically copies the installation files stored on a USB drive (D drive) to the corresponding  "examples" and "vi.lib"  directories of LabVIEW 2026 64-bit installation .

/E: Copies everything, including subfolders and empty folders.

/I: Treats the destination as a folder (a folder will be created even if the destination does not exist).

/Y: Overwrites existing files automatically without displaying a confirmation message.

 

@echo off
REM Batch file to copy DIAdem connectivity files from USB to LabVIEW 2026 installation

REM 1. Copy DIAdem examples folder
xcopy "D:\LabVIEW DIAdem Connectivity VIs 2025 Q4\LabVIEW DIAdem Connectivity VIs 2025 Q4\examples\DIAdem" "C:\Program Files\National Instruments\LabVIEW 2026\examples\DIAdem" /E /I /Y

REM 2. Copy express VIs
xcopy "D:\LabVIEW DIAdem Connectivity VIs 2025 Q4\LabVIEW DIAdem Connectivity VIs 2025 Q4\vi.lib\Platform\express" "C:\Program Files\National Instruments\LabVIEW 2026\vi.lib\Platform\express" /E /I /Y

REM 3. Copy DIAdem addon folder
xcopy "D:\LabVIEW DIAdem Connectivity VIs 2025 Q4\LabVIEW DIAdem Connectivity VIs 2025 Q4\vi.lib\addons\DIAdem" "C:\Program Files\National Instruments\LabVIEW 2026\vi.lib\addons\DIAdem" /E /I /Y

echo Copy operations completed.
pause

 

 

    • Please run Command Prompt with administrator privileges.
    • If LabVIEW is running, please close it beforehand.
    • Depending on your environment, please change the source path to match the location where you saved the unzipped "LabVIEW DIAdem Connectivity VIs 2025 Q4" folder.

 

The next time you launch the LabVIEW application, the new "DIAdem" palette will appear in the "Connectivity" and "Addons" categories.


 

 

 

You will also see a new "DIAdem" category in your LabVIEW Example Finder when you select the "Directory Structure" as the "Browse according to: " option.


 

Additional Information

This is the first update to these LabVIEW DIAdem Connectivity VIs since April, 2007.  In the intervening years, both DIAdem and NI-DAQ changed tremendously, and a number of the VIs had stopped working properly.  In particular, the earlier flat commands to control DIAdem REPORT modules and print to PDF file changed to object-oriented commands. 

The LabVIEW DIAdem Connectivty VIs 2025 Q4 and its shipping examples have been tested with the following product version combinations:
LabVIEW 2018 32bit / DIAdem 2017 32bit
LabVIEW 2018 64bit / DIAdem 2017 64bit
LabVIEW 2025 64bit / DIAdem 2025 Q2 

Note that ActiveX calls from LabVIEW to DIAdem will only work if both applications share the same bitness (32bit/64bit).  All DIAdem versions after 2017 released in 64bit only.