You can, you just need to be careful. That example, unfortunately, is a perfect example of how
not to create an enum for state machine control. The enumeration should be a typedef. As it is, you need to change the enumeration's list of items in
many places so they all match. If it were a typedef then you would only change it one place. So, a better exercise for you would be to first replace the enumeration constants by creating an enumeration typedef. Then, verify the VI works like the original. Then, modify the typedef to add your state and then all you would need to do is to add the additional case to correspond to this new enumeration item.