LabVIEW Error -2564 When Working with Different File Formats

Updated Sep 20, 2022

Reported In

Software

  • LabVIEW 2017 Full
  • DIAdem 2017 Base

Issue Details

  • I am using LabVIEW to open and read a specific format (like .mdf, .uff, .mat or other). Upon attempting a read or write operation on the file using data storage functions (DataPlugins), I get the following error dialog box:
  • I am building an installer and I get Error -2564 when I run the installer in other computers. I don't get the error in the development computer.
  • When running an executable on a new system, my machine receives Error -2564. How do I fix this?

Solution

This error comes up when requisite software packages (plug-ins) to support the format of the file you are trying to open are not installed through LabVIEW or DIAdem. If you have already installed LabView or DIAdem, the DataPlugin must be installed directly.

For example, for .mdf files, the following plug-ins need to be installed on a machine:
For .fstrm files, the following plug-ins need to be downloaded from NI.com:
After downloading the package needed, follow the step-by-step instructions below to install the DataPlugin for LabVIEW:
  1. Launch LabVIEW and open the NI Example Finder
  2. Find and Open the example VI called „Manage DataPlugins.vi”                                           Picture1.png
  3. Run the VI and Import the plugin you would like to installPicture2.png
  4. Stop and Close the VI
  5. Restart LabVIEW. Now the Open Data Storage.vi should run without errors

If you are building an installer, the DataPlugins must be included in the application. If using Storage/DataPlugin VIs, be sure to include the NI-USI installer as well.

Additional Information

In some cases multiple different data plugins may be required, as they each refer to different formats of the specific filetype (e.g. MDF).