LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple sub-vi in subpanel

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.

0 Kudos
Message 1 of 5
(3,188 Views)

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/ )

 

Thoric (CLA, CLED, CTD and LabVIEW Champion)


0 Kudos
Message 2 of 5
(3,181 Views)

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.

0 Kudos
Message 3 of 5
(3,164 Views)

Why would you want more than one subVI in a subpanel?

 

Why not have multiple subpanels with 1 subVI in each?

0 Kudos
Message 4 of 5
(3,159 Views)

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.

0 Kudos
Message 5 of 5
(3,155 Views)