> In a case of compound application (more than 100 controls &
> indicators)is desirable to create several front panels within the same
> VI. How can I do that in LabVIEW 6.0. Just give me an idea or send me
> some examples. This problem I've easily solved in CVI. The front
> panels shold be active when the user is pressing control button.
> 

If you are looking to dynamically create controls and indicators, that 
isn't possible in LV since the LV controls and indicators are more 
closely coupled with your diagram code and aren't a just reference to 
something on a panel.  In LV this is typically done using an array 
control.  You make the display be a one or two dimensional array of 
controls and then on the diagram, construct the data for the display 
from what you are measuring.  Useful tools for this are the array to 
cluster and cluster to array conversions.

In more complex cases, you might choose to have more than one array or 
you switch to a cluster so that you can have individual properties and 
not just individual data like the array has.

And in LV7, there is a new feature called the subPanel that lets you 
display a sub-Panel within your display, which is more useful  for 
plug-in situations where it is difficult to predict what will need to be 
displayed.

As the other post mentioned, with 100 displays, you may also want to use 
a tab control to organize them and allow for better usage of screen space.

If you can be more precide about the display you are trying to make, we 
can give better advice.

Greg McKaskle


Reply via email to