LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application builder and dynamic class VIs name collision

I'm, using LabView 8.6 and I'm trying to make executable file. 

 

The application builder returns warning:  

 

"LabVIEW prevented a file name collision during the build. Duplicate file names cannot be copied to the same destination. You can rename files as part of the build process to avoid name conflicts."

 

...and no executable is created.

 

I'm pretty sure the warning comes from the fact that I use dynamic class member VIs, that are by definition have to have same names in both parent and children.    

 

The following link (http://zone.ni.com/reference/en-XX/help/371361E-01/lvhowto/caveats_apps_dlls/) says " If you don't rename the files, Application Builder moves the files to different folders for you to avoid a filename collision.", but no folders are created.

 

Any help here? 

   

0 Kudos
Message 1 of 4
(2,915 Views)

Hi,

 

If you have a parent class and one or more child classes, during the build LV will create a folder for each class with a conflicting VI.  The offending VIs will be dumped in their respective folders, resolving the conflict.  For what it's worth, I've used dynamic dispatch VIs several times in executables in LV 8.6 without seeing the issue you're reporting.

 

My only advice would be to:

1) make sure that you haven't somehow put two VIs of the same name in the same class (not even sure that's possible).

2) make sure you aren't renaming a VI during the build and creating a conflict

 

JasonP - CLD

0 Kudos
Message 2 of 4
(2,892 Views)
I deleted the build setting from the project file and re-created it from scratch. It started to work then.
0 Kudos
Message 3 of 4
(2,874 Views)
Some good news is that LV2009 allows you to build multiple files with the same name into the same exe or dll file, and it preserves the development file hierarchy, so you no longer have to distinguish between run-time and development system environments. Not sure why your LV8.6 app wouldn't build in the first place, but I thought I'd pass this along.
Jarrod S.
National Instruments
0 Kudos
Message 4 of 4
(2,852 Views)