Name Collision Occurs When Building My LabVIEW ExecutablePrimary Software: LabVIEW Toolkits>>Application BuilderPrimary Software Version: 8.5 Primary Software Fixed Version: N/A Secondary Software: LabVIEW Development Systems>>LabVIEW Professional Development System
Problem: When building an executable I get the following error: 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. How do I solve this name collision? Solution: The name collision error occurs because when LabVIEW is creating the executable it finds two VIs with the same name. This can sometimes occur if VIs from two IVI drivers are being used because IVI drivers often have similar VI names such as Initialize.vi, Error.vi, Close.vi, etc. In order to fix this name collision error one of the IVI driver's VIs need to be renamed. The easiest way to do this, in LabVIEW 8.0 and later, is by renaming the VIs from the Dependencies folder in the Project Explorer. When using multiple IVI drivers, expand the instr.lib folder inside the Dependencies to access the VIs of the different IVI drivers. Here you can right-click and rename the conflicting VIs. There are two types of naming conflicts that can occur. The above mentioned method is used for naming conflicts that are identified during the build of an executable. However, if the LabVIEW Project notifies you of a naming conflict, refer to the LabVIEW Help information linked below. Related Links: NI LabVIEW 8.6 Help: Resolve Load Conflict Dialog Attachments:
Report Date: 04/17/2008 Last Updated: 12/12/2008 Document ID: 4KG6SEKG |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
