LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI Analyzer: Location for user defined tests

I have set up a CI/CD system for our LabVIEW projects that, among others, runs static code analysis via the VI Analyzer. I have created user defined Tests. LabVIEW expects these to be located in C:\Users\usernameDocuments\LabVIEW Data\VI Analyzer Tests. Is it possible to make user defined VI Analyzer tests a part of the Project they are used in instead?

0 Kudos
Message 1 of 3
(81 Views)

Hi,

 

As far as I know, user-specified tests can only be in the "LabVIEW Data" folder.

 

What you want might be possible though if you create a generic test called "Execute Project-Specific Tests", which, when first called, will scan the folder of the owning project, load the specific test VIs that satisfy a certain formalism (location, name, connector pane, ...) and call them dynamically. Then, each subsequent call should use the VI references in memory directly to avoid loosing the scanning and loading times again.

 

I am not sure in which context (application) the VI analyzer VIs are executed, but you have to make sure it is possible to retain VI references between consecutive calls of your generic test.

 

Regards,

Raphaël.

Message 2 of 3
(52 Views)

You can put subdirectories in the "VI Analyzer Tests" and they will show up in the tree in the VI analyzer, which might help you sort things out:

 

Kyle97330_0-1733851533604.png

 

 

Message 3 of 3
(32 Views)