08-24-2010 12:28 PM
I have been using the 'Tools/Build Application or Shared Library (DLL)' feature to create an executable. There are several workstations which then run this executable. These workstations are being replaced by Windows 7 32-bit machines. After installing NI device drivers and the LabView Runtime, I was able to run the executable on the Windows 7 machines. However, the database connectivity tools (provided in the database connectivity toolkit) do not work. I installed the LabView 7.1 development environment locally to investigated the error. Once I drilled down to the DB tools I received the error message "Poly VI 'DB Tools Open Connection.vi': subVI is not executable." Does anyone know why this may be occurring, or if it may be possible to build the subVIs into an executable (Note: There are upwards of 30 database connectivity subVIs so this may be a time consuming endeavor). Any help is greatly appreciated.
08-24-2010 01:32 PM
Neither LabVIEW 7 or it's version of the database toolkit are supported on windows 7.
Did you look to see why the subVI is not executable? Since the toolkit is based on windows ADO, there may be a property or method that is not in the windows 7 version.
If you really want to run on the latest version of windows, you should really upgrade both LabVIEW and the toolkit to versions that are supported on the OS.
08-24-2010 02:37 PM
It seems that the problem lies with the ADODB._Connection class. It isn't available in Windows 7. Here is a link to a discussion about a similar issue, with a similar conclusion: upgrading LabView is probably necessary.
Thanks for your help.