Verify that the local and global variables contain known data values before the VI runs. Otherwise, the variables might contain data that cause the VI to behave incorrectly.
If you do not initialize the variable before the VI reads the variable for the first time, the variable contains the default value of the associated front panel object.