Example Code

Sweet Cluster Utilities

Code and Documents

Attachment

Hi all,

 

Here's a library for convenient cluster coding in LabVIEW. A big kudos to Per Guldstrand for contributing his dot notation cluster utility.

 

This example sources also exist as a continuously evolving example in the LabQT LGPL Open Source Library.

 

  1. Search for cluster members with dot notation and change color of a cluster member control
    Skärmklipp.JPG
  2. Populate cluster member variables using a LabVIEW ini/cfg file
    Skärmklipp.JPG

 

Have fun experimenting with these and modify them to suit your needs.

 

Edit 1: V2 of the cluster utils with support for recursion when populating

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
alexderjuengere
Active Participant
Active Participant
on

hi,

nice work - but you could have done something like this in the getfromcluster.vi :

Unbenannt.png

Regards,

Alex

User002
Not applicable
on

Thanks Alex,

I have updated the code with better error handling and more excel examples and also added recursive handling of sub clusters.

I'll update the library later today.

Br,

/Roger

Contributors