Your VI looks pretty good for a newbie. I've seen some experienced people produce VI's of lesser quality. A couple of things I saw were that you had a hidden wire in the True case, the structure border hid the wire from the boolean constant to the write file. Also, you took the output of a switch control, converted into an array, then used the boolean array to number function. With only on element in the array, this conversion to array and then to number is useless, you will never get a number 2 case. Besides that, it looks OK.