LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Properties and Array inside Cluster

I have a complex structure of LV controls defined as a strict typedef: Array
of cluster with a number of controls inside. One of the controls inside the
cluster is a array.

On the frontpanel I display this control and I will programmatically set the
index of the array inside the cluster.

Is it possible??? How??

Hans ?hra
0 Kudos
Message 1 of 3
(2,570 Views)
"I have attached an example that illustrates how to accomplish what you are trying to do. One of the key elements in getting it to work is the use of the "To More Specific Class" function.

There is some good related information available at:
http://digital.ni.com/public.nsf/ 3efedde4322fef19862567740067f3cc/ b4f437c8bf034293862569f800618197?OpenDoc ument


Please let me know if you have any questions.


Thanks.


Matt Kisler
Application Engineer
National Instruments
http://www.ni.com/ask"
0 Kudos
Message 2 of 3
(2,570 Views)
Thank You both, problem solved.

You are both wright; accesing the index of the array as Mat said and the
fact that the cluster inside the array cannot be a type.def. Any good reason
it cant be??

Se attached vi if you like

Hans



[Attachment test famctl.vi, see below]


[Attachment Marriage.ctl, see below]
Download All
0 Kudos
Message 3 of 3
(2,570 Views)