Registration Map:Register VI

Owning Palette: Registration Map VIs

Requires: Base Development System

Adds a set element in a registration map. This VI signals the calling VI if it is the first time any set element has registered for this key.

Example

 Add to the block diagram  Find on the palette
map in specifies the registration map in which you want to insert an entry. This input accepts a map of sets of any data type. The default data type is a map of sets of 32-bit signed integers.
key specifies the key. This input must be of the same data type as the existing keys in the map.
set element specifies the set element that may be registered for the specified key. This input must be of the same data type as the elements of the sets in the map.
map out returns the registration map with the inserted entry.
element already registered? returns whether map in already includes set element.
first registration for this key? returns whether this is the first time that the key is registered.

Example

Refer to the Registration Map Usage.lvproj in the labview\examples\Design Patterns\Registration Map directory for an example of using the Registration Map:Register VI.

 Open example  Find related examples