Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Tool Window for Images

Hello,
 
I am trying to show tool window on the uir which also has five images being displayed. I am using the following functions in the main program.  
 
 
toolWindow = imaqSetupToolWindow (TRUE, 4, NULL);
imaqShowToolWindow (TRUE);
imaqSetCurrentTool (IMAQ_SELECTION_TOOL);
imaqMoveToolWindow (imaqMakePoint(275,500));
 
The tool window works fine for the first image i.e., I can use the zoom tool, rectangle tool, it shows co-ordinates of the cursor on the image but the tool window does not work on the rest of the four images. It seems as if it does not get activated for the rest of the four images except for the first image.
 
Is there any possible way how I can get it to work. I am sure I am using all the functions necessary but I may be lacking something. Any help?
 
Regards,
 
Nauman
0 Kudos
Message 1 of 5
(3,562 Views)
Help.. Anyone?
0 Kudos
Message 2 of 5
(3,532 Views)
Nauman -

I just tried a similar example on my machine and it seemed to work OK.   Are you clicking the image window to give it focus?  It appears the tool window only works on the image that currently has focus.

Greg Stoll
Vision R&D
National Instruments
Greg Stoll
LabVIEW R&D
0 Kudos
Message 3 of 5
(3,526 Views)
I have been doing that but it doesn't work..  Smiley Sad
0 Kudos
Message 4 of 5
(3,523 Views)
Can you attach a project that shows the behavior?  (and what version of NI Vision are you using?)

Thanks!

Greg Stoll
Vision R&D
National Instruments
Greg Stoll
LabVIEW R&D
0 Kudos
Message 5 of 5
(3,520 Views)