Hi joep,
This question slightly related to another Q I answered earlier today. Pleas tak a look at this answer.
http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HFORCEKWTID=82263:5&HOID=50650000000800000016B20000&HExpertOnly=&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
I said slightly, not exactly!
What is going on (I suspect) is that you deleting or re-arranging enums and the definition of "string to value"s is not matching up with the case structure. This happens when a enum that is NOT a typedef is wired to the selector.
A typedef is a construct that can be used to DEFine a data TYPE. An example of a data type that you may want to define is the relationships between the strings and the numeric values in a enum.
By defining a type
def, LV will check to make sure the definitions of of strings to values will be consitant throught your code.
You can create a typedef by first selecting the enum control and doing a "right-click>>>advanced>>>customize".
Once in the control editor, change the drop-down menu on the tool bar from its default value of "control" to "Type Def.". Save the control, and answer yes to the replace question.
Then go back to your code and replace all of the non-typdef'd nodes etc with the control you saved.
Once you do this, LV should be able to keep all of your cases matched up. If you make a change that could cause incorrect operation, your run arrow will break alerting you to the issue (provided you do not define a default case).
I hope this help,
Ben