Jump to content

Change Cluster Size for different configration!


zli0022

Recommended Posts

Hi! Guys,

My name is Ross Liu. I would like to share a little problem with Labview. I have a VI with a cluster used for real measuring data display. I need a cluster size to be changable because I used different configration file with different channels. I would like to know if it is possible to change the cluster size with diffent number of channels data display. I am still using LabVIEW 6.1. Or is there any better way to deal with this case? Many Thanks!!

Ross Liu

:headbang: :headbang: :headbang:

Link to comment

Depending on which purpose you want to show/hide elements in the cluster I see 2 possibilities:

1. If you just need show/hide for cosmetic purposes, get the control refs from your cluster and show/hide the elements. The order of the elements you get with "all controls"-property is the order you placed them into the cluster.

2. If you use the cluster to read/write configfiles (with e.g. openG) then you'll have to build as many clusters as you have possibilities and show/hide only one of them. In the background you'll have to deal which cluster you pass to the inifile.

In LV6 I used some ActiveX-tab control to change between configs

Didier.

Link to comment

Guys,

Thank you very much for your reply. The reason I need variable cluster size (for displaying measuring data) is that there are so many different kind of tests in our lab with different number of channels. I try to design my code (using cluster for dsiplaying the data) to as flexible as possible to include all different case. I will also look at Open G to get better solution. Thank you so much for your help!!

Ross Liu

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.