LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI Analyzer: Result Cluster UID?

Solved!
Go to solution

I have created a custom VI Analyzer Test. Following the Template I am using VIAnUtil Build Result Cluster.vi to create the Results Data, but I am unsure what I am supposed to wire into the UID Terminal.

0 Kudos
Message 1 of 2
(493 Views)
Solution
Accepted by topic author elyte_dev

Hi,

 

The UID (also called "Ref Index" in the context of the VI Analyzer) is an integer that uniquely identifies a component in a given VI.

It can be a Control, Constant, SubVI, Structure, ... anything that derives from a GObject. You can access the UID from the GObject property "UID".

 

This is useful to associate a specific object instance from the diagram or front panel to your result messages.

In this way, when you double click on a result row in the VI Analyzer Results Window, it will automatically highlight the corresponding object in the corresponding VI.

 

If your test applies to the whole VI instead of a specific instance of object, you can still for example give the UID of the top-level diagram to maintain the "highlight" functionality, so that the user knows in which VI there is a problem.

 

Regards,

Raphaël.

Message 2 of 2
(467 Views)