Statistics Express VI - help

Under the help option in the statistica express VI this is given to explain the time between samples (dt) 
Time between samples (dt)
—Bases the calculation on the time between samples in 
Signals
My design is two micophones and one sound and finding the time delay between the two.
Now does this mean it takes the difference from when one signal starts and the other starts
(say when microphone 1 first picks up a signal and then microphone 2) 
Or does it show the time difference between the two signals ? 
(as in the delay between the samples)
I'll attach the VI's below to see it that helps makes sense
Solved!
Go to Solution.
Attachments:
VI.zip ‏980 KB

dt is the time spacing between sampled points. In your case, dt=0.001.
If you convert to plain 1D arrays, the sampling information is lost, meaning the cross correlation in in units of the array indices. Given dt, you can calculate the the spacing in seconds from the spacing in index units.
You can also set the dt of the x-axes of the graphs so the display is in seconds.
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • How do I get the statistics express to read more than 10 segments when reading from a .lvm

    I have tried 2 ways of doing this.  I had an for loop set up with a "Read labVIEW Measurement FIle" then a xy chart to plot the 2 measurements vs. each other.  The chart works and will plot everything great but the "Statistics" express will only take 10 samples at a time and will keep redoing the statistics for each subsequent segment of 10 samples.  I tried to change this to a while loop but then the same thing happens with the stats and the xy chart does not graph.  How do I get the stats calculate for the entire file?

    Richard,
    Thank you for contacting National Instruments.  I think I understand what you are looking to do here, but it might be easiest for myself and others to help you more specifically if you post a screenshot of your code, or your actual VI.  However, I looked into trying to achieve something similar, and used a loop structure to bring the information in from a file.  Then, outside the loop, I used the Statistics Express VI from the Mathematics palette to obtain some statistical values.  What type of statistics are you looking to receive from this program?
    Jason W.
    National Instruments
    Applications Engineer

  • I found Error in Statistics Express about the algorithm for mode

    LabVIEW 7.1 was used. today I acquired a lot of data and analyzed using Statistics Express in LabVIEW 7.1, whereas the results of mode were not correct because I analyzed the data using both Excel and SPSS. so I think there must be something wrong with Statistics Express in LabVIEW 7.1. Attached is the data which mode is 57.24 by SPSS, but the result of Statistics Express showed the result of 32.608.
    will someone please help me?
    thanks
    Attachments:
    data.xls ‏29 KB

    Hi,
    I agree the 2 places of decimals is a cosmetic property and I have no issue with that....
    I have my vi setup such that at one call it gets the mode of distances between points on lines. The second time I call the mode it is to get the mode of distances between another set of points. Two separate arrays in a fairly large program. I've attached a shortened sample hopefully the error still appears. Also I was wrong about wiring the intervals wire, this did not change anything.
    If I run the 2nd mode operation on it's own without the previous call it works fine, only when there is a previous mode operation does it fail to "re-initialise" and returns the result of the first mode operation.
    The only thing I can think of is that the first set of data has many different distances and gives a clear mode, whereas the second set has values approximately the same, with the odd multiple (ie 20,22,19,41,62,20,21,23). However, going against this is the Express Statistics vi which calculates the correct values in the Express Window (double clicking on it and selecting the statistics) but when wiring these to an indicator the result from the first mode operation is returned.
    Any suggestions welcomed.
    Kind regards,
    Leeser
    Attachments:
    mode_error_example.vi ‏143 KB

  • Statistics Express Kurtosis inconistency Labview 2011 (Bug 215683)

    Hi All,
    I am currently working with a data collection program from which I need to output the skew and kurtosis values for an array of 30 data points. As I was already using the Statistics Express VI to calculate mean, s.d. etc. I just added the skew and kurtosis outputs to that VI. I then set up a basic VI to generate a 1D array of random numbers to let me compare the Express VI to the skew and kurtosis VI on the mathematics > probability and stats. palette.
    The skew and kurtosis values are inconsistent between the two VIs. If I calculate the skew and kurtosis by hand I can see that the non-express VI appears to be giving the correct answer. I did some digging and found that this has been labelled as bug no. 215683 and is described as having been fixed as part of Labview 2011. I am running Labview 2011 with SP1 so I'm not quite sure why the two VIs are still inconsistent. 
    I realise that I can simply use the VI which is giving the correct answer but I am curious as to why a bug which should be fixed still appears to be active in my version of Labview.
    Any thoughts/ input would be greatly appreciated.
    Many thanks in advance

    Hi cat,
    why don't you get rid of that buggy (as it seems) ExpressVI?
    The remaining data (StDev, variance) are provided by just another function from math->statistics palette…
    You can also opne the ExpressVI to see, how it calculates those data and why it does produce different results!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Statistics express vi

    When using the statistics express vi in LV7.1, I get wrong results for standard deviation. I particular, the VI outputs the mean value instead, but only for certain data sets. Most of the times it works fine. I can not see any problem in this very simple VI. Any ideas?
    Thanks
    Dirk
    Attachments:
    statistics_problem.vi ‏565 KB

    Hello Dirk,
    I think you found a bug on the LabVIEW's statistical functions...
    I removed that set of data from the array and tried the normal (not express) statistical functions and they return NaN and for the others it's ok!
    See attached code.
    Paulo
    Attachments:
    statistics_problem[1].vi ‏600 KB

  • Question about Regular Expressions, please help!

    I have created an app which reads files and extracts certain data using regular expressions in JDK1.4 using Pattern and Matcher classes.
    However it needs to run on JDK1.2.2 (dont ask). The regular expression classes are not available in 1.2.2 (the Pattern and Matcher class) so i am looking for something similiar which i can use?
    I need something that loops through all the matches found in the file like how Matcher works i.e.
    while (matcher.find())
    // do this
    Help!

    http://jakarta.apache.org/regexp/

  • Have an AirPort Express - Need Help

    Got a new CenturyLink Modem/Router and am having TROUBLE resetting up my AirPort Express. Managed to get Century Link Wireless up and running. Then somehow created a Wireless WiFi Network which also seems to work. But the Amber light on the AirPort Exp continues to blink. My goal is to extend the range of my wireless wifi in my home. Don't know what I've done or how to fix it. Please help. Thx.

    Unfortunately, you will not be able to extend the wireless range of your new CenturyLink modem/router with the AirPort Express as the two are not compatible for this feature ... at least not if you want the connection between them to be wireless. However, if you can support having a wired connection between them, then they both can be configured for a "roaming" network. This type of network will effectively increase the wireless range as well.

  • Regular Expressions, please help.

    Hello everyone.
    Can I get a Java Regular Expression to match with a word of the following language...
    Start --> Expression;
    Expression --> [0-9]+;
    Expression --> Expression * Expression;
    So the regexp should match with words like:
    4;
    4664;
    4 * 763;
    5 * 4534 * 23534;
    04 * 002 * 1 * 10 * ...
    I would be very happy, if anyone could help.

    I dont think that I need to learn anything more.
    I am sure it is not possible to make, what I want.
    I want to build a compiler.
    I just finished the abstract syntax of my language. Now I need a possibility to compile the concrete syntax of my language to the abstract one.
    But I think, it is not possible with regular expressions.
    Cause I need possibility to match a syntax of type chomsky 2.
    I think regular expressions only match chomsky 3 languages.
    But the "Backtracking"-mechanism of Java RegExp could do this.
    I am not sure with this.
    If you have any ideas please post.

  • Adobe Photoshop Express Organizer - help file?

    I've recently started using the online Adobe Photoshop Express Organizer, but I can't seem to find a help file to assist in using it. I think I've figured most of it out, but I don't know what the difference is between "Album" and "Group Album." Has anyone seen a complete help file for Adobe Photoshop Express Organizer which might explain this, plus other questions I may have in the future??
    Thanks!
    Jeff

    Photoshop Express has its own forum, which is here:
    http://forums.adobe.com/community/psexpress
    and you may get more help with this question if you post there. Good luck!

  • Error message installing BI Statistics. Any help?

    Hi,
    Ok, I am following the link: http://help.sap.com/saphelp_nw04/helpdata/en/8c/131e3b9f10b904e10000000a114084/content.htm
    to install BI Statistics (0BWTCT_STA).
    In rsa1, Bi Content, InfoArea, I collected 0BWTCT_STA to the right pane, and followed the Procedure in the link by choosing “grouping function for necessary objects only”
    the next step is to install. (Procedure 1 b. in the link).
    (The instruction does not indicate which objects to “check” for installation or not, so I left the default check marks)
    But I got the message below.
    I cancelled on seeing this message 2 times, but on the third attempt, I did not get the message and there was a prompt for transport request.
    1. If I continue now, with a transport request, will it install?
    2. Why did it stop giving the error?
    3. Can this installation cause any problem in the environment?
    4. What is the significance of this message I got?
    Message and details----
    Make repairs in foreign namespaces only if they are urgent                                                                               
    Message no. TR852                                                                               
    Diagnosis                                                                               
    The object being edited is in a namespace reserved for objects belonging
         to SAP or another software producer.                                   
         This system is supplied with this namespace.                                                                               
    System Response                                                                               
    The function continues.                                                                               
    Procedure                                                                               
    Only perform urgent repairs and only after consulting with or on       
         instruction from the owner of the namespace.

    Hello Amanda,
    Please see this OSS Note 431126 -  Activating characteristics that are document attributes.
    Thanks
    [Chandran|http://chandranonline.blogspot.com/]

  • RMS calculation in Statistics Express

    Hi all,
    I want to figure out whether the RMS calculation in Statitics Express will output a signal with a different "number of samples" than the raw signal. I read about the following knowledgebase:
    http://digital.ni.com/public.nsf/allkb/862567530005F09C862567210074EA10
    but still not quite sure if averaging will reduce the number of samples. Can anyone help me out?
    Thanks in advance for any answers!

    It is getting away from the Express VIs, but you could use the RMS PtByPt VI inside of a FOR loop.  Then it is a question of how large of an RMS window do you want.  Same idea as a moving average.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

  • Expression Builder Help

    Hi ,
    I am new to obiee and this might be a little silly.
    I have some logical columns
    1. Order IMC number
    2. Order IMC type code
    3. Order IMC indicator
    I am trying to create a metric -> count of (Order IMC number) where (Order IMC type code = customer or commerical customer) and (order IMC indicator= N)
    I think i am putting in the right expression but its throwing me syntax error. Any help would be appreciated.
    Edited by: user9120695 on Oct 20, 2010 8:43 PM

    didn't mention what is the code you written there.
    try this:
    case when (Order IMC type code in ('customer','commerical customer') and order IMC indicator= N) then Order IMC number end
    create this column with physical mapping if all other columns are coming from same table..
    Now, on top of this column, apply aggregation rule to count and check
    One more thing: as you are new to forums.. i want you to go through this link ..
    http://forums.oracle.com/forums/ann.jspa?annID=939

  • Airport Utility Cant find airport express PLEASE HELP!!!!!!!!!!!!!

    A teacher of mine gave me an airport express base station and he used it for a month. I bring it home and plug it in to a power source outlet and a light went green then amber the next second. it stayed like that then it started to blink amber. Then i opened my airport utility so i can configure it but the utility wont find it, i try to reset it but it still wont work.
    HELP ME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Hi,
    When you say you reset it, did you do it this way - http://docs.info.apple.com/article.html?artnum=108044
    Regards

  • IMPORTING MEDIA FILES in FINAL CUT EXPRESS PLEASE HELP!!!!

    I recently purchased a sony handycam that uses a hard drive instead of DV tapes. I'm trying to use final cut express to edit my footage but when I try to import the files from my camera, the files are unrecognized. I've tried to view them on the quicktime player and that also doesn't recognize them. I believe the files are MPEG2. Im a student and I have to finish this video project by next week and I was hoping to at least have gotten started tonight but have been spending hours just trying to import files. I'm terribly confused!!! If anyone knows what I should do PLEASE HELP. I don't want to have to do my editing on my dell laptop using a windows movie maker.

    Those type of files are not directly supported by FCE. You will have to convert them to DV at the Sequence setting you use. eg. PAL 48 kHz.
    Software or hardware based solutions are available.
    Search this Forum for "Streamclip". This is one software solution.
    Al

  • Airport express vista:help with joining a protected or unprotected network

    hello,
    i've been trying to set up a network between my computer and the airport express, with no luck,
    it works if i don't tell it to join my networks, but then i don't have internet access,
    and when i'm connected to the internet, i can't get both of them to work,
    any suggestions?
    i just need the airport for music, not internet, but apparently, two routers can't use one wi-fi card, so that's why it needs to join an existing network, that's what i understood from the different posts,
    i have unsecured, and secured connections available,(the unsecured network is faster so i'd like to use that one)
    PS: i noticed that the airport used the ETHERNET mac address, don't know if that helps,
    thank you in advance,
    i'm running out of ideas,
    Nay

    Perform a "hard" reset of the AX
    - (ref: http://docs.info.apple.com/article.html?artnum=108044)
    Setup the AX
    Connect your computer directly (using an Ethernet cable) to the Ethernet port of the AX, and then, using the AirPort Admin Utility check these settings:
    AirPort tab
    - Base Station Name: <whatever you wish or use the default>
    - AirPort Network Name: <whatever you wish or use the default>
    - Create a closed network (unchecked)
    - Wireless Security: Not enabled
    - Channel: Automatic
    - Mode: 802.11b/g Compatible
    Internet tab
    - Connect Using: Ethernet
    - Configure: Manually
    - IP address: <provided by your university>
    - Subnet mask: <provided by your university>
    - Router address: <provided by your university>
    - DNS servers: <provided by your university>
    - WAN Ethernet Port: Automatic
    Network tab
    - Distribute IP addresses (unchecked)

Maybe you are looking for

  • How can I book an employee for a training program from PD?

    HI One and All, Hope all of you Doing well... I configured Personal Development and Training Event Management. When I go for Profile Match-up, I found that One employee is lack-off some skills. I have a training program to fill those skills. How can

  • Possible to do default argument for method?

    Hello, Is it possible in JAVA to give default argument to method as in c++? I have a method that I want to call with only part of the argument: public String UpdateTrs(String amount, String RefNo1, String RefNo2=null) so if I have RefNo1 and no RefNo

  • Can't open PSD! "Could not complete your request because the required resources were not found."

    Hi all, I am having some serious issues with Photoshop CC and have alread lost a few days of work to a random bug. I have spent the whole day working on Photoshop to try and catch up on the lost work. I was saving the PSD, closed the document and the

  • UCCX 9.0 - Flexible open hours/dates

    Hi All, I'm new to uccx scripting and I need some advice... We currently have a number of live queues setup with hard coded open hours and dates. (i.e. 9am-5pm and closed for holidays) Now the company wants to move to a more a flexible model. The ide

  • Use of HTML without window

    Hi all I'm going to do a front-end application, and my problem is, that I have an AIR webbrowser, there is only working in Windowed application. Is it possible to make an webbrowser, in a fullscreen application mode?