How do you find an average of peak values in a chart?

I would ideally like to display a value alongside a chart that represents the average value of every three peaks.  Right now I am only able to display a live value for the peaks. Is this possible?

Are you using the peak detector VI linked below? Using the index of peak locations and their corresponding values, you could try using a loop to build an array of the peak locations then averaging every 3 indexes of the array.
Peak Detector VI http://zone.ni.com/reference/en-XX/help/371361H-01/lvanls/peak_detector/
Regards,
Isaac S.
Applications Engineer
National Instruments

Similar Messages

  • How do you find the average bitrate for 1080p movies purchased in iTunes?

    Can anyone point me in the direction of how to find the average bitrate for 1080p movies purchased in iTunes?
    For instance, Sherlock Holmes: A Game of Shadows on Bluray has an average bitrate of 18.523 Mbps.
    Thanks in advance!

    Some titles look great from iTunes Store but over the years I have been very aware of distracting banding issues especially in dark/bright areas for example where you'd expect a smooth gery/black gradient but you get discrete bands of greys to black.
    Many people say they don't see it, but I'm very sensitive to it.
    I'm not convinced it's a pure bitrate problem, more to do with the encoding algorithm. Either way it's a clear disincentive to build a library of this content if you see it.
    AC

  • How do you find the average value of all the data between two points on a single channel

    I am tring to calculate the average value of all the data points on a single plot between two seperate points
    I have attahced an illustration.
    Tim
    Solved!
    Go to Solution.
    Attachments:
    plot.jpg ‏173 KB

    Hey smoothdurban,
    I've seen Brad's code, and trust me, it's worth the effort to let him help you get it up and running - it's definitely the most ideal way to solve this problem.  However, as Brad said, there are multiple ways to tackle this - both interactive and programmatic - so in the meantime, I'll take a second to detail one of the interactive and sure-fire ways to find the average of data between two points on a single channel.
    We'll use"Flags."  Set up your VIEW graph exactly as you did on your original screenshot, using Band Cursors to approximate the beginning and ending X-values representing the range you want to examine.  Next:
    1. Click the "Set Flags" button () that is a part of your 2D Axis System.  Note that you can hold down the Shift button if you ever decide you want to do this on more than a single curve at one time.
    2. Select the "Flags: Copy Data Points" button that enables after Flags are set.
    3. This creates new channel(s) in the default (bold) group in the Data Portal that contains only the Flagged data.
    4. Select DIAdem ANALYSIS.
    5. Select Statistics » Descriptive Statistics.
    6. In the Channels input, select the newly created channel containing your Flagged Y-Data.
    7. Ensure that the Arithmetic Mean parameter is set.  You can preview the data and the result in the dialog before pressing OK to execute the calculation. 
    You may have noticed that in the Descriptive Statistics calculation, one of the parameters that you can set is the range of channel rows to operate on - so, if you know the row numbers of your beginning and ending X-values, you could just simply run the Descriptive Statistics calculation and use this parameter to operate on a row subset of your original channel instead of the entire channel.
    Derrick S.
    Product Manager
    NI DIAdem
    National Instruments

  • How would you find the pitch period of a sound signal?

    Hi
    I have a few questions and i would like if somebody could help me even with the smallest comment on this.
    How would someone be successfully estimate the pitch period (fundamental frequency) of a 5 second sound file?How would you successfully distinguish the voiced from the unvoiced parts and how would you make sure you dont mix voiced/unvoiced sections? Finally how can you find the exact points where the pitch is at its peak throughout the signal?
    Any help/comment/suggesion would be much appreciated

    Hello Madgreek,
    After some thought I think I may have come up with an algorithm for what we have discussed. Basically, you are interested in knowing the time intervals over which you can observe any given frequency in your signal. As you had suggested, you can examine small windows of your signal and perform FFTs on each of the small windows to determine what frequency content is contained in that window. By examining all of the windows, you will see when particular frequencies are prevalent in the original signal. You'd want to use the smallest allowable window to give you the most resolution, but one that is large enough to cover an entire period of the lowest frequency (so that you don't miss this frequency).
    I have attached an example program that performs this operation. The example performs this analysis on an array that represents audio data. I am basically performing multiple FFTs (for each window) and stacking these FFTs in time to form a 3D plot. By examining the 3D plot, I can then see when in time my frequencies of interest are at their peaks. Rather than graphing these plots, you may work out a different algorithm for programmatically determining and logging these peaks and times. I hope this is what you were looking for!
    Attachments:
    Time Variable FFT.vi ‏250 KB

  • HT1848 I rented a movie on my ipod touch and want to watch it on my computer because my ipod is having trouble downloading over wifi. How do you find your rental purchases to download on a computer?

    I rented a movie on my ipod touch and want to watch it on my computer because my ipod is having trouble downloading over wifi. How do you find your rental purchases to download on a computer?

    You cannot.
    iTunes Store: Movie rental frequently asked questions (FAQ)
    If you download a rented movie on your iPhone 4 or later, iPad, iPod touch (4th generation or later), or Apple TV: It is not transferable to any other device or computer."

  • How do you find a table that doesn't have a specific word in it.

    I have two questions.
    questions 1
    How do you find a table that doesn't have a specific word in it by using a query on the whole database?
    questions 2
    How would i list all of my cars names in my database not showing duplicates?
    I have tried, tried and tried some more to get both of these, but I guess i don't know how to query a specific word.
    I also don't know how to query everything in just 1 column name.
    If anyone could help with these that would be great I have been trying queries for over an hour now and no luck.
    Thanks

    798837 wrote:
    I tried the all_tab_columns, just like you did it, however that just gives me the column name I am looking for what is not in a column.
    For example I need to find all the tables where mustang is not = 'red' but using a single query i need to find all of the tables.
    As for number 2
    I am looking for something like this
    select distinct column_name
    from all_tab_columns
    where column_name ='AcertainColumn';Now I'm even more confused. In your example, is MUSTANG a column name? Or is it the value of a MODEL column in the CARS table? And how could that possibly relate to something that exists in multiple tables?
    If your data model is at all reasonable, I would expect that you would just want
    SELECT *
      FROM cars
    WHERE model = 'Mustang'
       AND color != 'Red'but I can't see how this would relate to data stored in multiple tables.
    Justin

  • How do you find your blocked numbers in Contacts or on your iphone?

    How do you find your blocked numbers in Contacts or on your iphone?
    Is there a way to get a list of the blocked numbers?

    Hey jeff work,
    Thanks for using Apple Support Communities.
    This article should be exactly what you are looking for.
    iOS 7: Understanding call and message blocking
    http://support.apple.com/kb/ht5845
    You can review your blocked list through one of the following locations:
    Settings > Phone > Blocked
    Have a nice day,
    Mario

  • How do you find your account history for what you have purchased through iTunes?

    How do you find your account history for what you have purchased through Itunes.  I have purchased apps for my Iphone and music and want to see a listing of where my money went.  I use an itunes card so I can keep an idea on how much I have spent.
    Thanks.

    iTunes Store & Mac App Store: Seeing your purchase history and ...

  • How do you find a notification for Ask to Buy for Family Sharing once it is off your screen and not in drop down Notification Center?

    How do you find a notification for Ask to Buy for Family Sharing once it is off your screen and not in drop down Notification Center?

    Welcome to the Apple Community.
    I don't believe you can.

  • How do you find out who did not contribute to a particular fund raiser that we all just did?

    Using MYsql How do you find out who did not contribute to a particular fund raiser that we all just did. There are many titles to the different charities that is under the othpaytitle of the Otherpay table,  I however just want to extract the non-contributors for a particular charity title. Is there anyway to do this? When I do the the syntax below it comes up as an "empty set". The search is done by way of the table Id matching and left joins. Please see below.
    SELECT  moiid, trim(concat(name.fname,' ' ,name.mname,' ',name.lname)) as Brother, name.moiid as Members_ID, sum(otherpay.othpayamt) as NO_Contribution, quadlt.ltfname as quad 
    FROM name 
    LEFT JOIN OTHERPAY  ON name.moiid = otherpay.othpaymoiid
    LEFT JOIN quadlt  ON name.quadlt = quadlt.ltid
    WHERE  Otherpay.othpaytitle like '%food drive%'
    AND otherpay.othpaymoiid IS NULL
    AND name.type = 'BOI'
    AND name.type <> 'jrboi'
    AND name.city = 'SUFFOLK'
    GROUP BY brother
    ORDER BY name.quadlt, brother

    Just guessing based on your query,  and assuming the above query works, just insert a "where" condition. I also removed the SUM function. Also, "AND otherpay.othpaymoiid IS NULL"  may not be needed.
    SELECT  moiid, trim(concat(name.fname,' ' ,name.mname,' ',name.lname)) as Brother, name.moiid as Members_ID, otherpay.othpayamt, quadlt.ltfname as quad
    FROM name 
    LEFT JOIN OTHERPAY  ON name.moiid = otherpay.othpaymoiid
    LEFT JOIN quadlt  ON name.quadlt = quadlt.ltid
    WHERE  Otherpay.othpaytitle like '%food drive%'
    AND otherpay.othpaymoiid IS NULL
    AND name.type = 'BOI'
    AND name.type <> 'jrboi'
    AND name.city = 'SUFFOLK'
    AND othpayamt=0
    ORDER BY name.quadlt, brother

  • How do you find out if the transmitter and/or receiver leaves the session ?

    So , how do you find out if the transmitter and/or a receiver leaves the session , is there an event when this happens ?

    1. There is no list available from your end.
    2. You can't actually check. If you suspect a device has been, deauthorize it twice and then authorize it.
    (89509)

  • How do you find out what your Apple ID password is?

    A friend of mine forgot their Apple ID password and can't log in. They also don't have access to their email, but that's not the issue. He wants to know how you find out what your current Apple ID password is. He awnsered his security questions but all it would let him do is reset his password, without finding out what his current one is. How do you find out your Apple ID password?

    You can't recover a password, only change it. The reason for this is that Apple has changed their conditions for passwords. They now need to have one upper case letter, 1 number, and be at least 8 characters. Also you cannot use any password you have previously used in the last year.

  • How do you find out what information is in the 'other' section of itunes when iphone is connected

    How do you find out what information is in the 'other' section on the bottom of itunes

    You don't
    If it is much more than a gb or so, then it indicates corrupt files.  A restore should resolve.

  • How do you get the average of an array bigdecimels

    how do you get the average of an array bigdecimels... I am looping through the array in a for loop
    for (int i = 0; i < prItems.length; i++) {                                                                                                                                                                                                                                                                                                                  

    int sum = 0;
    for (int i = 0; i < prItems.length; i++) {
    sum = sum + prItems;
    int avg = sum/prItems.length;

  • 1.) How do you find the dictionary in Apple Mail Program?  2.) How do you add another dictionary?

    1.) How do you find the dictionary in Apple Mail Program?  2.) How do you add another dictionary?

    Hello James!
    I do not have any ABAP Instance, only the JAVA one.
    Therefore the ABAP transactions are quite useless.
    The problem tables are created by people working on the CAF layer.
    They have developed and deployed some homemade applications and this is leftovers from their development in some kind of way.
    Anyone with any ideas?
    Could it be that (yet) some special Portal Dictionary Role needs to be asigned to the Administrator?
    /Lasse

Maybe you are looking for

  • Question regarding material for Forms and Reports

    Hi, I'm good at SQL, now that i would like to learn Forms and Reports in Database. But i dont know like where to start and how to start. Could someone please help me out like what i need to do to learn them. As i said i'm very much new to these conce

  • Maximum open cursors exceeded with Sybase TG

    Hi, Does anyone knows if we can use the HS_OPEN_CURSORS with Oracle transparent gateway for Sybase ? I've got the error message : ORA-01000: maximum open cursors exceeded Thanks

  • Find control over which is mouse pointer

    Hi, I should check over which control is mouse pointer or check for some control is mouse pointer is over it. How I can do it? Thank you...

  • To make Column editable in incoming excise invoice form

    Dear All, i want user defined matrix column field to be editable in incoming excise invoice form . i tried oMatrix.Columns.Item("U_mnfDet").Editable = true; while use this code add-on failed. Give me any another solution on this or code to make that

  • Can't Restore Ipod Error 1433

    Can't get itunes 7.6 to restore my ipod. Getting an unknown error (1433). Any help?