11-28-2009 01:28 PM
I'm trying to run a subvi transparent window above the main VI. It seemed to work fine just configuring this subvi to run transparently (under "Customize window appearance"). However if I click on the Windows toolbar (at the bottom of the screen) before the execution of the subvi, it appears for a short while (less than one second).
I'm using Labview 8.2.
I would appreciate any help to solve this problem.
11-28-2009 01:34 PM
You only need the tranparency opton if you want to still see the front panel, but semi-transparently.
If you don't want to see the front panel, simply configure the VI to not show the front panel. 🙂
11-28-2009 01:46 PM
Thanks for your answer, but I need this transparent window to avoid mouse clicks on some parts of the screen. The problem I described seems to be a bug because the subvi appears even if is configured to run transparently.
Maybe someone can confirm this.
11-28-2009 01:58 PM
gslomo wrote:However if I click on the Windows toolbar (at the bottom of the screen) before the execution of the subvi, it appears for a short while (less than one second).
I don't know if there is a bug, because I don't understand what you are describing.
Can you attach a simplified VI that shows the problem, including detailed steps on how to reproduce the issue.
11-28-2009 03:06 PM
I will try to anwer your questions. I apologize for not pasting the VI but it's too big.
1) I click on the Windows XP task bar (could be on a minimized programm or just on the bar).
2) The problem occurs when I run the VI in edit mode, and also in the executable.
3) The subvi is whithin an event structure in the main VI, and is called when the user click on some buttom.
4) Labview version is 8.2
Thanks very much for your help.
11-28-2009 03:52 PM
Can you make a very small simplified set of VIs that shows the problem.
For example just a main VI that calls the transparent subVI, which itself only contains a 10 second wait.
11-28-2009 04:32 PM
I have seen this behavior in the past. For example, say you have a graph in a subVI and you would like to export its image. The graph will not update unless the FP is open, so I usually open the FP with the VI set to run transparently. I recall that this was not a clean solution, you see the subVI in the taskbar and I remember some flashing. I usually set the FP position to some corner of the screen and it seems fine. In this case, trying to cover one VI with another, that could be an issue.
All of that said, if you are simply looking to block mouse clicks I suggest using an Event Structure to filter the Mouse Down events. See the following example. Run it and try to change the value of the button inside the box.
11-28-2009 04:48 PM
12-11-2009 02:04 PM
Sorry for the delay, but I had a little holiday. I tryed to simulate the problem with simplified VIs without success (it works perfectly in the simulation). Anyway I'm pasting the VIs and I would appreciate your comments.
The real VI, includes some dlls to control a digitizer. Maybe the strange behaviour is related to the interaction with the dlls.
Thanks again for your help.
Gabriel