LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"subroutine" priority and Window always on top

When I build my .vi into a .dll and call it from a C++ application, and run the C++ application in debugger mode, the user interface (window) of the C++ application always remains on top.  I cannot switch to any windows below it (example: trying to switch to the C++ debugger in order to set a break point).  This only occurs when calling my dll in the C++ app.  Would a subvi that had priorities set to "subroutine" cause this?  None of the other "Window Appearance" settings are set to a value that would cause this.
 
Thanks,
Daryl
0 Kudos
Message 1 of 5
(2,913 Views)
Well, it wasnt the "subroutine" priority setting.  Anyone have any ideas what could be causing this?  I am stumped.
0 Kudos
Message 2 of 5
(2,907 Views)
Hi Daryl,
as I understood the "subroutine"- priority before, it forces Labview to insert the subroutine-VI into the calling VI as you where drawing the diagram in the calling VI. So no data is pushed to stack and so on. For me this explains, why subroutine VIs don't have a Front Panel. That's why I suppose that those VIs don't affect the Window- behaviour of calling Apps.
Dave
Greets, Dave
0 Kudos
Message 3 of 5
(2,905 Views)
Thanks dave, any idea what could be causing this behavior?  I am at a loss here and running out of time.

Message Edited by DCSmith on 05-11-2006 07:48 AM

0 Kudos
Message 4 of 5
(2,901 Views)
Hello,
 
I am speculating here, but that does sound like the modal behavior of a LabVIEW front panel.  Perhaps you can verify that none of the front panels for any of your subVIs used to create your dlls have the modal window appearance property set.  Even if a front panel was set that way, I'm not sure how or why that behavior would transitively affect an application which simply uses the corresponding dll.
 
Best Regards,
 
JLS
Best,
JLS
Sixclear
0 Kudos
Message 5 of 5
(2,886 Views)