LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

did inverse tangent not support FXP

Hi,

 

  I tryed to use tangent inverse with FXP but it does not work, is anybody have idea about why this happen?

 

  Regards,

SASA

0 Kudos
Message 1 of 12
(3,653 Views)

Hi SASA;

 

it happens because trigonometric functions don't support FXP!?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 12
(3,650 Views)

HI GerdW,

 

  In did, 

 

  so the solution for me is to use double or SGL

 

  i prefere SGL but results are a litle bit different in the fractional side when using SGL and FXP.

 

 i expected the Ksin to be  

-299,055055

 

 

 (plz see the epicture).

 

 Regards,

SASA

 

 

 

0 Kudos
Message 3 of 12
(3,635 Views)

Hi SASA,

 

is there a specific reason to use SGL instead of DBL on the cRIO9068?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 12
(3,628 Views)

Hi GerdW,

 

  We need more precision in computing Ksin,   what do you think ?

 

  Regards,

 

SASA

 

  

0 Kudos
Message 5 of 12
(3,622 Views)

Hi Sasa,

 

my opinion: use DBL for calculations on the RT host. Use FXP for FPGA calculations.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 12
(3,618 Views)

Hi GerdW,

 

   yes, but as you see we do all computing  Vis in RT side and FXP in not supported for trigonometric fuctions

 

  Did you have any idea about the NI9375 module, they say that it need external power supply but i did not found wher to connect it in the module?

 

  Best Regards,

 

SASA

0 Kudos
Message 7 of 12
(3,610 Views)

Hi SASA,

 

the manual for the NI9375 explains all in/out pins and the needed connections. It also contains schematics…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 8 of 12
(3,602 Views)

SASA1 wrote:

   yes, but as you see we do all computing  Vis in RT side and FXP in not supported for trigonometric fuctions


Then use DBL, just like GerdW said to.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 9 of 12
(3,552 Views)

here is the vi there is a difference and pictures, there are differences

Download All
0 Kudos
Message 10 of 12
(3,540 Views)