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

Page 226

Advertising
background image

Chapter 9

Creating VIs

BridgeVIEW User Manual

9-18

© National Instruments Corporation

8.

Pop up on the connector pane and select Rotate 90 Degrees.
Notice how the connector pane changes, as shown at left.

9.

Assign the terminals to Temp and Volume.

a.

Click on the top terminal in the connector. The cursor
automatically changes to the Wiring tool, and the terminal
turns black.

b.

Click on the Temp indicator. A moving dashed line frames the
indicator, as shown in the following illustration. The selected
terminal changes to a color consistent with the datatype of the
control/indicator selected.

If you click in an open area on the front panel, the dashed line
disappears and the selected terminal appears dimmed, indicating
that you have assigned the indicator to that terminal. If the
terminal is white, you have not made the connection correctly.

c.

Repeat steps a and b to associate the bottom terminal with the
Volume indicator.

d.

Pop up on the connector and select Show Icon….

10. Save the VI by choosing File»Save.

Now, this VI is complete and ready for use as a subVI in other VIs. The
icon represents the VI in the block diagram of the calling VI. The
connector (with two terminals) outputs the temperature and volume.

Note

The connector specifies the inputs and outputs of a VI when you use it as a subVI.
Remember that front panel
controls can be used as inputs only; front panel
indicators can be used as outputs only.

11. Close the VI by choosing File»Close.

End of Activity 9-3.

Advertising