Error Calling a VI in VBAIPrimary Software: Vision Builder for Automated InspectionPrimary Software Version: 3.0 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: When I try running a VI from Vision Builder for Automated Inspection (VBAI), I get an error saying that the VI is broken or that one of its subVIs is broken, but they all appear to be fine. How can I fix this problem? Solution: One reason this may be occurring is that VBAI cannot find all of the necessary subVIs to compile your selected VI. To correct this behavior, include your top level VI in a source distribution or .llb file. To do this in LabVIEW 8.X, follow these steps: 1. Include your VI in a project. 2. Right-click Build Specifications»New»Source Distribution. 3. Click Additional Exclusions. 4. Uncheck Exclude files from vi.lib as shown below. 6. Now in VBAI, select the VI from the source distribution folder you just created. Note: Any VI called in a Run LabVIEW VI step in VBAI on a Compact Vision System (CVS) or Smart Camera must be saved in a LLB on the CVS or Smart Camera with all of its dependencies. Related Links: LabVIEW 8.6 Help: Building a Source Distribution LabVIEW 8.6 Help: Caveats and Recommendations for Build Specifications and Builds Attachments:
Report Date: 05/07/2007 Last Updated: 05/11/2009 Document ID: 496H2OMJ |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
