04-12-2009 12:11 AM
Dear All,
I have a sampled wave, then I want detect the peak points (or valley points) and hold the point until next peak points (or valley points) appears.
Now I can use the example "Peak Detector.vi" to get the points I want.
But I don't know how to put the data to the graph. The attached picture shows the idea I want.
If you need more detail to solve my problem, plz tell me, thank you so much!!
Solved! Go to Solution.
04-12-2009 07:20 PM
hello,
i have a doubt on what you want to do :
Are you trying to operate a smith trigger function and outing signal is binary ?
best regards
Tinnitus
04-13-2009 04:02 AM
Hi,
Thank you for your reply.
The input singal of DAQ is sampled from a analog singal. Not schmitt trigger.
Yes, I want to hold levels as a zero order blocker.
Do you have any suggest for me?
Thank you again.
04-13-2009 05:20 AM
Hello,
i think there is a misunderstanding, i see that sampled signal is analog .
i would like to know if your green signal on graph has 2 levels , if so you, the function you need is a smith trigger vi
Best regards
Tinnitus
04-13-2009 11:28 AM
hello,
here is one way
detecting all pics index to build parts of array with each min/max value then assembling them
tell if it works
Regards
Tinnitus
04-15-2009 06:55 AM
04-15-2009 08:53 AM
Sorry, this week I have some middle exam.
I will test the vi in tomorrow.
04-17-2009 07:16 AM