LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use "conditional disable diagram" and "diagram disable structure" to disable and enable a section of a code programmatically? If yes, how?

While this is perfectly valid I prefer the OOP method of using classes and dynamically loading the specific class instance required at runtime. An added advantage of this approach is that you can use packed project libraries and add new implementations of the class without requiring the application itself to be rebuilt. The new PPL can be added to the folder that the classes are loaded from and the application has ben extended. This does require one to adhere to the SOLID principles of design but this does provide a lot of flexibility.



Mark Yedinak
Certified LabVIEW Architect
LabVIEW Champion

"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot
0 Kudos
Message 11 of 11
(164 Views)