Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 2 out of 5     Rate this Document

Error “VI Path is Invalid” or “LabVIEW X.x VI Required” in Vision Builder for Automated Inspection (AI)

Primary Software: Vision Builder for Automated Inspection
Primary Software Version: 1.0
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
I am trying to use the Run LabVIEW VI step in Vision Builder AI. When I try to run the step I receive the following error messages: VI Path is Invalid or LabVIEW X.x VI required. Why do I get these errors?

Solution:
Each version of Vision Builder AI was developed using the version of LabVIEW that was most current at that time. Because of this, only VIs saved AND compiled in that version of LabVIEW can be used in the Run LabVIEW VI step. Even VIs saved in the proper version must still be opened in that version of LabVIEW and saved so that they have been compiled properly. This will solve both issues, however for more information on the individual errors and compatibility, please see below.

Vision Builder Compatibility:

Refer to the following table to find out which versions of LabVIEW VIs are compatible with which versions of Vision Builder AI.

Vision Builder AI LabVIEW
2.6.1 7.1.x
3.0.1 8.0.x
3.5.1 8.5.x
3.6 8.5.x


For example, the Run LabVIEW VI step in VBAI 3.0 works only with VIs saved AND compiled using LabVIEW 8.0.


Example One: LabVIEW X.x Required

The error shown in the picture below relates to a specific case when using Vision Builder version 3.0.1 and trying to open a VI that was not saved in LabVIEW 8.0. When trying to open a VI that is saved and compiled in a different version of LabVIEW, the following error will occur:

For this first case, you need to open the VI in the version of LabVIEW specified in the dialog box and save it. 

Example Two: VI Path is Invalid

If you open a VI that was written in a later version of LabVIEW but saved for the correct previous version of LabVIEW, you will receive the following error:



Following the example from above, if you receive a VI Path is Invalid error, the VI MUST be saved and compiled in LabVIEW 8.0. Therefore, even though the VI was saved down from a later version of LabVIEW to run in LabVIEW 8.0, it still needs to be saved AND compiled in LabVIEW 8.0. Do this by opening the VI in the earlier version and saving it.

Related Links:
KnowledgeBase 3TFDIBGH: What Versions of Vision Builder for Automated Inspection and LabVIEW RT Can I Have on a CVS or Smart Camera at the Same Time?


Attachments:


Screenshot_LV_8.0.JPG - Screenshot_LV_8.0.JPGScreenshot_LV_8.2.JPG - Screenshot_LV_8.2.JPG


Report Date: 10/09/2006
Last Updated: 05/13/2009
Document ID: 4287H1IZ

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit