Terminals, Wires, Terminals -3 wires -3 – National Instruments BridgeVIEW User Manual

Page 211

Advertising
background image

Chapter 9

Creating VIs

© National Instruments Corporation

9-3

BridgeVIEW User Manual

You can create an indicator and wire it to an output terminal by popping up
on the terminal and selecting Create Indicator. As an alternative to placing
constants on the block diagram and wiring them to functions and VIs, you
can pop up on a function or VI terminal and select Create Constant. You
cannot delete a control or indicator from the block diagram. As with all
front panel objects, you must go to the front panel, select the Positioning
tool, and then delete the object.

Each time you create a new control or indicator on the front panel,
BridgeVIEW creates the corresponding terminal in the block diagram.
The terminal symbols suggest the data type of the control or indicator.
For example, a DBL terminal represents a double-precision, floating-point
number; a TF terminal is a Boolean; an I16 terminal represents a regular,
16-bit integer; and an ABC terminal represents a string. For more
information about data types in G, and their graphical representations,
see the G Programming Quick Reference Card.

Terminals

Terminals are regions on a VI or function through which data passes.
Terminals are analogous to parameters in text-based programming
languages. It is important that you wire the correct terminals of a function
or VI. You can view the icon connector to make correct wiring easier.
To do this, pop up on the function or VI and choose Show»Terminals.
To return to the icon, pop up on the function or VI and select
Show»Terminals again.

Wires

A wire is a data path between nodes. Wires are colored according to the
kind of data each wire carries. Blue wires carry integers, orange wires carry

Advertising