01-17-2008 03:37 AM
01-18-2008 03:38 PM
Hi Jay,
So, this is very much a niche application, but I will do my best to help you. First lets look at this on a high level before we delve into LabView code. You say that the turning point is detectable. Well, it is detectable to the human eye here mostly because the waves are symmetrical, and at the point at which the symmetries converge is the turning point, naturally.
So, we need to detect this point, count the number of peaks, and subtract the turning points from the peaks. In order to do this, you will need to perform some sort of a symmetry test in LabView. I do not know how many results will have continuous traverses of the mirror back and forth, so I do not know how many symmetrical graphs you will have.
If we know the number of symmetrical graphs, then we can perform peak-to-peak measurements of the data, match them up to a particular tolerance, and the largest peak-to-peak measurement should have the turning point between it.
However, before we start that, my best advice to you right now is to use a few online tutorials on how to use DAQ to gather data first.
This is an excellent source of NI-DAQ information.
Getting Started with NI-DAQ Software
I highly reccomend the first link, the Learn 10 Functions in NI-DAQmx and Solve 80% of Data Acquisition Applications that is very valuable to gather data.
After you are able to get your data to show up in a graph or a chart, then, you will probably want to do some peak measurements. This seems to be a fairly involved project, especially since you are starting out, so if you can get the data to display in a graph, that may be the best first step to take. After that, let us know on this thread and we can progress a little further each step. I think creating an example program at this point would be very much like trying to drink out of a waterhose.