This widget could not be displayed.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error -2564

Solved!
Go to solution

I have written a LabVIEW 2012 SP1 program that uses the dataplugin HBM_PNRF.  All works well on my development computer (Windows 7 Pro 32 bit).  In the installation build, I have "NI USI 1.9.1" selected in the "additional installers" option.

 

My client installed the program on his Windows XP system.  Unfortunately, when he runs the program, he gets "error -2564".  I have tried an install version with "NI LabVIEW DataPlugin 2011" enabled in the "additional installers".  Client had same -2564 error after installation.  I wrote another program to simply open the file and nothing else.  Uninstall first program, rebooted, install new simplify program, rebooted, ran new program - same error.

 

I have gone as far as using the NI-USI.msi and .cab program to "repair", "modify" the NI-USI.  Same error.  I then "removed" NI-USI, rebooted the computer, reinstalled NI-USI.msi, rebooted, and ran the simple "read" program.  Same error still.

 

Here is the simple program and error:

pick-read-convert PNRF.PNG

 

error-2564.png

 

What piece of the puzzle am I missing from getting this dataplugin to work?

 

Thanks,

Ron

0 Kudos
Message 1 of 6
(3,784 Views)

Hello Ron,

 

Would you be able to insert a "List DataPlugins" function (found in the Manage DataPlugins Palette) to check that the plug-in is installed, registered, and being recognized before calling the File Dialog VI?  If it isn't, it may be necessary to employ the "Register DataPlugin" VI to register the installed plug-in.  This should also fix any issues with multiple versions of the plugin (or the original NRF plug-in) being installed on the local machine.  The HBM_PNRF plug-in is fully backwards-compatible, so I don't believe that this should cause any issues with other applications, but if it does, you can add an Unregister DataPlugin function towards the end of the code. 

Tom L.
0 Kudos
Message 2 of 6
(3,741 Views)

Hello Tom,

 

I wrote a VI to list the data plugins and the "HBM_PNRF" was not listed.  As I rewrite the VI to register the plug-in, which .URI file do I reference for the "Register DataPlugin" V (assuming I understand the use of this VI correctly)?

 

Thanks,

Ron

0 Kudos
Message 3 of 6
(3,725 Views)

I have just manually installed usiHBM_PNRF.msi on my client's computer.  Now, they can read the PNRF files using my VI.  Shouldn't this data plug-in set-up been part of the original installation build?

0 Kudos
Message 4 of 6
(3,720 Views)
Solution
Accepted by topic author mysticfree

Hi Ron,

 

"Register DataPlugin" can be used to install VBScript DataPlugins directly.

 

Unfortunately the HBM_PNRF is a C++ DataPlugin that has its own installer. The msi you get from ni.com/dataplugins will not show up in Application Builder >> Additional Installers. In order to deploy it to target machine, you have to write code to install the msi or manually install it.

 

We see more and more requests for an easy installation like "Register DataPlugin" for VBScript DataPlugins.

We'll consider to provide an example or put it to Storage/DataPlugin palette.

 

 

Best Regards,

Mavis

Message 5 of 6
(3,708 Views)

Thank you, Mavis.

0 Kudos
Message 6 of 6
(3,701 Views)