In this video tutorial, I share with you a technique that I use, when I want to be selective of how LabVIEW child classes load into memory. Specifically, by using the Factory pattern, I can dynamically load a class into memory and create an instance of a child class on-demand.
It’s important to note that LabVIEW loads classes into memory automatically whenever class objects are used in VIs.
To demonstrate these concepts, I am using a code example from VISV 002. Take a look at that video if you want a more in-depth walkthrough of the code. Here, I attack the problem of how to limit loading of classes to only the ones you need for your current application run.
Download Code Used in this Tutorial: (LabVIEW 2009)