12-04-2009 03:10 PM
I have a VI developed with LabVIEW 2009 V9.0f2 using a USB-6009 and two of its analog inputs. The VI uses the DAQ Assistant to configure the USB-6009. I include the DAQmx Core Runtime 9.0.2 with the LabVIEW Runtime Engine 2009 in the installer build. I spent most of the past week trying to get the application to run after installation.
If I leave out the Hardware Configuration from MAX (no configData.nce file) and run the installer on another machine the application produces an Error-200378 Custom Scale Specified Does Not Exist when it runs (I searched the 200378 error code - no help).
If I include the Hardware Configuration from MAX to produce a configData.nce file, and select Perform the Import Silently to Merge the Import Data when the installer is built, I get this message during the install to another computer:
.\Distribution.cpp(1902): IInstallerError 11004Developer Error. Distribution contains invalid dependencies:1. Product NI Remote Provider for MAX 4.6.1 ({FBD23528-31AC-412A-9DEE-6CEA814A7430}) depends on product with upgrade code {B5171839-26E3-48D9-9FD6-AF7F39055146}, version [8.2.379.0,), language in {} which is not in the distibution.2. Product NI LabVIEW Real-Time Error Dialog ({297FA251-FF30-4F16-978C-4A65EA804EFF}) depends on product with upgrade code {B5171839-26E3-48D9-9FD6-AF7F39055146}, version [8.2.379.0,), language in {} which is not in the distibution.3. Product NI LVBrokerAux 8.2.1 ({0FB31DF8-38DF-4C9D-B313-AFAFC3FBA02B}) depends on product with upgrade code {B5171839-26E3-48D9-9FD6-AF7F39055146}, version [8.2.379.0,), language in {} which is not in the distibution.Correct the distribution and try again.I’m not really sure that the installer even uses the configData.nce file during the build.
Another error I have seen (I have done several other builds using various installer settings) is that the app appears to run fine except it is unable to find the USB-6009, even though the operating system picks it up and installs it in the device manager seemingly without error.
I am a novice LabVIEW user. Any help you could give would be greatly appreciated.
Bill
Solved! Go to Solution.
12-07-2009 08:41 AM
12-07-2009 07:35 PM
12-08-2009 11:40 AM
Hello Joshua,
I’ve got it now; I got the hint form the link you provided. I didn’t realize that I needed to include DAQ-mx task under My Computer (right-click My Computer) in the Project Explorer in order to get the configuration file for the USB-6009 included in the application build. The NI-DAQmx.ini file is put into the data folder of the application.
Now when I choose Include hardware from configuration from MAX from the Installer, it looks to the application data folder for the NI-DAQmx.ini configuration file.
Thanks for pointing me in the right direction.
Bill