Chapter 11
Loops and Charts
©
National Instruments Corporation
11-7
13. Stop the VI by clicking on the vertical switch. Turning the switch
off sends the value FALSE to the loop conditional terminal and stops
the loop.
14. Scroll through the chart. Click and hold down the mouse button on
either arrow in the scrollbar.
15. Clear the display buffer and reset the chart by popping up on the chart
and choosing Data Operations»Clear Chart.
Note
The display buffer default size is 1,024 points. You can increase or decrease this
buffer size by popping up on the chart and choosing Chart History Length….
You only can use this feature when the VI is not running.
End of Activity 11-2.
Mechanical Action of Boolean Switches
You might notice that each time you run the VI, you must turn on the
vertical switch and then click the Run button in the toolbar. With G, you
can modify the mechanical action of Boolean controls.
There are six possible choices for the mechanical action of a Boolean
control:
•
Switch When Pressed
•
Switch When Released
•
Switch Until Released
•
Latch When Pressed
•
Latch When Released
•
Latch Until Released
Below are figures depicting each of these boolean switches, as well as a
description of each of these mechanical actions.
Switch When Pressed action— Changes the control value each time you
click on the control with the Operating tool. The action is similar to that of
a ceiling light switch, and is not affected by how often the VI reads the
control.
Switch When Released action—Changes the control value only after you
release the mouse button, during a mouse click, within the graphical
boundary of the control. The action is not affected by how often the VI
reads the control. This action is similar to what happens when you click on