03-29-2011 01:26 PM
Can TestStand (3.1) generate a list of all the VIs that are included in the sequence? I have a folder structure full of VIs and I know that not all are being used. I'd like to identify the unused VIs.
03-29-2011 11:22 PM
I hope there is no direct method to get the list of VI's, I will always try the following method
This is the fairly easy way to get the list of VI's used in the Sequence
Invoke ' Edit -> Sequence File Properties ' and in the Load Option set ' Preload When Opening Sequence File ' , after setting this property close and open the corresponding Sequence file
When the Sequence File is opened, all the VI's will be loaded in the Memory, so the below code in LabVIEW will list all the VI's in memory
There is always other complicated Method, you have use the Teststand ActiveX to read all the Steps in the Sequence FIle and Get the Step names which has the LabVIEW Adapter.
I am using TS 4.2.1, hope above mentioned options are in the TS 3.1
AshwiN,
03-30-2011 12:57 AM
Hi,
There might be an easier way and that is to make a deployment image using the TestStand Deployment tool.
03-30-2011 11:54 AM - edited 03-30-2011 11:55 AM
Hi,
Check out this example program that generates a List of All Code Modules Used by a Sequence File, including VIs.