LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Populating cluster with references

Solved!
Go to solution
One question: I have several indicators and controls in my Vi. Can I change for "all objects" instead of "all controls" in your last vi?

Thanks

Dan07
0 Kudos
Message 11 of 16
(1,282 Views)

All Controls gives controls and indicators.  All Objects include decorations.

0 Kudos
Message 12 of 16
(1,270 Views)

Hello Matthew

 

Following your advices, I changed the code a little bit and it is working great. But.... I got an strange error!

 

1. Put all attached files in the same folder

2. Open Populate_with_real_references_Second_Method.vi and change the path of the .LLB file for the right one

3. Run the Populate_with_real_references_Second_Method.vi

4. Get Data.vi will pop up and show you the label of one of the controls/indicators (everything is working fine)

5. Go to Get Data.vi block diagram and change the object into the "unbundle by name"

6. Everything is working great for "1", "2", "string", "3", "4", "graph test".

7. If you change to "5" or "6" and run Populate_with_real_references_Second_Method.vi, Get Data.vi will pop up an error!

 

Do you know why?

 

Thanks a lot.

 

Dan07.

 

Screen - Populate.jpg

 

0 Kudos
Message 13 of 16
(1,266 Views)

The array to cluster is not sized properly.  Right-click on it and slect the cluster size.  It needs to be changed to 8.

Message 14 of 16
(1,261 Views)

Great!

 

Thanks!

0 Kudos
Message 15 of 16
(1,256 Views)

@dan07 wrote:

Great!

 

Thanks!


 

Dan,

 

I am glad you found a solution to your challenge but the traditional way of thanking someone on this forum is give them some Kudos for their quality answers. May I suggest you "decorate" (i.e. give kudos) to some of those replies from Matthew?

 

Otherwise, have fun!

 

Ben

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 16 of 16
(1,244 Views)