I have included a section of code I am working on. Basically, I have two control buttons that the user can click on to select to either run an automated test on the load machine or run a manual test and I set up an event structure to handle these options. When I run the program and click on manual, the program jumps right into the while loop like it is supposed to and begins recording data. However, when I click on Automatic the program sends the command to start the automatic test sequence and the machine begins running like it is supposed to, but there is something like a 15 second delay before the program goes into the while loop and begins recording data. Any ideas as to why there is such a big delay and what I need to do to fix it?