LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can i send cluster value through shared variable?

Solved!
Go to solution

Hi every1,

 

I want to send a cluster through shared variable. While creating a shared variable  there are options to select its data type but there is no option of Cluster.

But there is an option of" from custom control".How to use that?

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 1 of 5
(2,844 Views)
Solution
Accepted by topic author Gak

Hi Gaurav,

create your control and save it as a *.ctl file on your disk. If you use the option "from custom control", then select your control. If this won't work for your control, then you can use the "flatten to string" function to send it as string.

 

Mike

Message 2 of 5
(2,842 Views)

Thank you mike ,

 

But how to send a cluster. Do you want me to make cluster control and then save it as *.ctl ?

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 3 of 5
(2,839 Views)

Hi gak,

yes,  create your cluster, and save it as a control. Right click in the front panel onto your cluster and select "advanced -> customize". Select this control in variable dialog.

 

Mike

0 Kudos
Message 4 of 5
(2,834 Views)

Ya  mike i know that procedure. Thank you very much for help.

Will try this.

Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
0 Kudos
Message 5 of 5
(2,821 Views)