I'd like to have the average of 2 y-values for 1 x-value

Hello,
I have acquired data from tests. The data is logged throughout a sweep. This means that for one X value I have got two Y values.
Does anybody know how to get the averages so I got one graph. The data is stored in one channel.
Thanks in advance.
Robert 

Hi Robert,
If your data are arranged such that multiple Y values for the same X value occur right next to each other, then Ralf's suggestion is ideal.  Are they arranged like this?
Y1 for X1
Y2 for X1
Y1 for X2
Y2 for X2
Y1 for Xn
Y2 for Xn
If not, are the X values equidistant (equally spaced: 1, 3, 5, 7...)?
Brad Turpin
DIAdem Product Support Engineer
National Instruments

Similar Messages

Maybe you are looking for

  • ADF: approach needed to do pre-processing on creation of a record

    Hi, i need a proper approach for doing some select and updates from the database when a new record is created. The select and update is not related to the entity object base table. at the moment i have overriden the create method in the Enitity Imple

  • Error in doing GR

    Hi, Im getting this error while doing Goods receipt "No target chart of accounts is defined for company code X100 " All company code and chart of account assignments are done. Does any1 know how to fix this error. thanks.

  • Reading filenames with characters other than a-z

    Hi! My problem is that I'm writing very simple integration that only transfers files around. Problem is that some directories and filenames have for example scandinavien characters. Examples: D:\lähtevä\lähtö.xml Problem is that when I read files/dir

  • I am trying to understand why the battery life on my recently purchased Macbook seems to be no more than 3-4 hours.

    I am trying to understand why the battery life on my recently purchased Macbook pro is 3-4 hours. Does anyone have this same problem?

  • PHP logical operators

    I have the following line of code that works fine in a page: if(($_POST['Alsubmit']) && (isset($unique) == FALSE)) the code checks that the Alsubmit form has been submitted, AND that the text input is unique, $unique is a statement that says "you alr