AnsweredAssumed Answered

vrf Detecting rising edges of a High/Low-Signal

Question asked by VRFuser on Jun 27, 2001
No attachment

Greeting, Axel

-----Ursprngliche Nachricht-----
Von: OSSMANN,BILL (A-hsgAndover,ex1) [mailto:bill_ossmann@hsgmed.com]
Gesendet am: Mittwoch, 27. Juni 2001 16:38
An: vrf@lvld.agilent.com
Betreff: RE: vrf Detecting rising edges of a High/Low-Signal

Axel,

Instead of signOf(A-mean(A)) use clipLower(signOf(A-mean(A)),0). This will
clip the -1 results from the signOf function to 0, eliminating the spikes.
Please see the attached program. I have moved some of the calculation from
the second formula box to the first to make it more readable.

Regards,
Bill Ossmann
--
bill_ossmann@agilent.com
Agilent Technologies
Imaging Systems Division

>-----Original Message-----
>From: a.kieser@francotyp.com [mailto:a.kieser@francotyp.com]
>Sent: Wednesday, June 27, 2001 9:07 AM
>To: vrf@lvld.agilent.com
>Cc: bill_ossmann@hsgmed.com
>Subject: AW: vrf Detecting rising edges of a High/Low-Signal
>
>
>New Problem:
>If I want to detect the zeroes of a sine-wave, I have a
>difficulties, if one
>value of my measurement is exactly zero, there I will get peaks in my
>delta_t=f(t)-graph (see attached example).
>Any ideas?
>
>MfG
>Axel Kieser
>______________________
>TEM - Raum 311a - Tel. 637
>
>
>
>-----Ursprngliche Nachricht-----
>Von: OSSMANN,BILL (A-hsgAndover,ex1) [mailto:bill_ossmann@hsgmed.com]
>Gesendet am: Freitag, 22. Juni 2001 16:15
>An: vrf@lvld.agilent.com
>Betreff: RE: vrf Detecting rising edges of a High/Low-Signal
>
>If you have a non-zero mean, simply subtract the mean (or
>whatever threshold
>you need) from the original data before feeding it to the edge
>detector. You
>could even include the subtraction in the first formula in the
>arguments of
>the signof() functions.
>
>I got nearly a factor of 30 in speed, from about 4.3 seconds
>down to about
>0.15 seconds.
>
>Regards,
>Bill Ossmann
>--
>bill_ossmann@agilent.com
>Agilent Technologies
>Imaging Systems Division
>
>>-----Original Message-----
>>From: a.kieser@francotyp.com [mailto:a.kieser@francotyp.com]
>>Sent: Friday, June 22, 2001 10:03 AM
>>To: vrf@lvld.agilent.com
>>Subject: AW: vrf Detecting rising edges of a High/Low-Signal
>>
>>
>>Thank you, it's great (3 times faster);
>>my Problem is now, what I have to do if the DC-Part (mean)
>>isn't zero resp.
>>low and high level both are greater than zero? My example with
>>the function
>>generator was not universal enough, I think...
>>
>>Thanks in advance,
>>
>>Axel Kieser
>>___________________________
>>Francotyp-Postalia AG & Co.
>>TEM - Mechanical Development Department
>>Triftweg 21-26
>>16547 Birkenwerder
>>Germany
>>Tel.: +49 (0) 33 03/5 25 - 6 37
>>Fax: +49 (0) 33 03/5 37 07 - 6 37
>>mailto:a.kieser@francotyp.com
>>http://www.francotyp.com/
>>
>>
>>
>>-----Ursprngliche Nachricht-----
>>Von: OSSMANN,BILL (A-hsgAndover,ex1) [mailto:bill_ossmann@hsgmed.com]
>>Gesendet am: Freitag, 22. Juni 2001 15:31
>>An: vrf@lvld.agilent.com
>>Betreff: RE: vrf Detecting rising edges of a High/Low-Signal
>>
>>Try the attached which uses array math and a comparator.
>>
>>Bill Ossmann
>>--
>>bill_ossmann@agilent.com
>>Agilent Technologies
>>Imaging Systems Division
>>
>>>-----Original Message-----
>>>From: a.kieser@francotyp.com [mailto:a.kieser@francotyp.com]
>>>Sent: Friday, June 22, 2001 5:11 AM
>>>To: vrf@lvld.agilent.com
>>>Subject: vrf Detecting rising edges of a High/Low-Signal
>>>
>>>
>>>Hi,
>>>I have an array which is containing the values of a
>>>measurement of a high /
>>>low-signal, e.g. U(t). I want to analyze this array to get a
>>>function T(t)
>>>where T is the difference between two consecutive rising edges.
>>>Is there a faster method to get them than a 'for...count' and
>>>an 'if' (see
>>>example)?
>>>
>>>Thanks in advance,
>>>
>>>With best regards,
>>>Axel Kieser
>>>
>>> <<Test1.vee>>
>>>
>>>___________________________
>>>Francotyp-Postalia AG & Co.
>>>TEM - Mechanical Development Department
>>>Triftweg 21-26
>>>16547 Birkenwerder
>>>Germany
>>>Tel.: +49 (0) 33 03/5 25 - 6 37
>>>Fax: +49 (0) 33 03/5 37 07 - 6 37
>>>mailto:a.kieser@francotyp.com
>>>http://www.francotyp.com/
>>>
>>>
>>>
>>>
>>>*************************************************************
>*********
>>>This email message has been swept by MIMEsweeper for the presence of
>>>computer viruses.
>>>
>>>Francotyp-Postalia AG & Co.
>>>
>>
>>
>>
>>**********************************************************************
>>This email message has been swept by MIMEsweeper for the presence of
>>computer viruses.
>>
>>Francotyp-Postalia AG & Co.
>>---------------------------------------------------------------------
>>This is the "vrf" maillist, managed by Majordomo.  To send messages to
>>this maillist, just email to "vrf@lvld.agilent.com". 
>Subscriptions and
>>unsubscriptions are done through the address
>>"vrf-request@lvld.agilent.com".
>>If you need details, just send a message containing the text "help"
>>to "vrf-request@lvld.agilent.com".
>>---------------------------------------------------------------------
>>
>---------------------------------------------------------------------
>This is the "vrf" maillist, managed by Majordomo.  To send messages to
>this maillist, just email to "vrf@lvld.agilent.com".  Subscriptions and
>unsubscriptions are done through the address
>"vrf-request@lvld.agilent.com".
>If you need details, just send a message containing the text "help"
>to "vrf-request@lvld.agilent.com".
>---------------------------------------------------------------------
>
>
>
>**********************************************************************
>This email message has been swept by MIMEsweeper for the presence of
>computer viruses.
>
>Francotyp-Postalia AG & Co.
>
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo.  To send messages to
this maillist, just email to "vrf@lvld.agilent.com".  Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------


**********************************************************************
This email message has been swept by MIMEsweeper for the presence of
computer viruses.

Francotyp-Postalia AG & Co.
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo.  To send messages to
this maillist, just email to "vrf@lvld.agilent.com".  Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------

Outcomes