02-18-2010 10:24 AM
Hi,
I have this sample vi that i want to make changes to.
can someone please help me.
i have this situation, as the first image is centered, the crosshair is drawn correctly.
as the item rotates, the crosshair is also drawn, but it is not drawn correctly. can someone tell me what i can do to fix it?
Here is what I have.
This is a good crosshairs drawn..
This is BAD
This is what I need to have. (YELLOW LINE)
Solved! Go to Solution.
02-18-2010 11:14 AM
Use Measurement System.Angle (deg) which is delivered from IVA Coordinate System Manager.vi. This will give you the angle. Use it for calculation of the coordinates for your cross mark.
Andrey.
02-22-2010 03:16 PM
I am still having problems with the calculations.
do you know where i can find
information about measurement calculations with X, Y axis?
02-23-2010 02:36 AM
krispiekream wrote:
do you know where i can find
information about measurement calculations with X, Y axis?
Here in your code:
Andrey.
02-23-2010 02:21 PM - edited 02-23-2010 02:22 PM
i am sucessfull with 1 line but not 2 lines.
02-25-2010 09:05 AM
This is because you have not changed anything in the first case of the case structure which deals with the position of the vertical line. The following change should do the trick:
02-25-2010 09:55 AM - edited 02-25-2010 09:56 AM
yeah, the vi i sent wasnt working for case 1.
but i have fixed it and didnt submit it.
i did (90-deg)
Thank you for your help!!!!