Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I make vbai user input window active?

Hi all,
 
I'm calling for user input several times during an inspection using VBAI 3. Is there any way to make the user input promp window the active window when it opens? It opens on top, but not as the active window. This makes it difficult if you want to eliminate mouse input because you have to select the window before you can type in its fields or accept it. I'm trying to use a keystroke emulating barcode scanner, which works great, but I need to select the window manually before I can do anything. As a sidenote, does anyone else think it strange that the input prompt window opens on top but not active by default?
 
Any thoughts?
 
thanks,
 
Joel
0 Kudos
Message 1 of 3
(3,303 Views)
Hi Joel,

This is unfortunately a known issue in VBAI 3 and was fixed by R&D for version 3.5.  The only work around I can suggest without using the mouse would be to use Alt+Tab to switch to that window.

Beyond that I recommend you upgrade your VBAI.

Regards,
Rishi L
National Instruments
Applications Engineer
0 Kudos
Message 2 of 3
(3,291 Views)

Another option would be to use a Run LabVIEW step with your own message and buttopns and make the VI's front panel visible when it is run and keep the VI running until the User presses OK or Cancel. Then you will have full control over making the Window active, and you will still have access to user inputs from this winow as long as they are string, numeric, or boolean.  You could also add more advanced UI elements to make it more customized, or you could get VBAI 3.5 as mentioned earlier.

Hope this helps,

Brad

0 Kudos
Message 3 of 3
(3,272 Views)