National Instruments BridgeVIEW 用户手册

下载
页码 455
Chapter 14
Arrays, Clusters, and Graphs
14-22
© National Instruments Corporation
Wait Until Next ms Multiple function (Functions»Time & Dialog)— 
In this exercise, this function ensures the For Loop executes every 
0.25 seconds (250 ms).
Numeric constant (Functions»Numeric)—You also can pop up on the 
Wait Until Next ms Multiple function and select Create Constant to 
automatically create and wire the numeric constant.
Array Max & Min function (Functions»Array)—In this activity, this 
function returns the maximum and minimum temperature measured 
during the acquisition.
Mean VI (Functions»Analysis»Probability and Statistics or 
Functions»Base Analysis for LabVIEW Base Package 
users
)—Returns the average of the temperature measurements.
Bundle function (Functions»Cluster)—Assembles the plot 
components into a cluster. The components include the initial X value 
(0), the delta value (0.25), and the Y array (temperature data). Use 
the Positioning tool to resize the function by dragging one of the 
corners.
The For Loop executes 40 times. The Wait Until Next ms Multiple 
function causes each iteration to take place every 250 ms. The VI 
stores the temperature measurements in an array created at the For 
Loop border (auto-indexing). After the For Loop completes execution, 
the array is passed on to the subVIs and 
Temp Graph
.
The Array Max&Min function returns the maximum and minimum 
temperature. The Mean VI returns the average of the temperature 
measurements.
Your completed VI bundles the data array with an initial X value of 0 
and a delta X value of 0.25. The VI requires a delta X value of 0.25 so 
that the VI plots the temperature array points every 0.25 seconds on the 
waveform graph.
3.
Return to the front panel and run the VI.
4.
Save the VI as 
Temperature Analysis.vi
 in the 
BridgeVIEW\
Activity
 directory.
End of Activity 14-4.