LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

actuating control values on front panel

Hello,

 

i've got a problem with actuating control values on front panel.

actuating one seperate control value from a sub vi is not a problem. i use a referencez and it works.

now i have too much controls in my sub vi.

is it possible to reduce my sub vi connectors by combining several controls or references?

 

thx

 

markus

0 Kudos
Message 1 of 9
(3,053 Views)

Yes,

 

A good way to combine controls (including different types) is to use clusters.

 

R

Message 2 of 9
(3,048 Views)

Tank you for your fast answer,

 

but i think thats not the solution of my problem. if i have a cluster all my controls are in the cluster.

on my front panel i have a lot of controls which cannot be in one cluster.

 

 

markus 

 

0 Kudos
Message 3 of 9
(3,045 Views)
You don't have to use clusters directly on your main VI's front panel. You can bundle the controls in your block diagram and pass a cluster to the subVI. Smiley Wink
Message 4 of 9
(3,034 Views)

Hello,

 

i think it is not the solution. when i pass a cluster the sub vi the controls will only be actuated when the sub vi finished. my problem is that my test runs in a sub- vi and i want to see the current values in my front panel.

for only a few controls i can use references. but i have too much controls and i want to bundle them.

 

markus

0 Kudos
Message 5 of 9
(3,005 Views)
You can pass the reference to the cluster to the SubVi to make it get updated on the fly.
- Partha ( CLD until Oct 2027 🙂 )
Message 6 of 9
(2,996 Views)

Lets see if an image can help clarify.

 

 

A) The front panel Object

 

B) The terminals to those object

 

C) Reference to the control are packed in a cluster

 

D) and manipulated in the sub-VI

 

Ben

Message Edited by Ben on 09-23-2008 06:01 AM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 7 of 9
(2,992 Views)

Thank you for posting. I tried it but it didn't work. can you make a screen shot or something else?

 

markus

0 Kudos
Message 8 of 9
(2,990 Views)

Hi Marcus,

 

See to the attached VIs.

- Partha ( CLD until Oct 2027 🙂 )
Message 9 of 9
(2,985 Views)