04-09-2013 10:10 PM - edited 04-09-2013 10:26 PM
Event Structures can have a single Event case handle multiple Event Specifiers.
C code supports this kind of 'switch' statement:
switch(enumValue) { case A: case B: handleAOrB(); break; case C: case D: case E: handleCOrDOrE(); break; default: handleOther(); }
How about Case Structures? Can I attach one code block to multiple enums values? (without duplicating the cases, which could be a maintenance nightmare)
Edit: The closest thing I found is http://forums.ni.com/t5/LabVIEW/case-structure-multiple-inputs/td-p/2377132, but converting my original enum into another one is somewhat unappealing
Solved! Go to Solution.
04-09-2013 10:51 PM
04-10-2013 12:33 AM
04-10-2013 05:22 AM