LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unit Test Framework error: "the path of the VI under test is invalid."

Solved!
Go to solution

I am getting this error on lvtest files for some VIs, it shows up when I click on the "Import Values from VI" button.  The Unit test Framework works properly on some VIs, but some throw the error.  I have tried moving and renaming the files and of coarse have checked the file path.  I am open to suggestions, I am beginning to like what the Unit Test Framework is capable of, but this error is becoming a problem for me.

 

Thanks,

John

0 Kudos
Message 1 of 5
(2,950 Views)

Hi John,

 

What version of LabVIEW are you using?

 

Is it possible to attach an example project for testing?

 

Do you know if it's specific to certain data types or controls/indicators?

0 Kudos
Message 2 of 5
(2,931 Views)

Hi Kyle,

I am using LabView 2009 Version 9.0f3 and the evaluation version of Unit Test Framework.  I have attached a sample project, there are two lvtest files in it that are coming up with the error.  I cannot say wether it is specific to any certain data types or not.  Could folder or file names cause a problem?

 

Thanks,

John

0 Kudos
Message 3 of 5
(2,926 Views)
Solution
Accepted by topic author JBART

Hi John,

 

It seems like I'm not getting the same error as you.  In the .lvtest files Advanced tab, what have you selected as the Configuration parameter?  If you left them as default, can you check to see if the controls/indicators are selected on the connector pane?

Message 4 of 5
(2,921 Views)

I didn't realize that setting was there, it was set to "Include controls and indicators from connector pane", I never set up the connector because the VI was only for testing.  Changing it to "include controls and indicators from front panel" fixed it.

 

Thanks for your help.

0 Kudos
Message 5 of 5
(2,918 Views)