Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Mouse position in image information not updating correctly

Hi All,

 

My application loads images and then processes them. Those image sizes are different.

 

My problem is, the mouse position (in pixels) in image information is not updating currently, always one image behind.

 

The test vi is attached. Steps to reproduce it:

 

1 pick up two grayscale images, whose image size is very different.

2 on FP, point the image path to where two mages are located.

3 run the vi, put cursor on image indicator.

4 check the mouse position in image information bar.

 

Any idea?  Thanks a lot for helping.

 

Anne

0 Kudos
Message 1 of 5
(2,754 Views)

Hi Anne,

 

What version of LabVIEW and the Vision Development Module are you using?

 

It seemed to work fine for me.

 

Have a great day,

 

Chris V

Applications Engineer
National Instruments
0 Kudos
Message 2 of 5
(2,745 Views)

Hi Chris,

 

My Labview is 8.5.1 and Vision is 8.5.

 

 

Thanks for your response.

 

Anne

0 Kudos
Message 3 of 5
(2,742 Views)

Hi ergwser,

 

I checked in LabVIEW 8.5.1 and it appeared to work correctly.

 

However, I did notice that in both versions of LabVIEW, the cursor location did not update unless the mouse was moved.  This is expected behavior.  The cursor box does not update the location unless an event, like the mouse being moved, occurs.

 

Have a great day,

 

Chris V

Applications Engineer
National Instruments
0 Kudos
Message 4 of 5
(2,729 Views)

Hi Chris,

 

Thanks for your reply.

 

I saw the same as your abservation. However, it's not right,  and really confusing and misleading when different size images are loaded and no other event occurs and cursor location is not updated.

 

Is there a easy way to work around?

 

Thanks,

 

Anne

0 Kudos
Message 5 of 5
(2,720 Views)