Activity 9-5, Debug a vi in bridgeview -21, Activity 9-5. debug a vi in bridgeview – National Instruments BridgeVIEW User Manual

Page 230

Advertising
background image

Chapter 9

Creating VIs

BridgeVIEW User Manual

9-22

© National Instruments Corporation

Activity 9-5. Debug a VI in BridgeVIEW

Your objective is to use the probe tool and the probe window and to
examine data flow in the block diagram using the execution highlighting
feature.

1.

Open

Using Temp & Vol.vi

from the

BridgeVIEW\Activity

directory.

2.

Select Windows»Show Diagram.

3.

If the Tools palette is not open, select Windows»Show Tools Palette.

4.

Select the Probe tool from the Tools palette. Click with the Probe tool
on the wire coming out of the Divide function. A Probe window pops
up with the title

Probe 1

and a yellow glyph with the number of the

probe, as shown in the following illustration. The Probe window
remains open, even if you switch to the front panel.

5.

Return to the front panel. Move the Probe window so you can
view both the probe and volume values as shown in the following
illustration. Run the VI. The volume in gallons appears in the
Probe window while

Tank Volume

displays the value in liters.

Note

The volume values that appear on your screen may be different than what is
shown in this illustration. Refer to the

Numeric Conversion

section in Chapter 11,

Loops and Charts

, for more information.

Advertising