LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sending Values to a front panel cluster

Solved!
Go to solution

Hello

 

I am fairly new to LabVIEW and struggling to understand how I send a numeric value from one of my sub vi’s to a numeric indicator in a cluster on the main vi’s front panel? I have been able to send control values to the vi using the method in the snippet.

Unfortunately I cannot share my vi so have simulated the layout.

 

 Thank-you in advance.

 

Mick

 

Snippet.png

0 Kudos
Message 1 of 5
(248 Views)
Highlighted

In general you shouldn't use the control refs to send data like that, but connect the control/indicators to the VI's connector pane and send the data.

That being said, you need to read the cluster first so you can use a Bundle with name to change a specific part and write it back.

/Y

G# - Award winning reference based OOP for LV, for free! ADDQ VIPM Now on GitHub
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 5
(240 Views)
Highlighted

Hi Yamaeda

 

Thank for your reply, my original vi did use the connector pane as you described but the vi was becoming cluttered so i ended up changing it for the present, I apologize for my lack of understanding put could you show me an example of your second suggestion.

 

Thanks

 

Mick

0 Kudos
Message 3 of 5
(222 Views)
Highlighted
Solution
Accepted by topic author Iberian2000

Bundle by name.

Cluster ref.png

G# - Award winning reference based OOP for LV, for free! ADDQ VIPM Now on GitHub
"Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 5
(218 Views)
Highlighted

Brilliant ! 

 

that worked a treat thank-you.

 

Cheers

 

Mick

0 Kudos
Message 5 of 5
(211 Views)