12-10-2024 04:11 AM - edited 12-10-2024 04:11 AM
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.
Solved! Go to Solution.
12-10-2024 06:10 AM - edited 12-10-2024 06:13 AM
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.