LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

SubVI with Cluster

Hi
I want to pass Cluster to SubVI.
Could anybody tell me how to make SubVI know Cluster data without create any cluster in SubVI?
 
Thank you in advance.
0 Kudos
Message 1 of 5
(3,182 Views)

Hi MS_CJ,

you can pass a reference of the cluster to your subvi. Or you use a variant. Why don´t you want to create a cluster in the sub vi?

Mike

Message 2 of 5
(3,175 Views)

Hi Mike, 

I want to use this SubVI as function which can receive any cluster.

if I have already created some Cluster in SubVI then it doesn't work when I try to pass another type of Cluster into such SubVI.

Your guidance seems that can only use with same type of Cluster. Right? 

0 Kudos
Message 3 of 5
(3,172 Views)
Hi MS_CJ,
use a "cluster" reference and not a special type, then you can pass all clusters to your subvi.
Mike
Message 4 of 5
(3,169 Views)

Hi Mike,

Thank you for your guidance. 

0 Kudos
Message 5 of 5
(3,129 Views)