AnsweredAssumed Answered

Vfr - Open Access Database

Question asked by adam.nguyen on Feb 23, 1998
Dear Dan,
    
     I wanted to make sure that you had seen the MaxX() function in Vee. 
     You will find it in Data-Filtering.  This will find you one peak.
     You could use this in combination with ClipUpper if you wanted to
     accumulate more than one peak.  This would require you to loop with a
     temporary buffer to hold the data that has had the previous peak
     clipped.  The ClipUpper is also in data filtering.  Watch out though,
     the clip upper clips everything above a value ( > ), not greater than
     or equal to (>=).  So, you may have to fudge a little to get rid of
     your peak: this may not be what you want to do.
    
     So, in recognition of the drawback of CLipUpper, you may wish to use
     the comparitor instead, this gives you more control of your decision
     making and still returns the value that you want.
    
     This should give you a start and keep things simple too.
    
     Good luck,
     Andrew


______________________________ Reply Separator _________________________________
Subject: VRF: HP54750 Direct I/O, Peak Detection
Author:  Non-HP-DANIEL.J.POMPEA (DANIEL.J.POMPEA@cpmx.saic.com) at
HP-PaloAlto,uugw6
Date:    2/23/98 1:57 PM


As a relatively new HP Vee user, I am having difficulty and would
appreciate any samples/examples you are willing to share, in the following
areas:
    
1) Interfacing with an HP54750A Digitizing O Scope, via HPIB. Both in
developing a front panel, controlling instrument, and getting it to send
waveforms back to Vee.
    
2) Any automatic peak detection algorithms to process a 512 point waveform,
and find the top 5(or so) peaks, and their locations. I have not been very
successful in manipulating array objects and creating (I guess) subarrays.
    
Many thanks in advance.
    
Dan Pompea
    
PS. I be interested in, and willing to help coordinate, a Vee Users Group
in Colorado Springs. Call me at 591-3753 if you're interested.
    
Daniel J. Pompea
Science Applications International Corp.
Colorado Springs Software Development and Integration Facility
daniel.j.pompea@cpmx.saic.com

Outcomes