Hi,
First of all, it is going to be "not a simple" coding, even if not huge and complex one...
What you need, first, is the LabVIEW Instrument Drivers for your devices. You may try searching them at NI's IDNET.
Next, you need to know how the tasks are done manually. From there, you will perform the "equivalent" function calls in your LabVIEW program code to obtain the expected result/ data.
Then, you can use analysis functions to do the rest of the comparison etc.
Try also searching for examples with the LabVIEW example finder.
Basically, once you had the instrument's LabVIEW drivers installed, you will see them in the Instruments I/O library in functions palette.
Browse through those functions, and you will know how to use them 🙂