LabVIEW for Everyone: Graphical Programming Made Easy and Fun (3rd Edition)
Activity 8-7: Temperature Limit
Build a VI that continuously measures the temperature once per second and displays the temperature on a chart in scope mode. If the temperature goes above or below the preset limits, the VI turns on a front panel LED. The chart should plot the temperature, as well as the upper and lower temperature limits. You should be able to set the limits from the front panel. Take a look at the front panel shown in Figure 8.99 for a start. Name the VI Temperature Limit.vi. Figure 8.99. Temperature Limit.vi front panel
Activity 8-8: Max/Min Temperature Limit
Modify the VI you created in Activity 8-7 to display the maximum and minimum values of the temperature trace. Name the VI Temp Limit (max-min).vi. You must use shift registers and the Array Max & Min function (Array palette).
Activity 8-9: Plotting Random Arrays
Build a VI that generates a 2D array (three rows by ten columns) containing random numbers. After generating the array, index off each row and plot each row on its own graph. Your front panel should contain three graphs. Name the VI Extract 2D Array.vi. |
Категории