End of activity 9-5 – National Instruments BridgeVIEW User Manual

Page 231

Advertising
background image

Chapter 9

Creating VIs

© National Instruments Corporation

9-23

BridgeVIEW User Manual

6.

Close the Probe window by clicking in the close box at the top of the
Probe window title bar.

Another useful debugging technique is to examine the flow of data in
the block diagram using the execution highlighting feature.

7.

Return to the block diagram of the VI.

8.

Begin execution highlighting by clicking on the Highlight Execution
button, in the toolbar. The Highlight Execution button changes to an
illuminated light bulb.

9.

Click on the Run button to run the VI, and notice that execution
highlighting animates the VI block diagram execution. Moving
bubbles represent the flow of data through the VI. Also notice that data
values appear on the wires and display the values contained in the
wires at that time, as shown in the following block diagram, just as if
you had probed the wire.

You also can use the single stepping buttons if you want to walk
through the graphical code, one step at a time.

10. Begin single-stepping by clicking on the Step Over button, in the

toolbar.

11. Step into the Temp & Vol subVI by clicking on the Step Into button,

in the toolbar. Clicking on this button opens the front panel and block
diagram of your Temp & Vol subVI. Click on the Step Over button
until the VI finishes executing.

12. Finish executing the block diagram by clicking on the Step Out button,

in the toolbar. Clicking on this button completes all remaining
sequences in the block diagram.

End of Activity 9-5.

Advertising