01-07-2020 02:19 PM
Hi Everybody,
I am learning Labview NXG starting from scratch (no previous Labview experience) using the NI 35 day free license and download (Thank you NI!). It seems to me that "G-Type" applies only to unique portions of the software. I've seen where the option to convert something to G-Type presents itself (e.g. a Cluster Constant), so naturally I wonder why isn't EVERYTHING G-type already. Can anybody help me understand what's going on here? Would be so grateful.
Solved! Go to Solution.
01-07-2020 03:48 PM
A G-Type is a data type definition which can be reused. If you simply create a cluster, you will only be able to use that cluster in the VI where it exists. If can copy and reuse it but then if you want to make changes to all instances of that cluster, you literally have to go to each and make the modifications. A G-Type defines the cluster (or any other specific data you need) and allows you to create copies of the G-Type. If you need to update it, such as adding an element, you simply edit the G-Type and all instances of that G-Type will see the update.
01-07-2020 04:21 PM
Thank you for your explanation, which I now see is what the text in the manual was trying to say. I just needed that little push to put it together.