VI Analyzer Enthusiasts Documents

Showing results for 
Search instead for 
Did you mean: 

Test - Unnecessary Class Casting

by Example Gatekeeper ‎09-15-2016 10:47 AM - edited ‎01-30-2017 10:56 AM

This test returns a failure if it detects the use of the To More Specific Class function with a LV Class data type wired to the middle terminal, where this construct resides directly inside an enum-driven case structure. This entire construct can be replaced with dynamic dispatch subVI calls.

enum.png

This test is saved in LabVIEW 2015. Follow the instructions here to install and use this test.

Contributors