NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you list all VIs used in a sequence

Is there a way of viewing all the VIs used in a sequence? Is there a script you can run and it outputs the VIs being used?
0 Kudos
Message 1 of 4
(3,799 Views)
Risky,

TestStand has a tool called Sequence File Documentation. It summarizes most of the information about your sequence file, sequences, and steps including the code modules that your steps call. This tool provides much more than the code module name. However, the tool that runs is just a sequence file, located in C:\Program Files\National Instruments\TestStand 3.0\Components\NI\Tools\DocGen\docgen.seq so you can look at the sequence file and modify it to meet your exact needs.

Hope that helps!
Regards,
Shannon R.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(3,799 Views)
Hello Risky,

There is also a way of viewing all VIs used in a Sequence File, but not in a specific sequence of the sequence file.
Here is how to proceed:
- Create a New Workspace File and add a New Project File to the workspace, if you don't have this allready.
- In the Workspace window select the project and Add the Sequence File to the project. The sequence you added can be viewed under the project in the left pane of the workspace view window.
- Right-click the sequence file and select the 'Insert Code Module' option from the pop-up menu.
- A new folder named 'CodeModules' will be added under the sequence file and contains all the VIs and all sequence files which are called from the current sequence file.

In the specific case where in the sequence file you
have steps only in one sequence (e.g. MainSequence) this way could be helpful for you.

Regards,
Silvius
Silvius Iancu
0 Kudos
Message 3 of 4
(3,799 Views)
Thanks alot Shannon, I'll look into this.

I however got curious and decided to open the sequence file in notepad. I then performed a find and replace for the VIs I wanted to update. It's not a very technical way of doing things but at the time it was convenient. Anyway, I will take a look at your suggestion and see if it meets my needs. Thanks again.
0 Kudos
Message 4 of 4
(3,799 Views)