LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unbundle Cluster from SubVI

Solved!
Go to solution

Hi,

 

I Can't Unbundle a cluster from SubVI. 

Simple cluster is setup as a output from SubVI (Setting.vi) - running simultaneous with main VI (xy graph.vi).  Only solution I have found is to Enable Database Access which allow me to unbundle the cluster but even though when I run VI data is not transfer across from cluster to the main VI.

 

Thanks,

Gregorian7

0 Kudos
Message 1 of 5
(1,037 Views)

Please attach as a zip file.  Most people have bothered to download 3rd part zip programs when Windows already has opening of .zip files built-in.

0 Kudos
Message 2 of 5
(1,033 Views)

Try changing it to an indicator...

 

Indicator.PNG

---------------------------------------------
Certified LabVIEW Developer (CLD)
There are two ways to tell somebody thanks: Kudos and Marked Solutions
0 Kudos
Message 3 of 5
(1,026 Views)
Solution
Accepted by topic author gregorian7

Thank you for attaching your code, even if you used a non-conventional means of bundling the Project.  [In the future, if you are running on Windows 7, 8, or 10, just right-click the folder holding the Project and choose "Compress", which will create a .zip file for you that we can all open].

 

In "Settings Nov 2018.vi", your Front Panel contains three Controls:  Plot Settings, Calibration (although the button is labeled "Caliration"), and Stop.  You are using a non-standard 1-1 Connector Pattern (instead of the recommended 4-2-2-4 pattern) and have wired the Plot Settings control to the right-hand Terminal, a place where an Indicator would traditionally be place to pass data out of the sub-VI.  [Just because you wire a Control to the right side of a Front Panel Connector doesn't change it from a Control to an Indicator].

 

In your Block Diagram, you can easily right-click on the Plot Settings Control (you can tell it is a Control by the little black triangle on the right-hand, "output" side of the Icon) and wire an Unbundle by Name function to get out the elements of the Cluster.  Alternatively, you can right-click the Control and choose "Change to Indicator", which will allow you to use it as an Indicator.  Or you could change its name to Plot Settings In, and create a copy of the Control, name it Plot Settings Out, and change that to an Indicator.  I'd strongly recommend wiring the Control to the left connector, the indicator to the right connector.

 

Bob Schor

0 Kudos
Message 4 of 5
(988 Views)

I would also recommend you learn more about LabVIEW from here. How to Learn LV

0 Kudos
Message 5 of 5
(984 Views)