/Tree-API

Tree data structure for use in LabVIEW. Directly supports OO.

Primary LanguageLabVIEWGNU General Public License v3.0GPL-3.0

Tree-API

Compatible LabVIEW Versions: >= 2016.

Compatible OS Versions: ALL.

Installation:

Instal the package from the Packages folder using VI Package Manager. This installs the palette. This requires VI Package Manager version 2017 which you can get from JKI webpage. LabVIEW 2017 is NOT required.

Description:

This is a tree data structure. Essentially dictionary on steroids. Has a bunch of cool features:

  • automatically assigns unique ID to trees,
  • can store and retrieve tree attributes,
  • is based on variants,
  • can work with plugin classes,
  • flattens and unflattens to XML,
  • visualizes in a LV Tree Control,
  • allows for easy interaction with Tree Control,
  • is optimized for speed,
  • provides a search by path functionality,
  • is reference based and can beaeasily shared between threads,
  • is handled through manager to remove race conditions

If you need a dynamic, hierarchical data storage and retrieval mechanism, check out this package and profit!

I will take all contributions and package them up using VIPM. I will be compiling the packages myself and posting them here.

Requested contributions:

  • Testing and bug fix requests,
  • Bug fixes,
  • New Tree Data.lvclass children for new data types,
  • Feature requests.

Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text Alt text