ni.com is currently experiencing unexpected issues.
Some services may be unavailable at this time.
04-26-2012 07:48 PM
On my graphing Calculator sin(52)= 0.7880107536 (its on DEG)
The same with my scientific calc. I dont know why its not working
when my they are on RAD it shows the exact same as labview shows
but when i try to make labview use Degreese it gives the wrong answer
Solved! Go to Solution.
04-26-2012 08:02 PM
How are you "making LabVIEW use degrees"? Please show us some code! (I suspect you are trying to use units)
04-27-2012 01:37 AM
If you want to use degrees you'll need to convert to radians by deg*2PI/360, the Convert Unit seems to do the job fine.
/Y
04-27-2012 06:47 PM
here is the code, i thought i included it earlyer
04-27-2012 07:42 PM
You are feeding a 52 (radians!) to the sine function and converting the output. That makes no sense!
You need to convert the angle to radians before the sine functions.
04-27-2012 10:57 PM
I see exactly what you mean, I dont know how i missed it, all the answers are correct, thank you so much. Here is what i did...