|
Re: Clustering in Labview
I'm not sure that I understand what you're trying to do. Unless "objects" in C++ that include both data and functions, clusters in LabVIEW are really more related to structures in C/C++ (ie a simple grouping of possibly disparate datatypes).
If you're trying to get a subVI that can be called from other VIs, the easiest technique to use is to highlight the "code" that you wish to make a "function" from and select "edit-create subVI". This will automatically gather up the software and create inputs and outputs for you.
The old-school technique is to right-click on the icon in the upper right of your front panel and select "edit icon" to change the icon and "show connector" to display the connector pane for the VI. With the connector pane displayed, you can use the wiring tool to select the inputs and outputs for the VI. After saving the VI, you can use it as a subVI in any other VI.
Is this what you're looking for?
Russ
|