NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I return the VI path of a test step in LabVIEW?

Solved!
Go to solution

I'd like to create a VI that will return all the VI paths that are associated with the test steps in a TestStand sequence.  How do I return the VI path associated with a test step?  Below is a starting point that returns the first step in the sequence.

StartingPoint.png 

0 Kudos
Message 1 of 4
(2,862 Views)
Solution
Accepted by topic author JoeDG

You need to convert the Module to a LabVIEWModule (use the Variant to Data node), then you can use LabVIEWModule.VIPath.  If you are using TestStand 2010, you can call LabVIEWModule.GetVIAbsolutePath to find the VI in the case you are calling it with a project.

Message 2 of 4
(2,858 Views)

Thanks a lot, Allen.  Exactly what I was looking for.  Here is the code that worked:

soln.png

0 Kudos
Message 3 of 4
(2,855 Views)

Hi guys,

 

I know that this thread was solved, but I have the same problem, and I do not know how to find this particular constant type (TSAdp.LabViewModule).

 

Thank you in advance.

0 Kudos
Message 4 of 4
(1,626 Views)