NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I get a listing or overview of all files which are added to my project.

I have a large cvi project, existing of more than 100 files added. How can I create a listing or print a overview of all files, which are added to the project ?
0 Kudos
Message 1 of 3
(2,955 Views)
Unfortunately it is not possible to list or print an overview of all files included in a CVI project directly in CVI....
You can use an external tool like "MS Visual Source Safe" or another source code control tool for doing it.

Best Regards.
Stefan K.
NI Germany
0 Kudos
Message 2 of 3
(2,955 Views)
Volker B -
The CVI.exe or really its cvi.dll has an activeX interface. Two of the methods on the server are:

long _stdcall GetNumProjectFiles([out] long* numFiles);

long _stdcall GetFileNameByIndex([in] long index, [out] BSTR* fileName, [out] long* fileFound);

Using these you could write a tool to do what you would like.

Scott Richardson (NI)
Scott Richardson
https://testeract.com
0 Kudos
Message 3 of 3
(2,955 Views)