LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

a question about cluster of indicators

Hi,

Here is what I want to achieve:
Three indicators, use cluster to change the display
number

Here is what I have done:
1). Creat three indicators on the front panel
2). Put them in a cluster
3). Create a local variable and change its attribute to read
4). Unbundle the cluster local variable
5). Now I can't wire any vaule to the output element
of the unbundle function. (It seems all indicators become
data source).

How can I solve this problem?

Thanks a lot for your help!

Regards,

Tao

4
0 Kudos
Message 1 of 2
(2,581 Views)
The issue is that a read local variable IS a data source. If you want to write to a control programatically (promise me you are only going to do this in your user interface code) you have to use a write local variable. In your case here, you need to bundle the three control values before writing the output of the bundler to the local variable.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 2 of 2
(2,581 Views)