Your message refers to fundamental functions not currently available in
LabView:
1- Front panel windows do not handle child windows
2- SubVis front panels cannot be inserted in another front panel
It would definitely be a good idea to add these features in LV since they
are essential in developing professional applications. As a matter of fact,
NI developers are probably aware of these limitations, since they were
forced to use API library functions to develop the IMAQ Vision builder.
http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&EED34C984F72336C
8625687F005AE2F1&cat=430EDB814D4447898625685E0077CB28
The same technique can be used to insert Vis front panels into another Vi
window. This way the child Vis can be moved, minimized, ... into the parent
Vi window or it can be inseted into the parent window front panel, just like
an activeX control, if appropriate options are selected in Vi properties >
Windows appearance.
(Make sure that subVis are closed before you exit the main Vi).
The only drawback is that the subVi front panel window location changes
after it is converted to a child window. This is because the coordinates
are different for a parent (screen coordinates) or child window (parent
coordinates).
(Note that this does not happen with IMAQ windows because they remain hidden
until the IMAQ draw function is called).
That problem do not show if the main Vi is "no title + use full screen" so
Screen coordinates = Parent window coordinates, but this is not ideal.
Does anyone know how to get ride of this side effect; is there a way to hide
a Vi window after it is created ?
Michael.
--
-
"LAF" wrote in message
news:3a24f81d@newsgroups.ni.com...
>
> I'm interested in combining a function generator VI and a data logger VI
(as
> shown in Labview examples) in such a way that I can fit both of them on
one
> front panel (neatly), and have both VIs reading the same time (or hooked
> into one clock). The application is for logging transducer (or
temperature)
> measurements from multiple channels, while having the option to do
function
> generation from the same front panel. I hope this makes sense. Any advice?