<< Chapter < Page | Chapter >> Page > |
Temperature System
VI located in
the
C:\Exercises\ LabVIEW Basics I
directory. The following front panel is already built.
The front panel contains
four
Boolean buttons . The mechanical action of the
first three buttons is
Latch When
Pressed
. This setting changes the control value
when you click it and retains the new value until the VIreads it once. At this point the control reverts to its
default value, even if you keep pressing the mousebutton. This action is similar to a circuit breaker and
is useful for stopping
While Loops
or for
getting the VI to perform an action only once each timeyou set the control.The mechanical action of the
Stop
button is
Latch When Released
. This setting changes
the control value only after you release the mousebutton within the graphical boundary of the
control. When the VI reads it once, the control revertsto the old value. This action guarantees at least one
new value. This action is similar to dialog box buttonsand system buttons.Advanced>>Key
Navigation
from the shortcut menu to display the
Key Navigation
dialog box.Key Assignment
section, assign the
shortcut key shown in the
.Display Temp
VI simulates a temperature
measurement every 500 ms and plots it on a strip chart.Display and Log Temp
VI simulates a
temperature measurement every 500 ms, plots it on astrip chart, and logs it to a file.Display Logged Temp
VI opens a file
that you select, reads the logged data, and displaysthem on a graph.SubVI Node
Setup
from the shortcut menu.Show Front Panel when
called
and
Close afterwards if
originally closed
checkboxes.OK
to close the
SubVI Node
Setup
dialog box.Temperature
System
VI front panel when you press the
<Enter>
key. Try pressing the
<Enter>
key to do so.Temperature System
VI to run automatically
when you open the VI.
File>>VI Properties
.Execution
from the
Category
pull-down menu.Run When
Opened
checkbox.Window Appearance
from the
Category
pull-down menu.Customize
button.Show Menu
Bar
and
Show Toolbar When
Running
checkboxes.OK
button twice.Temperature System
VI again. The
VI runs automatically when you open it. Click thebuttons on the front panel or use the keyboard
shortcuts.Notification Switch
Would you like to follow the 'Labview graphical programming' conversation and receive update notifications?