![labview examples labview examples](https://www.dataq.com/blog/wp-content/uploads/2019/12/LabViewRun2.jpg)
Open the contextual Help window by choosing Show Context Help from the Help menu-or you can use the -H shortcut on Windows, -H on Mac OS X, or -H on Linux. Don't panic at the detail shown here! These structures are explained step by step later in this book.
LABVIEW EXAMPLES WINDOWS
Open the block diagram of Temperature System Demo.vi by choosing Show Diagram from the Windows menu-or you can use the -E shortcut on Windows, -E on Mac OS X, or -E on Linux.Įxamine the different objects in the diagram window. You can also operate slide controls using the Operating tool by clicking on a point on the slide to snap the slider to that location, by clicking on a scroll button to move the slider slowly toward the arrow, or by clicking in the slide's digital display and entering a number.įigure 1.9 Temperature System Demo.vi block diagram
![labview examples labview examples](https://imag.malavida.com/mvimgbig/download-fs/labview-8026-1.jpg)
LABVIEW EXAMPLES UPDATE
Note how changing the values with the knobs takes effect instantly.Ĭhange the Update Period slide control by placing the Operating tool on the slider, and then clicking and dragging it to a new location. Also, try changing the high and low limits using the round knob controls. Then type in the new value and click on the enter button, located next to the run button on the Toolbar. Highlight the old high or low value, either by clicking twice on the value you want to change, or by clicking and dragging across the value with the Operating tool. Use the cursor, which takes on the personality of the Operating tool while the VI is running, to change the values of the high and low limits. The Statistics section shows you a running calculation of the mean and standard deviation, and the Histogram plots the frequency with which each temperature value occurs. You can also turn the data analysis on and off. This VI continues to run until you click the Acquisition switch to off. If the current temperature reading is out of the set range, LEDs light up next to the thermometer. LabVIEW also plots high and low temperature limits on the chart you can change these limits using the Temperature Range knobs. The Update Period slide controls how fast the VI acquires the new temperature readings. Although the readings are simulated in this example, you can easily modify the program to measure real values. The VI makes temperature measurements and displays them in the thermometer indicator and on the chart. Temperature System Demo.vi simulates a temperature monitoring application.
![labview examples labview examples](https://i.ytimg.com/vi/baeGmc2htBU/maxresdefault.jpg)
You can press it to abort program execution. Notice also that the Abort button becomes active in the Toolbar. Other buttons on the Toolbar may also change appearance (or disappear) because certain buttons are only applicable while the VI is running (such as the Abort button), and others are only applicable while the VI is not running (such as those used for editing). The Run button will change appearance to indicate that the VI is running. Run the VI by clicking on the Run button, located on the VI's Toolbar (the Toolbar is the row of icons beneath the VI's menubar). To open an example, select Open VI and choose the one you want.įigure 1.8 Temperature System Demo.vi front panel After launching LabVIEW, a dialog box will appear. Make sure you can access the EVERYONE directory from the CD or your hard drive, as described in the Preface it contains the activities for this book. Whether you are using the Professional, Full, or Evaluation version of LabVIEW, just launch it. Generally, however, it's easier to find examples by using the NI Example Finder feature as just described. The Temperature System Demo example in particular would be located at C:\Program Files\National Instruments\LabVIEW\examples\apps\tempsys.llb\Temperature System Demo.vi. So the examples directory is at C:\Program Files\National Instruments\LabVIEW\examples. For example, on Windows, LabVIEW is usually installed at C:\Program Files\National Instruments\LabVIEW. You can also access all the LabVIEW example VIs directly in the examples directory inside your LabVIEW installation directory. The previous steps are the process for quickly loading example VIs that come with LabVIEW.