1. When you try to wire the output of Data Acquisition VI to the input of the Mean VI, you will get a wiring error. This is because the output is a single value whereas the input requires an array. To resolve this, click on the terminal shown below and select Enable Indexing. This will cause the single values to accumulate to form an array when the loop exits.

  2. When you have completed all the wiring, save the VI as Statistics and Log to File Ex 5.vi.

  3. Go back to the Front Panel. Click the Run button to run the VI. Cover the Photodiode to change the light intensity and observe the result

  4. Press to stop the VI. A dialog box will appear. Enter the name of the file to save the spreadsheet.

  5. You may now use Notepad to open the spreadsheet file saved. This is in the CSV format that can be read by text editors and spreadsheet programs like Excel.

  6. Go to the Learn DAQ and LabVIEW folder and open the VI called Read LVM File Ex 5a.vi Run the program first and then look at the diagram to see what is required to read back and display logged data.

  7. Close the VI. Do not save.

End of Exercise 5

Learn LabVIEW DAQ Page | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 |