Why Do I Get Error 7 When I Create a Library That Includes Dynamic VI References?
Primary Software Version: 7.1
Primary Software Fixed Version: N/A
Secondary Software: N/A
I have a properly functioning VI and have saved it to a library, but when I run it I receive Error 7, File not found. Why is this and how can I fix it?
When saving VIs to a library the creation process determines which VIs to include by traversing the top-down VI hierarchy. This hierarchy can be seen in LabVIEW by going to the View menu and clicking VI Hierarchy. The cause of this error is when a VI or subVI includes a dynamic VI reference without an explicit path. If a path is not specified when creating a dynamic reference, LabVIEW expects the VI to be within the library. When LabVIEW builds the library it does not see these references because the VIs they refer to are not explicitly embedded inside the main VI or its subVIs. A common place this error occurs is when one creates a library that includes VIs from the report generation toolkit. The two solutions to this problem are described below.
LabVIEW 8.0 and later
Product Page: LabVIEW
KnowledgeBase 3G5CDDV1: Error 7 When Running and Application Using VIs from Report Generation Toolkit for MS Office
Report Date: 08/26/2004
Last Updated: 04/30/2014
Document ID: 3CP8AOFD