I want to plot data given by a capacitive sensor made with CapSense library in SciLAB.
The CapSense code allow the user to print on the serial port a value that is proportional to capacitance.
On the other side, there's a function in "Serial port communication" library of SciLAB that read the data in the serial port and extract [u]a string[/u] of it.
So it is possible to print the capacitive sensor value in the serial port terminal and read it immediately with SciLAB in order to convert the string in SciLAB in float and store the value in a vector for plot it.
The problem is :
Values of capacitive sensor are printed every 100ms in the serial port terminal and whatever the way they are printed (524545 or 45 56 65 or 45,87,98,120), this is a difficult work to extract the correct string of the monitor.
So, is there a way to print in the serial monitor the values ONE by ONE, every 100ms ? In order to make the "extraction" of the data in SciLAB easier ?
Thanks a lot