Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69497

How do I track down where a specific enum is used in a case statement selector?

$
0
0

Hi all,

 

I've got a fairly complex state machine simulation application that I'm adding a "mode" functionality to. At certain states in the application, instead of the default blocks of code being run, a VI belonging to a class of VI's for each mode will be run instead (eg for modes A and B, the initialization state now has Initialization_modeA and Inilitalization_modeB). This results in lots of case structures everywhere, and I'm having trouble figuring out how to make sure that when adding a new mode, I add that mode's case to every case selector. Is it as simple as having a default case with a popup box? Or is there some OOP way I can handle this?


Viewing all articles
Browse latest Browse all 69497

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>