Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   cluster gloabl variables, how to create? (http://www.chiefdelphi.com/forums/showthread.php?t=73743)

martin417 06-02-2009 14:58

cluster gloabl variables, how to create?
 
I have a while loop in my robot main main VI that reads the data from four encoders. I have created a cluster and used bundle by name inside that while loop to put the data (distance and rate) into a bundle. I now want to create a global variable to hold the data so it can be used in my autonomous sub-VI. I have not been successful. I have tried many methods to make a cluster-type global, but no matter what I do, I cannot connect my bundle to my global. Any help?



picture of my code....

Greg McKaskle 06-02-2009 16:13

Re: cluster gloabl variables, how to create?
 
You can make the cluster by hand, but a shortcut is to right click on a wire that is already the cluster type. Create a Control using the popup menu. Copy the control and paste it on the global panel.

Note that global VIs can have multiple controls on them, and you then select the control that you want from the global.

If you are still having issues, can you describe what error, or what things look like when you find yourself stuck.

Greg McKaskle


All times are GMT -5. The time now is 10:36.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi