View Single Post
  #3   Spotlight this post!  
Unread 27-09-2008, 11:57
kamocat's Avatar
kamocat kamocat is offline
Test Engineer
AKA: Marshal Horn
FRC #3213 (Thunder Tech)
Team Role: Mentor
 
Join Date: May 2008
Rookie Year: 2008
Location: Tacoma
Posts: 894
kamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nicekamocat is just really nice
Send a message via AIM to kamocat Send a message via MSN to kamocat
Re: help with another VI

I'm using pixels in a picture, so I'm dealing with the 4th quadrant with the y axis negated.
And you're right. It should y÷x (rise÷run). Still doesn't seem to work, unfortunately.
I might try building a VI to find the closest match to any given real number so that I can use an array for this instead of the atan function.

EDIT:
For simplification (and because at this point I just don't need 360 divisions), I'm using 24 divisions (every 15 degrees). I might change it to 72 or 360 later.
__________________
-- Marshal Horn

Last edited by kamocat : 27-09-2008 at 12:00.