12-08-2006 09:41 AM
12-09-2006 01:01 AM
Hello Kaan!
The find should be the right command to solve your problem. You have to define a condition wich must be fullfilled for the sample you want to find. In your case it could be a absolut value or (as I prefer) a percentage of the maximum value of the channel. If there is a offset in the signal (I can't see it in the image) you have to add it.
Example: nTriggerIndex = find( "Ch('Trigger') > (0.01 * ChnValMax('Trigger'))" )
Your signal looks pretty good. In other cases you have to smooth (e.g.) the signal to eliminate spikes, etc. in advance.
Matthias
Matthias Alleweldt Project Engineer / Projektingenieur | Twigeater? |