03-25-2010 10:12 AM
Working with Dasylab 10. I am looking to collect min/max peaks on a sinwave form we will be running. Can this be done? If so, how? Or will I just have to oversample and sift throught the data?
Thanks!
Mark.
Solved! Go to Solution.
03-25-2010 10:54 AM
Use the Statistics module called Minimum / Maximum.
This will either output the value (you pick minima, maxima or both), or will output a TTL signal, with a TTL peak (5V) at the peaks.
Adjust the hysteresis value to avoid detecting noise as peaks, or, use a running average to smooth out the signal.
04-08-2010 12:33 PM
CJ,
I am having a hard time with the min/max value module again. I have 2 lines coming in (2 LVDTS) to the min/max module right after a relay. The min/max module is set to collect minimum and maximum. The output is "Function Values". It then is supposed to go to the write module. If i hit the "collect data" button i had to take data, it trips up the whole program and won't let me write anything (as there are other things going on). I don't understand why its not as simple as just dropping it in there and then looking for the values it needs.
Any ideas?
Would the Hysteresis range or Start Hysteresis have anything to do with it?
04-08-2010 12:40 PM
04-08-2010 12:43 PM
Sounds like a timing issue and writing to an ASCII file.
Try replacing the Write module with two List modules, and see what the time stamps of the values are...
If this is the case, use a "Special-->Signal Adapt" module and configure it to "Ignore Real Time". It should align the min and maxima to allow them to be written at the same time.
04-08-2010 01:53 PM
Here it is.
04-08-2010 01:54 PM
04-08-2010 01:55 PM
04-08-2010 02:00 PM
For this test, use the statistical Values module not the Min/Max module.
Select Minimum and Maximum and use either block wise or Ascending that can be then resetted by action
04-09-2010 07:02 AM