Hi there
I have been trying find my way around in doing the following, but in vain. I hope somebody could help me.
My aim: Is two plot two arrays on a waveform chart against the system time(computer time), on the same graph and also at the same time save the values (time, array1 and array2) to a file, with the column headers. The two array values are generated by the peak detection.vi inside a while loop. The plotting should continue until the STOP button is pressed. Also prefer not to clear the history, in the plot. for now the time should be the time when the values are generated
So far I am able to save the values to the file, including the column headers, by converting the values to string and saving it using "Write Characters to File.vi" .
But I cant get my way around plotting it against time. I tried many ways, including using bulid waveform(either it rejects for bad wiring or mostly it considers the two arrays as one one array).
Secondly, I have looked at some examples. The real-time chart.vi does the half the job I want. But it does not save the data. I tried extracting the values from the Property node- history, but I cant. even then it only gives the y values. The other intresting example is the Create waveform.vi. With that I cant find my way in converting the getdatetime .vi to float! Even then it does not let me wire the two arrays to the Y value.
It seems like I am missing something here, because it looks quite straightforward to me and should not be taking more than a day figure out. BTW I am new labview user!
Thanks in advance...