Owning Palette: Collection VIs and Functions
Requires: Base Development System. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.
Use the Map VIs and functions to create and manipulate maps.
Palette Object | Description |
---|---|
Build Map | Creates a map from the input key-value entries. For entries with duplicate keys, this function includes only the last entry in the resulting map. |
Collection Size | Returns the number of elements or entries in a collection. |
Convert Map To Array | Places the code that you can use to convert a map to an array. |
Empty Collection? | Returns TRUE if the input collection contains zero elements or entries. |
In Place Map Access | Places an In Place Element structure on the block diagram with the Map Get / Replace Value border node added. |
Insert Into Map | Inserts a key and its associated value into a map. If the key is already included in the map, this function replaces the original value of the key with the new associated value. |
Look In Map | Checks whether a map includes an entry with the specified key and returns the associated value of the key. |
Map Constant | Represents a map on the block diagram.
You cannot modify the embedded data in a map interactively or programmatically. You can update map data only as a whole through operations such as writing to the map front panel terminal or right-clicking the map and selecting Data Operations»Copy Data or Data Operations»Paste Data. |
Read Map Max & Min Keys | Returns the maximum and minimum keys in a map. |
Remove From Map | Removes a key and its associated value from a map. |
Subpalette | Description |
---|---|
Registration Map VIs | Use the Registration Map VIs to create and manipulate registration maps. A registration map is a map between a key and a set of elements with operations to signal when clients register or unregister for one or more services. |