09-11-2013 06:05 PM
Hello all,
I'm analyzing data from a 1D waveform (just have a single column on the .txt file), that data produces a curve that should be analyzed from point one to point two and get the integration. My problem is that the TIME component from the waveform it's not present preventing me to calculate the integration from point A to point B on the time axis. Does anyone from here has an idea on how to deal with this issue?
Im including a .TXT file for reference and a Picture of my code
Any help is truly appreciated
Serge
Solved! Go to Solution.
09-11-2013 06:31 PM
09-11-2013 08:05 PM
The file is having only the 'Data Points', In that case, are you looking only the relative time? and 'dt' is constant and known.
If 'Yes', you can calculate time stamp for each data point with T0 and dt.
If 'No', and you are looking for absolute time, then you have to log 'T0' and 'dt' to the file.
09-17-2013 11:42 AM
Dennis,
What I did was to take my dt value from the waveform, then I passed it through a for loop "n" times adding that dt value starting from "0" every single run to build my time array using the shift register function, after I have my time array I compared the data from it to the data on my plot and both matched. this was the fast and more efficient solution
Thanks again for your support
serge
09-17-2013 11:45 AM
Yogesh,
As I said to Dennis, this is basically what I did (option "yes"), I used my dt known value to determine the time stamp for each data point with both T0 and dt.
Thank you for your support
sergio A.