Neither your main or subVI have a control reference. Did you attach the correct files? An easy way to get the correct control reference in a subVI is to create the reference to the control in the main VI and drag the reference from the diagram of the main VI to the front panel of the subVI. Another way is to drop a control refnum from the Refnum palette onto the front panel, drop a control of the correct type onto the front panel, and then drag the control onto the Refnum.