VI Analyzer Enthusiasts Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

Fix Gray Classes

We encountered a bug that results in having class controls/indicators/constants to be grayed out in our code. In our case,  it was when we changed the PPL that contained the parent of the class. 

 

We created the attached VI Analyzer test to fix this issue if you encounter it.

 

This test will detect any LabVIEW Class controls, indicators, or constants that are grayed out due to having an invalid default value stored in them. It has an option to reset the value of the object to the default value for the class and save the VI, which should remove the grayness.

For an opportunity to learn from experienced developers / entrepeneurs (Steve, Joerg, and Brian amongst them):
Check out DSH Pragmatic Software Development Workshop!

DQMH Lead Architect * DQMH Trusted Advisor * Certified LabVIEW Architect * Certified LabVIEW Embedded Developer * Certified Professional Instructor * LabVIEW Champion * Code Janitor

Have you been nice to future you?
Comments
Ben
Knight of NI Knight of NI
Knight of NI
on

Nice!

 

A VIAnalyzer test to fix a bug in LabVIEW rather than a bug in the LV code.

 

Is this a first?

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Darren
Proven Zealot
Proven Zealot
on

@Ben wrote:
Is this a first?

 


I assure you it is not.

Contributors