Exercise 5 – Statistics and Log to file
Objective
Learn about arrays
Learn how to use the statistical VIs
Learn how to save the data to a file
It is often useful to know the maximum, minimum and average light intensity that has been logged. You will also have noticed that once you stop the VI, the data is lost when you run the VI again. Wouldn’t it be useful if the information can be saved into a file so that you can analyze the data in the future?
From LabVIEW Help
An Array group data elements of the same type. An array consists of elements and dimensions. Elements are the data that make up the array. A dimension is the length of an array. An array can have one or more dimensions..
Front Panel
Open an existing VI. Look for Multiplot Chart and Alarm Ex 3.vi you saved previously. Modify it to the following front panel.
Insert Numeric Indicator
from Control->Numeric palette. Insert 4 of these
indicators. Name them Current Data Point, Max value,
Mean and Min value.
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 |