From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,883 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,879 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,876 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,647 Views)