The signal result becomes a straight line on the DAC I am using your program and made some changes, but when I use it in the function