04-19-2012 03:44 AM
Hello,
Is it possible to load multiple clones of sub-vi's in a subpanel? How can I do that? I've tried load a reentrant subvi. But it seems that only one sub-vi can be loaded.
Thank you.
04-19-2012 06:27 AM
Are you trying to put more than one subvi into a sub-panel at a time? Sub-panels only support one subvi at any one instance.
If you are trying to load one sub-vi into many subpanels, this can be done so long as the subvi is marked as re-entrant and you use the correct option (0x08) in the Open VI Reference function (see http://zone.ni.com/reference/en-XX/help/371361H-01/glang/open_vi_reference/ )
04-19-2012 09:21 PM
Yes, I want to load more than one sub vi in a subpanel. So unfortunate that Labview doesn't have such capability at the moment. Thank you.
04-19-2012 11:42 PM
Why would you want more than one subVI in a subpanel?
Why not have multiple subpanels with 1 subVI in each?
04-20-2012 12:17 AM
Actually I want to create a program that allows user to load multiple groups of control (consist of 3 numeric controls) at run-time. I've tried using SetParent() function from user32.dll. It works fine as long as the number of controls loaded at run-time don't exceed main window size. In other words, when I scroll down main-window, sub-vi's don't scroll down.
So I wanna try another approach.