08-24-2009 10:30 AM
Hi all,
I have a test VI which performs a test and then writes a spreadsheet waveform to file.
In a different VI, I then take the waveform from file and perform some analysis on it.
I need to find a few points and hence get a measurement.
I have attached the analysis VI and a sample waveform txt file.
Also attached is a quick paint drawing of what the waveform looks like.
What i need is an easy way the programatically find the height of the straight line after the peak.
I had a few ways in my head of how to do it, but I'm sure there could be an easier way.
Any help would be greatly appreciated and kudos given.
Tanx,
Rkll
08-24-2009 02:16 PM
08-25-2009 10:02 AM
Hi Rkll,
MattBradley is right, the best way is to average out the line. The last 10% is a safe bet but as long as you don't use any values from the slope you'll get a good reading. It needs to be averaged as the line has noise on it.
I've attached a modified version of your VI. Let me know how it goes.
Regards
Rico