03-06-2009 10:00 AM
I have an issue with an application that works fine in the development enviroment , but , when I build it into a stand alone application it throws about 35 302208 errors saying that it needs the full development version of LabVIEW to solve the problem when you try to run the app. This application uses Classes , DAQmx (this seems to be were the issue is) and some Serial comms and Report Generation , although i removed the Report Generation section for now. I have looked around on NI and there isnt too much regarding this error. I am running LabVIEW 8.6.1 and NI-DAQ 8.8. I am not explicitly calling any .dll's or .NET.
I have mass compiled the project , removed any bad files , fixed dependency errors that I saw , rebuilt the project but it still throws these errors , any suggestions ?
Dan
03-09-2009 06:17 PM
Hi Dan,
The error is sometimes thrown if you don't have the correct Run-Time engine (RTE) installed. Double check that the RTE versions are the same on both the development and target machine. As well, it would be worth a try to build the application while ensuring that all of the options are de-selected from the Additional Exclusions stage of the build process, since this some times cause this error to show up.
Also, take a look at this thread and see their suggestion works for you as well.
06-21-2009 11:15 PM
Were you able to resolve this problem? I seem to be having the same problem. Here is what I see: My app runs fine in the development environment, and the application builds without complaint. But when I run it, it first asks me to "Find the CLIB Named "UI.lvclass" (this is one of the 5 classes I have included). I assist and then it continues. It then pops up a full screen of repeating error messages "VI has an error of type XXX. The full development version of LabVIEW is required to fix the errors." In my case XXX is equal to 1002208 (once), then 1022208 (once), and finally 302208 with over 250 instances before the screen fills up.
Here are some details of what I'm doing, and things I've tried based on some other forum postings:
I am running the exe on the same machine on which it is developed and built. I'm using LabVIEW 8.6.1 and verified that the run-time engine is the same version.
I am using 5 classes. Two of these are in LLBs.
I've created separate destination directories for each class.
I'm using the default settings for additional exclusions:
(unchecked) Disconnect type definitions
(checked) Remove unused polymorphic VI instances
(checked) Remove unused members of project libraries
(checked) Modify project library file after removing unused members
I tried to build with all these unchecked but the build itself didn't complete, as there were some files it could not find.
Any ideas or suggestions? Also, are there descriptions for these error codes - I couldn't find any?
Thanks much!!
06-22-2009 05:40 PM
Hi,
These codes are normally associated with missing run time engines. Are you using any other modules such as Vision or DSC that would require a run time engine?
06-22-2009 06:27 PM
Olivia,
No, I am not using any other modules other than DAQmx and Math as far as I know.
I was able to get past the errors by changing the settings in the additional exclusions. The change I made relative to the default is shown in red:
(checked) Disconnect type definitions
(checked) Remove unused polymorphic VI instances
(checked) Remove unused members of project libraries
(checked) Modify project library file after removing unused members
Earlier I had tried a few other combinations without success, but disconnecting the type definitions did the trick. I am still curious as the what the problem was - I don't have any issues with type definitions conflicting or getting confused when I am running in the development environment.
You mentioned these codes are normally associated with missing run time engines. Can you point me to where these are listed and descriptions for them? I was really flying blind without any idea what the problem was. I couldn't find any set of error codes that covered these.
Thanks, John
06-23-2009 08:49 PM
Hi John,
I found the descriptions for these codes in some internal documents which I, unfortunately, won't be able to point you to. However, if you want to know why disconnecting the type definitions did the trick, I'll likely have to ask the developers about it.
06-24-2009 01:08 PM
Olivia,
If you could find out from the developers why the type definition disconnect helped, that would be great. While happy that I got past the problem for now, I am very uneasy about having no idea why it helped, since I don't even know what the error code descriptions are for and from what you tell me they sound completely unrelated. I need to have some confidence that this is solving a real problem and not masking some larger underlying issue with my code. I cannot afford to have the problem pop up again!
Thanks!
06-25-2009 02:18 PM
Hi John,
I'm going to need a little bit more information from you. Are you, at all, using an type definitions in you application? I know you mentioned that you don't have any type def confusions or errors in the original program but I just want to clarify whether you are using any of these controls. If you so, are they included within the project?
06-25-2009 03:53 PM
06-26-2009 04:44 PM