LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Create and add data to cluster

Dear all,
 
I am very NEW to LabVIEW and have tried reading the solutions that were given in terms of creating clusters. I am very lost. The transition from C/C++ to LabVIEW hasn't been that smooth. I have tried following some examples given and I got lost.
 
This is what I am trying to do: I have 2 numeric indicators on my front panel and placed them inside a cluster shell as suggested. I then went to the Block Diagram View, and I see an icon with the label cluster written. How do I access those 2 indicators so that I can assign values to them? Some suggestions given on other threads included creating local variables. I have no clue how to go about that and don't really understand how it will help me.
 
Could someone please provide me with a very SIMPLISTIC solution as I am really not clued up with the most of the functions of LabVIEW. I have searched through Google, but I haven't found a thorough example that will take me from step 1 to the end.
 
Thanks
 
0 Kudos
Message 1 of 16
(3,612 Views)
Hi
 
Wire the cluster to an "unbundle by name" - that's all Smiley Wink.
 
Thomas

Message Edited by becktho on 01-16-2006 02:36 PM

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 2 of 16
(3,597 Views)
Hi Thomas,
 
I tried that, unbundle by name, bundle by name - nothing seems to work. Broken lines appear.  I've attached a sample vi, could you explain or show me exactly what I must do.
0 Kudos
Message 3 of 16
(3,593 Views)
Could you please post it as LV7.0?
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 4 of 16
(3,590 Views)
I don't understand what you mean by posting as LV7.0. Is this another forum? excuse my stupidity.
0 Kudos
Message 5 of 16
(3,585 Views)
No - I just can't open it, because you use a newer version.
 
Menu File >> Save with options and in the dialog which should have appeared, select "Save for previous". There you can select 7.0 and that's it.
 
 
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 6 of 16
(3,580 Views)
0 Kudos
Message 7 of 16
(3,578 Views)
Hi Nifa
Take a look a the attached pic.....I am sure this this will take care of your problem.
Greetings becktho......keep the good job.Smiley Very Happy

Ohiofudu
Certified LabVIEW Architect
Certified TestStand Architect
0 Kudos
Message 8 of 16
(3,573 Views)
If you have a look at your vi, you see a small triangle on your cluster icon (>), which indicates that it is an indicator. You can't wire an uninitialised indicator to something else.
Just rightclick the cluster and select "change to control" and it should work.
 
Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 9 of 16
(3,568 Views)
But what happens when I want to assign values to these indicators. If I change it to a control will I be able to do that?
0 Kudos
Message 10 of 16
(3,565 Views)