11-19-2017 02:42 PM - edited 11-19-2017 02:47 PM
@nollMarvin wrote:
Thanks for your reply.
I also hab the tree control in mind. But i didn't consider it further because of the different data types.
In my understanding i would have use strings and then parse the data, e.g. a path, from that string. Is there a way around this?
I wouldn't worry about a few types too much. The class could simply return an array of variants, and the tree will need to support them.
Usually the difficulty is that some parameters might interact with others. Other problem is that you might want the class to set limits, increment values and such. It's easy for simple cases, and gets difficult very soon.
Check out NI's configuration editor framework. I don't like adding an entire project in my project, but it might inspire or help you.
The subpanel solution is probably easier although you don't get instant gratification.
11-20-2017 05:04 AM
Hi Marvin,
I don't have LabVIEW 2016 installed, so I can't look at your vi.
Attached is a possible implementation without using LV-OOP.
It uses a tab control configured as a "wizard" with Previous and Next buttons.
Instrument selection is handled with an array of booleans (Inst Array).
Also, if you need your clusters in an array you can convert them to variants.
steve
11-20-2017 05:25 AM
If you want to show several instruments at once with different clusters you can have several subpanels and have the objects clusters into them.
/Y