What is your question? You've described what the program is supposed to do, but it's not clear what you're asking about. Do you need help getting started? If so, have you gone through the LabVIEW tutorials? You and look over the material in the NI Developer Zone's
Learning Center which provides links to other materials and other tutorials. You can also take the
online courses for free. Have you looked through the many examples that ship with LabVIEW for data acquisition?