05-28-2013 03:32 PM
Dear all,
I'm using cRIO-9024 & LV 2012 and have some trouble in FPGA.
I'm trying to calculate sine & cosine values in FPGA so I have used "High Throughput Sine&Cosine" in FPGA.
However, the function returns wrong value.
For example, If I give "6.2832" (2*pi) as an input it returns "0.63" (cos x)
Also, If I give "3.1416" (pi) as an input it returns "-0.9" (cos x)
I am able to receive right values in RT level from VIs in RT but I am having the wrong values in FPGA from "High Throughput Sine&Cosine".
Does anybody know how to resolve the problem?
Thank you for your help!!!
-Kim
05-29-2013 06:07 PM
Hello,
We do have an Example using the High Throughput Sine&Cosine Function.
In LabVIEW go to Help >> Find Examples >> Hardware Input and output >> CompactRIO >> FPGA Fundamentals >> High-throughput Math >> Generate Sine Wave
Are you able to run the example properly?
05-30-2013 10:54 AM
Hi,
the problem is resolved.
input unit of the function in Real-Time is rad.
however, input unit of the function in FPGA is pi rad.
I didn't notice the difference.
Thank you
02-28-2015 11:53 PM
Hello,
I am using LabVIEW 2013, and i cannot found highthrough under FPGA fundamentals in compact rio examples.
I would be grateful if yo could screenshot the example or post it.
Thank you very much
03-02-2015 05:13 PM