09-29-2005 02:27 PM
Hi,
The code attached displays (n reads from excel file) the image generated by photo diode and can zoom the image etc. It can read the coordinates (y, z) of the pixel based on your click. I am believing that “top left most” should be the origin. However, I kept clicking and kept getting "–ve" value for y coordinate. I am expecting both y and z coordinate to be positive. Please let me know where I am going wrong.
PS: If you will click, it will ask you whether you want to move motor to new position or not. Please click “yes”. It will just read the coordinate of picture.
Thanks,
Dushyant Kumar
09-29-2005 05:37 PM
09-29-2005 06:16 PM
However, Based on your suggestion I could not solve the problem. Basically each pixel in image corresponds to some particular values of stepper motors' position
(one motor moves in horizontal and other in vertical direction). If I multiply by 10 as you suggested, the origin that I am getting does not corresponds to any motor
position. So, I would prefer not to have any extra white space (corresponding to no sample value in excel file).
09-29-2005 08:17 PM - edited 09-29-2005 08:17 PM
I think you want the "mouse.position" property of the image itself, see attached (LabVIEW 7.1).

(The position properties that you are currently using have little to do with the image.)
Message Edited by altenbach on 09-29-2005 06:19 PM
09-30-2005 01:36 PM