LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 2208 when running LabVIEW executable

I'm trying to deploy a LabVIEW executable in 8.2.1.
 
The build goes fine with no errors, but when I try and run it I get Error 2208.
 
I found another post on here that indicated it might be something to do with LabVIEW classes, and I have developed this app within a LabVIEW class and having taken the vi out of the class and stripped out almost all functionality I have got it to run.
 
Question is - what is it within LabVIEW classes that causes this error - I have other stuff I've built from .lvclass without any problem that haven't been particularly different to this one  so hoping someone out there might be able to point me in the correct direction.
 
Many thanks in advance for any responses,
 
David Clark
CLA | CTA
Genesee Technologies Ltd
Hampshire, England
Message 1 of 3
(4,861 Views)
Hi David,

This issue has taken a lot of investigation, I think you are seeing a error loosely related to a known bug that has been fixed in an upcoming release of LabVIEW. There is a KB article on some workarounds, but they might not apply to you as they are workarounds for the underlying cause.

When you distribute a .lvclass file, do you have any additional files inside the lvclass (i.e .csv files and so on.)
Or it might be due to a issue with dependencies and not being able to set certain build settings. You need to add the dependant file into the project, so you can unselect include if referenced and choose always include for that file.

Sorry this is so vague, but I think this is the underlying cause of what you are seeing.

Regards
JamesC
NIUK and Ireland

0 Kudos
Message 2 of 3
(4,800 Views)

I ran into this problem with LabVIEW 2014 with a project with a lot of classes.  During building it would pop a message stating that dependance file were loaded from a new path.  The files listed were not part of the dependance folder of the project.  Additionally the files listed were not the files causing the problem.  The exe would run on my development system, but loading onto a stand-a-lone PC would result in a search window looking for a different sent of files, followed by the 2208 error message.  

 

To resolve the problem I had to search the project for "items incorrectly claimed by a library" (Right click on Virtual Folders within project).  Then I had to removed those files from the library, save the project, and then readd the files back into the library.  I have no idea why they were incorrectly claimed...

 

0 Kudos
Message 3 of 3
(3,073 Views)