I'm looking for code to measure SNR, SNDR, etc. using Measurement Studio, Visual Basic.

I've collected audio ADC data and wish to measure signal-to-noise, frequency, amplitude, etc. I'm using Measurement Studio with VB.

Frequency and Amplitude should be easy to measure. The CWDSP frequency domain processing methods perform transformations between the time domain and frequency domain and perform analysis in the frequency domain. Slightly more difficult is the measurement of SNR. I would recommend the following tutorial:
"The Fundamentals of FFT-Based Signal Analysis and Measurement in LabVIEW and LabWindows" available here. This page also links to a LabVIEW example, which can be used to understand the dataflow and functions necessary to create the system.
There is also a good signal to noise ratio tutorial here.
regards,
Eric Meyer
Applications Engineer
National Instruments

Similar Messages

  • I am looking for a movie app that i can use that is free and i that i can just download the movie and watch it

    i am looking for a movie app that i can use thats free i just want to download some movies and just watch them thats all  can somone plz help me

    iTunes Store app is free
    No movies are free, unless you pirate them. Discussing that isn't allowed here.
    You can get movies for near-free with apps like Netflix and some others.

  • I am looking for a way to automate index creation using Adobe Reader Pro without having to use the screen user interface, as the indexing has to be run by a batch process.

    I am looking for a way to automate index creation using Adobe Reader Pro without having to use the screen user interface, as the indexing has to be run by a batch process.

    [discussion moved to Creating, Editing & Exporting PDFs forum.]

  • How to look for a certain value in a database using sql

    Hello everyone. How do you do this in SQL? Or, is there a way to look for a certain value in a database? What I'm trying to do is this:
    I want to look for the exact value "abcdefg" in the database so that oracle will return me details on the following that contains the said value:
    1. the name of the table(s)
    2. the column/field name(s)
    Note: "abcdefg" could exist in different tables with different column names with different data types.
    Any help is much appreciated. Thanks.
    UPDATE: What about if I just want to check those fields/columns with string data types?
    Message was edited by:
    dongzky
    Message was edited by:
    dongzky

    Just a teeny tweek
    DECLARE
       l_dummy   VARCHAR2 (4000);
    BEGIN
       FOR rec IN (SELECT table_name
                     FROM all_tables)
       LOOP
          FOR rec2 IN (SELECT column_name
                         FROM user_tab_cols
                        WHERE table_name = rec.table_name)
          LOOP
             BEGIN
                EXECUTE IMMEDIATE    'select 1 from '
                                  || rec.table_name
                            || ' where to_char('
    || rec2.column_name
    || ') = ''CAS'' and rownum = 1'
                             INTO l_dummy;
                DBMS_OUTPUT.PUT_LINE (rec.table_name || ' ' || rec2.column_name);
             EXCEPTION
                WHEN NO_DATA_FOUND
                THEN
                   NULL;
             END;
          END LOOP;
       END LOOP;
    END;

  • HI i have tried so many times to import images, both pictures and video from my hard drive to elements 131, and it keeps coming up with the error message " .....has stopped working we are looking for a solution to this problem etc " please help!

    After taking days to upload elements 13 I am now having trouble even trying to import my images and videos into the program for editing. Each time I IMPORT files an error message comes up that says " ....has stopped working, we are looking for a solution to the problem and will notify you if a solution is found"  I have not been able to edit ANYTHING or even drag files/images to the time line.... is it me? is my computer too slow? surely if it was, then Adobe elements 13 would not have installed in the first place? please someone help me sort this out as I have a deadline to make for a docco! thanks in advance Lyddy

    From the Premiere Elements Information FAQ http://forums.adobe.com/thread/1042180
    •You MUST use an account with Administrator Privileges to run Premiere Elements
    •(Doing Run as Administrator http://forums.adobe.com/thread/969395 [says Encore and also for "All" versions of Premiere] will sometimes fix "odd" errors)
    •What version of Premiere Elements? Include the minor version number (e.g., Premiere Elements 12 with the 12.1 update)
    •What operating system? This should include specific minor version numbers, like "Mac OSX v10.9.4"---not just "Mac"
    •Has this ever worked before?  If so, do you recall any changes you made to Premiere Elements, such as adding Plug-ins, brushes, etc.?  Did you make any changes to your system, such as updating hardware, printers or drivers; or installing/uninstalling any programs?
    •Have you installed any recent program or OS updates? (If not, you should. They fix a lot of problems.)
    •What kind(s) of image file(s)? When talking about camera raw files, include the model of camera.
    •If you are getting error message(s), what is the full text of the error message(s)?
    •What were you doing when the problem occurred?
    •What other software are you running?
    •Tell us about your computer hardware. How much RAM is installed?  How much free space is on your system (C:) drive?
    •How many and what speed are your hard drive(s)... ie 5400rpm or 7200rpm or?
    And some other questions...
    •What are you editing, and does your video have an orange line over it BEFORE you do any work?
    •Which version of Quicktime do you have installed?
    •What is your exact brand/model graphics adapter (ATI or nVidia or ???)
    •What is your exact graphics adapter driver version?
    •Have you gone to the vendor web site to check for a newer driver?
    •For Windows, do NOT rely on Windows Update to have current driver information
    •-you need to go direct to the vendor web site and check updates for yourself
    •nVidia Driver Downloads http://www.nvidia.com/Download/index.aspx?lang=en-us
    •ATI Driver Autodetect http://support.amd.com/en-us/download/auto-detect-tool

  • Looking for an example from app gallery that uses WAAD for identity

    I'm looking for an example from the app gallery (http://azure.microsoft.com/en-us/gallery/active-directory/) that uses WAAD for identity. I need one the show our business what the process would look like for an organization signing up for a SaaS offering
    via the App Gallery. I know all the Microsoft applications use WAAD but I was hoping to find a third-party example.  What I mean is an app where all tenant and user identity is done using WAAD as opposed to federated identity.

    I doubt that what you are looking for exists yet.
    Cheers,
    Markus
    Markus Vilcinskas, Knowledge Engineer, Microsoft Corporation

  • Looking for white papers or case studies etc

    I have been tasked with setting up an electronic workflow at our enterprise, and I am in need of some material on how to accomplish this task so that it will be of benefit to our organization.
    If anyone has any links available that will assist me in this project (book suggestions are appreciated as also) I would greatly appreciate it.
    Thank you
    Dave

    Adobe Content Server protects PDFs using Digital Rights Management and assists in their distribution--turning the PDFs into eBooks. If that's what you're looking for, see the descriptions of the service providers at: http://www.adobe.com/products/contentserver/partners.html
    If you're looking to manage the flow of electronic documents through your organization, see the descriptions and links at:
    http://www.adobe.com/products/server/procmgmt.html

  • Looking for pictures of Apeture Books to be used as samples

    Anyone know where I can find pictures of what the end result of an Aperture Book looks like so I can show it to a Client?
    If I show the Client the book in Aperture, it is difficult for them to visualise what the final book will look like.
    Any help here???
    Thanks!

    Thanks for the link. I did know about this facility to preview the book before buying already. What I'm looking for is some kind of picture of what the final book actually looks like, something I can show a Client and say "it will look like this".
    Do you know of anywhere I can see a jpeg or some equivalent of the final results?
    A deep Google search has revealed nothing...
    Thanks,
    Chris

  • How can i measure the transmision time in gpib with visual basic with more precision if i use time() function?

    I want to take a measurement of the time that i use to make a gpib transmision in a Visual Basic program,i use the function TIME() to take the time in the begining and other time in the end,but this way only give me precision of seconds, and i want miliseconds,can i use other function,other way?
    Can answer in spanish?

    Try using GetTickCount() API function, which provides millisecond precision. If you need more precise timer, try using QueryPerformanceCounter() function.
    Makoto

  • Looking for Code Review Resources

    We have completed a complex project using jakarta struts and are in beta testing at the moment.
    Would like to have someone review our code but we have not been able to find expierienced developers in our (physical) area.
    Does anyone have suggestions on where I could look to find a qualified individual for independent code review.
    Thank you in advance for your suggestions.

    Just post it here. Some of our fine reviewers will be happy to serve you.
    P.S. Be sure to say that it's homework.

  • Looking for code snippit

    Hello:
    Anyone seen a code snippit that would display a .jpg file and let you specify size? I am looking to make a desktop application that displays a picture in a frame for an example of what Java can do. Any help is appreciated.
    Thanks,
    Mike

    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.BufferedImage;
    import java.io.*;
    import java.net.*;
    import java.util.Hashtable;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    import javax.swing.event.*;
    public class ImageSizing
        BufferedImage image;
        JLabel label;
        public ImageSizing()
            loadImage();
            label = new JLabel(new ImageIcon(image));
            JFrame f = new JFrame();
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(new JScrollPane(label));
            f.getContentPane().add(getUIPanel(), "South");
            f.setSize(400,400);
            f.setLocation(200,200);
            f.setVisible(true);
        private void loadImage()
            String fileName = "images/owls.jpg";
            try
                URL url = getClass().getResource(fileName);
                image = ImageIO.read(url);
            catch(MalformedURLException mue)
                System.err.println("url: " + mue.getMessage());
            catch(IOException ioe)
                System.err.println("reead: " + ioe.getMessage());
        private JPanel getUIPanel()
            final JSlider slider = new JSlider(JSlider.HORIZONTAL, 10, 100, 100);
            slider.setMinorTickSpacing(5);
            slider.setPaintTicks(true);
            slider.setLabelTable(getLabelTable(slider));
            slider.setPaintLabels(true);
            slider.addChangeListener(new ChangeListener()
                public void stateChanged(ChangeEvent e)
                    int value = slider.getValue();
                    double scale = value/100d;
                    scaleImage(scale);
            JPanel panel = new JPanel(new BorderLayout());
            String s = "percent of original size";
            panel.setBorder(BorderFactory.createTitledBorder(s));
            panel.add(slider);
            return panel;
        private void scaleImage(double scale)
            int w = (int)(image.getWidth() * scale);
            int h = (int)(image.getHeight() * scale);
            Image scaled = image.getScaledInstance(w, h, Image.SCALE_AREA_AVERAGING);
            ImageIcon icon = new ImageIcon(scaled);
            label.setIcon(icon);
        private Hashtable getLabelTable(JSlider slider)
            Hashtable<Integer,JComponent> ht = new Hashtable<Integer,JComponent>();
            int min = slider.getMinimum();
            int max = slider.getMaximum();
            int inc = 25;
            ht.put(min, new JLabel(String.valueOf(min)));
            for(int j = 25; j <= max; j += inc)
                ht.put(j, new JLabel(String.valueOf(j)));
            return ht;
        public static void main(String[] args)
            new ImageSizing();
    }

  • RMAN script for hot backup (looking for code critic) code attached.

    Hello Guru's,
    I have been having soem trouble running a successful hot full rman backup nightly.
    We max our CPU load whenever our RMAN takes too long and conflicts with a Legato tape backup. I have a development server that I attempted to get a consistent backup time duration that is rock solid as to not conflict with the Legato backup time.
    I just found out about duration with RMAN scripts here is my code:
    #!/bin/bash
    #rman backup script for daily hot whole database backup
    at -f /hd1/rman_scripts/rman_backup 0600 tomorrow
    rman target/
    run {
    allocate channel d1 device type disk format '/path/%U';
    backup duration 1:00 partial minimize load database filesperset 1;
    backup as BACKUPSET tag '%TAG' database;
    backup as BACKUPSET tag '%TAG' archivelog all delete all input;
    delete noprompt obsolete;
    release channel d1;
    exit
    It completes the backup, but does not use the 1 hour allocated- it only uses 15 minutes on average and creates many files instead of normally three backup files.
    Here is the results from querying the v$rman_status table for operation,status,start_time:
    RMAN,FAILED, 17-OCT-06 0600
    BACKUP,FAILED,17-OCT-06 0600
    RMAN,FAILED,17-OCT-06 0606
    BACKUP,COMPLETED,17-OCT-06 0606
    BACKUP,COMPLETED,17-OCT-06 0606
    BACKUP,FAILED,17-OCT-06 0615
    RMAN,COMPLETED,17-OCT-06 1513
    REPORT,COMPLETED,17-OCT-06 1513
    DELETE,COMPLETED,17-OCT-06 1513
    However, the timestamps of the backupset files it creates is:
    06:15 and not 1513?????????????
    RMAN appears to have only taken 15 minutes to create the files, why do I have a completed timestamp from v$rman_status of 1513???
    Please advise and comment, I am just learning RMAN.

    Try to remove the DURATION option in your script.
    Here more details about that part.
    http://download-east.oracle.com/docs/cd/B19306_01/backup.102/b14194/rcmsynta009.htm#i1010261
    Bye, Aron

  • Looking for code creating binary tree from expression(prefix)!

    I wanna use expression to generate binary expression tree. For example:
    I have expression in string: 1+2*3;
    then generate a tree like:
    +
    1 *
    2 3
    does some body have example code?

    sniff sniff I thought we were having lasagna? Smells like homework!

  • Looking for code to do lookup

    Hi,
    I have two dso .FSR number is common keyfield.I have to get notification date to another one.Please help me in writing code .
    Thanks,
    Rakesh

    Hello,
    Use below code lines to write ur code:
    This is in case of transformation, do it in end routine:
    data: wa_result_package like line of result_package,
             it_DSO2 type standard table of /BIC/A<DSONAME>00,
             wa_DSO2 like line of wa_DSO2.
    select * from /BIC/A<DSONAME>00 into corresponding fields of table it_DSO2
    for all entries in RESULT_PACKAGE where FSRNO = result_package-FSRNO.
    loop at RESULT_PACKAGE into wa_RESULT_PACKAGE.
    read table it_DSO2 into wa_DSO2 with key FSRNO = wa_RESULT_PACKAGE-FSRNO.
    if sy-subrc = 0.
    wa_RESULT_PACKAGE-FSRNO = it_DSO2-FSRNO.
    modify RESULT_PACKAGE from wa_RESULT_PACKAGE.
    endif.
    endloop.
    Use proper object names. I have just used referenced sample.
    Regards,
    Shashank

  • Looking for code

    Hi,
    I want to write a program to get personal data and employee address of an employee between two dates.
    on selectionscreen i want to display personal number,from date,to date.
    Early reply is highly appreciable.
    Thanks,
    ram.
    <LOCKED BY MODERATOR - USE APPROPRIATE TITLES>
    Edited by: Alvaro Tejada Galindo on Aug 18, 2008 1:44 PM

    Please use appropriate titles, otherwise the thread would get locked...(Like this one right now...)
    Greetings,
    Blag.

Maybe you are looking for

  • Start Routine in Transfer Rules

    Hi all ,    I am trying to write a start routine in the Transfer rules ....I just want to know which is package that i have to loop to get mt records .... id it LOOP at DATAPAK ....   My records ... ENDLOOP This is where i need to put the logic or el

  • LP8 won't install on my new macbook pro (ver 10.8.4).

    I purchased LP8 a couple years ago, installed it on my desktop, then purchased and installed the upgrade to LP9 when that came out. (My desktop is the only computer that I've installed LP on). I just bought a new Macbook Pro running OS X (ver. 10.8.4

  • Aperture 3 don't allow same reference file mgmt?

    With Aperture 2, I've kept all masters in Nikon Transfer folders. When reviewing and editing photos, I used Aperture to delete all unnecessary photos - it allowed me to choose if I want to delete version or both version and master (where ever that mi

  • Excise Related information

    Hi Experts, Please can any one forward me the information related to the values come in RG23A Part-I & Part-II same RG23C Part-I & Part-II in following document. Good Receipt. Good Issue. Outgoing Excise Invoice. Incoming Excise Invoice. Please also

  • Deleting music in the library

    Hi, If I delete my music library and start again will I lose my purchased song as well