Quote:
Originally Posted by Hadi379
Can someone look at my telop code and let me know if this is correct. I thought I was on the right track, but from other posts on here, I decided to go another route. The image of the telop.vi is attached. Sorry for the poor resolution, but i had to make the file size small enough. Thanks....
|
It looks reasonable, but there is an easier way to convert from cartesian to polar (the magnitude and direction). In the palette under Programming >> Numeric >> Complex choose "Re/Im to Polar". This VI does all that math internally. The output is in radians, so you still need the conversion to degrees.
In the next update there will also be a VI that takes cartesian inputs so you can wire your joystick up directly.
As for the poor resolution, you should use jpg or png, not bmp. bmp is basically just a raw image with no compression.