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
Highlighted

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
(1,413 Views)
Highlighted
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
(1,409 Views)
Highlighted

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

soln.png

0 Kudos
Message 3 of 4
(1,406 Views)
Highlighted

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
(177 Views)