Hi, I've a PXI-7841R (FPGA). My VI needs to send the derivative of a sine wave (volts) to an external card and acquire a sine wave input (velocity) that I have to integrate.  
The sine wave later become with two harmonics. When the frequency is too high, I notice aliasing problems and the sine's derivative  amplitude and integral are not exact. 
  
Checking with simulink, for example with a sinusoid of amplitude 1, the integral should have amplitude 2 and the derivative 1. 
  
I have attached a screenshot of simulink and VI simple to check if the integral and the derivative values are corrected, by changing the frequency. 
  
Any help would be appreciated. 
  
Regards 
 
dev int simulate - Copia.vi