I can draw a continuous graph from the data acquired externally through an arduino (voltage change), but I need to be able to choose when exactly the graph starts drawing the acquired data (magnitude). Additionally, I'd like to get a numeric output shown in a box at the graph, and have the option of exporting that data upon clicking, to something like a text file, word, excel etc. How would I go about doing this?
I am making a script which interacts with two signals coming from an arduino (strain gauge, rotary encoder). A graph will be drawn for each with respect to time, the graphs will cut off once a certain spike in value is registered...and the graphs and values will be saved in a file (preferably readable by excel). There would need to be a reset button after each 'test'.
As I am new to Processing, my question is where do I start? I tried looking in the basic tutorials but don't know what direction to look in.