Hi,
I have a while loop running all the time. Indside this loop, I have two data elements, that are continously generated. These are Current and Torque. A new value for these are got for every while loop being executed. Now, I want the user to decide on which value he wants to use in his plot.
The user clicks on a boolean button called 'Note values', and then the values of the toque and current at that instant of time need to be saved and also plotted right away on a plot.
So if T=0, I=0 and user presses 'Note Values', this point should be plotted in the graph and also saved in a datasheet preferably. Next when T=1, I=2.5, he presses the 'Note values' again...and so on.
Can anyone help me w
ith this.
Thanks.