LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Cluster of VI Server References

Solved!
Go to solution

Hi,

 

See the attached screenshot.  I want to put everything in the outer sequence structure perimeter into a subVI.

 

That is to say that I want to pass the enum "System Comms Method" and cluster "Modules to test", along with the cluster of all the VI Server References.

 

My question is, how do I create a cluster control containing all the VI Server References, to go on the front panel of the subVI?

 

Thanks,

 

Dan

Dan
CLD
0 Kudos
Message 1 of 4
(3,161 Views)
Solution
Accepted by DanB1983
Right click on a wire that has the data structure set up like you want (i.e. the pink wire after you bundle the references together) and select Create Control.
Message 2 of 4
(3,155 Views)

Just selecting the seq structure and selecting edit >>> Create sub-VI will create the controls and wire the sub-vi.

 

Regardless of if you are going to to Ravens Fan's approach mine or another, it is a good idea to save the resulting control as a type def so latter changes are applied to all instances. This Nugget on Type defs can help if you are not falimiar with type-defs.

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 3 of 4
(3,144 Views)
Also, if you plan on doing this kind of thing often, you may wish to have a look at this.

___________________
Try to take over the world!
Message 4 of 4
(3,124 Views)