Page 1 of 1

App Developer How to use DSP Input CSV

Posted: Wed Feb 03, 2021 5:20 pm
by stefan.erni
Hi Ben

I used the DSP Sine wave generator and the XYChart. Both are working nice.

But the DSP Input CSV I can not understand how. I have a file with coma separated CSV file but no way to show it on the XYChart.
DSP1.csv
(5.8 KiB) Downloaded 462 times

regards

Stefan
generator_2021-02-03_18-10-15.png
generator_2021-02-03_18-10-15.png (49.72 KiB) Viewed 3292 times

Re: App Developer How to use DSP Input CSV

Posted: Fri Feb 05, 2021 10:46 am
by BenR
Hi Stefan,

Thanks for letting us know I have found some problems with the component and I beleive it is fixed and working correctly now.

Here's a quick example of how I was driving it.
DSP_CSV.fcfx
(9.56 KiB) Downloaded 310 times
CSVData.jpg
CSVData.jpg (54.04 KiB) Viewed 3273 times
I did notice that your data goes slightly higher then a signed int can store? -32768 to 32767 and so if you're using a signed int like I am then you get an overflow.
Overflow.jpg
Overflow.jpg (6.35 KiB) Viewed 3273 times
Let me know how you get on.

Re: App Developer How to use DSP Input CSV

Posted: Fri Feb 05, 2021 2:28 pm
by stefan.erni
Hi Ben


Yes the csv had wrong data. I made a dsp2.csv.
It's working very nice now.

regards

Stefan
Heartbeat_2021-02-05_15-14-31.png
Heartbeat_2021-02-05_15-14-31.png (85.33 KiB) Viewed 3262 times