LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Question on clusters

I made a simple VI which uses a cluster (Name and Age). Now from my main VI,
I pass a cluster to this subVI and everything works OK.

In this example, I placed a cluster on the front panel. Now what I am trying
to do is NOT use a cluster on front panel, only have Name and Age controls
on the front panel but still able to pass a cluster from my main VI to the
subVI. Not sure if I explained myself clearly or not. Basically I am looking
for a way to define my Cluster and after doing that, be able to pass cluster
from main VI to subVI without using cluster control on the front panel
(don't care about GUI).



vishi



[Attachment TestCluster.vi, see below]
0 Kudos
Message 1 of 2
(2,624 Views)
There are two ways of doing what you want. You can have seperate inputs on the Front Panel and then use a "bundler" to combine them; OR you can use a cluster that you have turned the frame of transparent.

The attached VI shows both. Note that despite their structural differences, they are indistinguishable from the front panel.

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,624 Views)