Our application will calculate FFT from real-time DSP data., we will start from creating example model which generates analog signal with two sine waveforms with different amplitude and frequency. The FFT example uses Xcos generated DSP application and Scilab FFT function which calculates FFT from real-time data.
This way application can be divided into a real-time part, which is executed on MicroDAQ DSP and script which allows using all Scilab functions for calculations. MicroDAQ toolbox provides macros for managing DSP execution, a user can load DSP binary from Scilab script, register signal, read data from running DSP application and terminate its execution. We will show FFT example where the analog signal is generated on analog output and acquired with DSP management functions. In this article, we will show how to use DSP management tools.