App Developer How to use DSP Input CSV

For general Flowcode discussion that does not belong in the other sections.
Post Reply
stefan.erni
Valued Contributor
Posts: 1065
http://meble-kuchenne.info.pl
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 201 times
Been thanked: 224 times

App Developer How to use DSP Input CSV

Post 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 3289 times

BenR
Matrix Staff
Posts: 1951
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 510 times
Been thanked: 697 times

Re: App Developer How to use DSP Input CSV

Post 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 3270 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 3270 times
Let me know how you get on.

stefan.erni
Valued Contributor
Posts: 1065
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 201 times
Been thanked: 224 times

Re: App Developer How to use DSP Input CSV

Post 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 3259 times
Attachments
DSP2.csv
(5.56 KiB) Downloaded 231 times

Post Reply