LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Fpga Cosine/Sine High Throughput Math Errors

Hello,

 

I have developed a simple vi to proform the task of converting from a distance and angle into x-y co-ords.

 

The problem we seem to be having is that the output is completely wrong, both in magnitude and sign, in some cases.

 

In the screenshot case, sin should be, 0.295 and cos, 0.95

 

Any help would be much appreciated.

 

P.s Please see attached vi and screenshot.

As a side note i have also tried the Polar to X-Y vi and that also did not work.

 

Labview version 12.0.1f3 and fpga target is singleboard rio.

Download All
0 Kudos
Message 1 of 2
(2,181 Views)

Answering my own question, i have just realised that the units are "Pi Radians" rather than Radians.

 

This topic is solved.

0 Kudos
Message 2 of 2
(2,149 Views)