Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

The application program can control which of the image windows is active but is there any way for the program to make the main panel active again?

The LabView (Ver6) application program can control which of the image windows (launched from IMAQ Vision Ver4 & also Ver6) is active. There appears to be no way in IMAQ Vision to revert the control back to the main panel (to allow the use of hot keys etc). Is there any way (in Vision or in the core LabView system) to do this as otherwise the only mechanism seems to need mouse or keyboard (Alt+Tabbing) intervention?
0 Kudos
Message 1 of 3
(3,328 Views)
Yes, it is possible. You want to create a property node for the vi, then wire a TRUE to FP.Open. If you put this inside a loop, it will continue to force the focus to the desired window. I have attached an example that will keep its window open no matter what other LV windows you click on. It doesn't work with other Windows programs, though.

Bruce
Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 3
(3,328 Views)
You can download a set of useful utilities at this link:
http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&74DDE683A1AFF6988625683A000C0D73&cat=034E59A8530E09DF862568900018707A

You will find also Move Window to Top.vi in the Winutil.llb.

Good luck,
Alberto
Message 3 of 3
(3,328 Views)