LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Fixpoint satures differntly on FPGA target

I have a wierd problem.

 

I have a FPGA code that is a SubVi scaling and offsetting a signal.

the math is done using FXP values. All FXP operations are set to saturate on overflow...

 

When the VI is run on the DEV PC the result is as expected but when i run on target de result i different for one specific input.

Please look at the two attached pictures, the only different is where they are excuted. AND THE RESULTING VALUE???

 

The amplitude gain is scaled so a value of 2^16 = gain = 1 and  2^19 = gain = 8. But in the case where the VI is run at target the 2^19 gives a gain of zero as illustrated in the pictures???

 

I am using a cRIO 9073 Chassi

 

I seek a good explanation and some nice fix......

 

Best Regards

 

Allan Juul Larsen

MAN Diesel and Turbo

Copenhagen.  

0 Kudos
Message 1 of 1
(2,269 Views)