How do I sample a frequency or voice input using labview in real time?

This is my first time using labview to sample real-time!  I'm trying to setup a microphone, so that when a voice is spoken to the mic I can sample the frequency, and
further customize the data in labview. The final goal is to amplify the frequency and output it to a speaker. If possible via labview. My question is do I need some type of evaluation board , microcontroller, to sample the frequencies and save the data sample to labview. Also, how would I go by doing this in real-time, or when the person is speaking to the mic the voice/frequency can be modified in labview instantenaeously. If someone can give me a step-by-step way of performing this, please let me know.
I currently use Labview 8.2 and 8.5

There are many LabVIEW shipping examples that are built to acquire sound samples from a microphone attached to a sound card.  There is also an example on how to play a sound file directly to speakers, that you should definitely take a look at.  These examples VIs are found in the Sound folder which is under Hardware Input and Output in the NI Example Finder.  Depending on how advanced your frequency analysis will be, you might want to look into purchasing the Sound and Vibration Toolkit.  For your specific application, it doesn't sound like you will need the LabVIEW Real-Time Module, you should be able to obtain very accurate results without it.  Please view the article linked below for more information on this toolkit.  Thanks!
Sound and Vibration Toolkit for LabVIEW
Meghan M.

Similar Messages

  • How to get data from a USB-UIRT device using Labview?

    How to get data from a USB-UIRT device using Labview?
    I'm trying to get data from a USB-UIRT device, is it posible with Labview?
    I really appreciate your help, 
    thanks

    You may want to contact the developer of the device for the API and DLL.
    http://65.36.202.170/phpBB2/viewforum.php?f=3

  • How to increase the speed of video (avi file) using labview

    How to increase the speed of video (.avi file) using labview? I have  tried this by skiping alternate frames. also I have used  minimum time delay.Is there  any other option for which i can go?
    please suggest me........... 

    Are you using NI Vision IMAQ AVI Read Frame or anther method to read the AVI file?
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

  • How to make the exchange of data between 2 while loop in real time

    hello
    I have 2 while loop
    the 1st while loop includes the data acquisition program
    the 2nd while loop includes the control program
    my question is how to make the exchange of data between 2 while loop in real time
    I tried with the local variable and direct wiring between the 2 while loop
    it does not work (there is a delay)
    Solved!
    Go to Solution.

    Bilalus,
    Queues are only good to transfer data if your application isn't deterministic. Since you are using Real Time, I am assuming that your application requires determinism. If you are using Timed Loops and you use queues to transfer data between your loops, you are losing determinism. In this case, you need to use the RT FIFO functions. 
    Warm Regards,
    William Fernandez
    Applications Engineering
    National Instruments

  • How can I do to communicate to parallel port using labview 5.0 and NT ?

    I am trying to write and read from parallel port using Labview 5.0. It does not work with NT.
    How can I do to communicate to parallel port using labview 5.0 and NT ?
    Thank you in advance.
    Regards,

    If you are trying to use In/Out port functions that come with LabVIEW they will not work with NT. I think the AccessHW file at the following link will fix that problem:
    http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/49664743ded6f1da862564bc004e3a7f?OpenDocument
    Try also this link:
    http://zone.ni.com/devzone/conceptd.nsf/2d17d611efb58b22862567a9006ffe76/0989d3d9dafae64e8625680400679736?OpenDocument
    and do some searchs at NI.com for parallel port, you should find some more usefull info.
    Good luck
    Brian

  • How can I figure out, (and control), the sampling rate of my IMAQ board using LabVIEW?

    My IMAQ board is sampling at a certain rate and I do not know what it is... how do I figure this out using labVIEW? Also, how can I make sure that it is not waiting any time at all for sampling i.e. it is not waiting for any wait time functions or any of them other things that cause the program to slow. The reason that I want to do this is because the Kodak Imaging board that I am using seems to be delivering at a much higher rate and no my graph there are major gaps between each sample according to the time plot (for instance it goes from 178280 to 178290 all the way by 10's to 178340. But when the program is running continuously it has gaps of like 355 or so miliseconds I guess.
    Maybe that is just the time that it takes for the program to refresh itself, I am not sure. where could I find where this missing information is going?
    Thanks much,
    Brian

    Brian,
    Your IMAQ card should be sampling at the same speed of the camera, as long as your camera isn't exceeding the cards limits.
    As for how many images you're acquiring in your program, it depends on how long it takes for you to finish one loop of your code. It sounds to me that you may have a lot of processing happening after each grab, therefore slowing down the system.
    Try to comment out your processing (maybe with a case structure set to false) and output only your acquired images. See if that makes a difference. You might also try running this on a faster computer.
    BB_Phil

  • How to encrypt a voice input using a symmetric key to be sent in a network?

    Hi all, i have retrieve voice input through a micro phone and stored it as byte packet used "*conman sound class*" to be sent on a network. The problem is that, "HOW TO ENCRYPT AND DECRYPT THIS *BYTE* OF DATA USING A SYMMETRIC KEY ALGORITHM". It will be helpful if related code is posted.
    with regards
    Marshall

    If you are calling the BDC in a program, create a job to run the program and specify the user you want each program to run under.

  • How do you force Logic Pro 8 to freeze a track in real time

    I'm using a lot of samples in a project and my hard drive can't read all the samples fast enough (it's a 5400rpm USB 2.0 drive - I'm looking at getting a faster drive, but this problem is bound to crop up eventually with any drive if you have enough samples).
    Freezing tracks doesn't solve the problem (it makes it worse) because it races through and plays each track so fast that the drive reads even less samples than playing in real time.
    Ideally, i'd like to be able to freeze all tracks (which would miss a lot of samples), but then one by one re-freeze each track in real-time, so the only samples Logic and the hard drive have to worry about are from that one track (as all others are frozen). I think this would give me the best chance of having the drive read all the samples in the project.
    Is there a way to tell Logic to freeze the track in real time?
    Or if you can think of any other way to solve the problem, obviously I'd be more than happy with that : )
    ps This is my first post here. I've searched through the forum and can't find the answer to this question, but if it's already been answered, my apologies.

    CrazyMacHammer wrote:
    Freezing tracks doesn't solve the problem (it makes it worse) because it races through and plays each track so fast that the drive reads even less samples than playing in real time.
    I don't understand what you are saying here. When a track is frozen, there are no samples being used for it, just one temporary audio file...?
    Ideally, i'd like to be able to freeze all tracks (which would miss a lot of samples)
    , but then one by one re-freeze each track in real-time,
    re-freeze realtime???
    so the only samples Logic and the hard drive have to worry about are from that one track (as all others are frozen). I think this would give me the best chance of having the drive read all the samples in the project.
    What exactly do you mean by freezing? I think you mean something else than Logics' freeze function:
    http://documentation.apple.com/en/logicpro/usermanual/index.html#chapter=9%26sec tion=16%26tasks=true
    Is there a way to tell Logic to freeze the track in real time?
    Or if you can think of any other way to solve the problem, obviously I'd be more than happy with that : )
    ps This is my first post here. I've searched through the forum and can't find the answer to this question, but if it's already been answered, my apologies.
    First I need to understand the question... how long have you been using Logic? Did you use another DAW before?

  • How to measure the shift between two resembling images using LabVIEW?

    I am running an experiment in which I use a microscope to map the surface of a laboratory sample and due to some small drift consecutive image appear displaced. In order to correct for the drift I need to first measure it, which I can do by recording two images and finding the shift between. Because of some small random noise which adds to each image, the features in two consecutive images are not completely identical, but they do resemble each other very well. Do you have any suggestions on how to measure this image shift (in both x and y) using LabVIEW (I have version 8.20)?

    Hi, thanks for the answer, I´ll try to see if a 2D cross-correlation will work. I also attached two typical images with a small shift between them (there is also some change in background between them, but I belive the shift should still be measurable).
    Attachments:
    Image1.png ‏285 KB
    Image2.png ‏267 KB

  • How can I run the report for different input values at the same time?

    Reports version: Report Builder 6.0.8.13.1
    Oracle version: Oracle8i Enterprise Edition Release 8.1.7.0.0
    I want to run the same report for different input parameter values and spool each o/p to different file and ftp to a server. For this, as a first step, I am spooling different input values in to a file, reading those values through a loop and calling the report for that input values. Each report run/execution is taking 15 minutes. Total report execution is taking approximately 4 hours (assuming 16 different input values) to complete. So I have to wait 4 hours to see ALL outputs.
    I would like to run the report parallel for ALL the input values and I should be able to see the ALL outputs with in 15 or 16 minutes.
    In my shell script, I added & symbol at the end of the report call to start/run the job in the background. Due to this the control passed to the next step after the report call. At this place I have an ftp command to send the output file to a different server and it is giving error some thing like “o/p file is not available/created yet". This is due to the fact that report writer is NOT yet completely started/initiated or it is NOT completed the spooling.
    How can I run the report at the same time for all the input values and save the time?
    Thanks in advance.
    Kishore.

    Increase the number of server engines running right now it seems there is only one engine running ,increase it to 4 or 6
    and then atleast 4 or 6 reports will run simultaneously.
    For FTPing the output add to your sript to check whether it is locked and if not then only try to ftp .
    Also for more better functionality read the document (chapter 15 ) for 10g reports for its new fuinctionality.
    http://download.oracle.com/docs/cd/B14099_17/bi.1012/b14048/toc.htm
    Thanks
    Subodh

  • BAdI........How are they used in the real time scenario.

    Im a rookie in ABAP development and i was wondering that how we use the BAdI enhancement technique in the real time scenarios. Like do we get create them or we have few already built BAdI's which we work on? Can any body please explain how this works.

    Hi Ramana,
    Business add-ins are enhancements to the standard version of the system.
    Business Add-In is a new SAP enhancement technique based on ABAP Objects.
    They can be inserted into the SAP system based on specific user requirements.
    Each Business Add-In has:
    • at least one Business Add-In definition
    • a Business Add-In interface
    • a Business Add-In class that implements the interface
    In order to enhance a program, a Business Add-In must first be defined
    Subsequently two classes are automatically generated:
    • An interface with ‘IF_EX_’ inserted between the first and second characters of the BADI name.
    • An adapter class with ‘CL_EX_’ inserted between the first and second characters of the BADI name.
    The Application developer creates an interface for this Add-In.
    There are multiple ways of searching for BADI.
    • Finding BADI Using CL_EXITHANDLER=>GET_INSTANCE
    • Finding BADI Using SQL Trace (TCODE-ST05).
    • Finding BADI Using Repository Information System (TCODE- SE84).
    1. Go to the Transaction, for which we want to find the BADI, take the example of Transaction VD02. Click on System->Status. Double click on the program name. Once inside the program search for ‘CL_EXITHANDLER=>GET_INSTANCE’.
    Make sure the radio button “In main program” is checked. A list of all the programs with call to the BADI’s will be listed.
    The export parameter ‘EXIT_NAME’ for the method GET_INSTANCE of class CL_EXITHANDLER will have the user exit assigned to it. The changing parameter ‘INSTANCE’ will have the interface assigned to it. Double click on the method to enter the source code.Definition of Instance would give you the Interface name.
    2. Start transaction ST05 (Performance Analysis).
    Set flag field "Buffer trace"
    Remark: We need to trace also the buffer calls, because BADI database tables are buffered. (Especially view V_EXT_IMP and V_EXT_ACT)
    Push the button "Activate Trace". Start transaction VA02 in a new GUI session. Go back to the Performance trace session.
    Push the button "Deactivate Trace".
    Push the button "Display Trace".
    The popup screen "Set Restrictions for Displaying Trace" appears.
    Now, filter the trace on Objects:
    • V_EXT_IMP
    • V_EXT_ACT
    Push button "Multiple selections" button behind field Objects
    Fill: V_EXT_IMP and V_EXT_ACT
    All the interface class names of view V_EXT_IMP start with IF_EX_. This is the standard SAP prefix for BADI class interfaces. The BADI name is after the IF_EX_.
    So the BADI name of IF_EX_CUSTOMER_ADD_DATA is CUSTOMER_ADD_DATA
    3. Go to “Maintain Transaction” (TCODE- SE93).
    Enter the Transaction VD02 for which you want to find BADI.
    Click on the Display push buttons.
    Get the Package Name. (Package VS in this case)
    Go to TCode: SE84->Enhancements->Business Add-inns->Definition
    Enter the Package Name and Execute.
    Here you get a list of all the Enhancement BADI’s for the given package MB.
    Have a look at http://help.sap.com/saphelp_nw04/helpdata/en/04/f3683c05ea4464e10000000a114084/content.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.kabai.com/abaps/q.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
    How to develop BADI
    Reward if useful.
    Thanks
    Aneesh.

  • How to read files from MIT-BIH arrhythmia database using labview

    hello friends,
    How can i read the files from MIT-BIH arrhythmia database using labview 8.6. These file extensions are in different format ie is .atr, .dat and .hea
     The link for the following database is below, any example vi for reading this data in labview would be very useful.
    http://www.physionet.org/physiobank/database/mitdb​/
    Message Edited by infra444 on 01-27-2009 07:01 AM

    You will find some help here.
    http://www.physionet.org/physiotools/matlab/#wfdb
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • How can I save/write data on the hard disc of the Real-Time System?

    I would like to acquire huge size of data via LabView Real-Time System.
    Since data is so huge, I am now thinking that it might be good idea to
    write/save data on the hard disc of the Real-Time System first and then
    transfer the data file to a data processing PC using FTP etc.
    If you know how to save/write data on the hard disc of the Real-Time System
    (Ver. 7.1), please let me know.
    Thanks,

    Just to add to Aitortxo's good answer,
    Since you have only one Drive ( C:\) on your RT, just keep monitering the availible disc space.
    After every few set of file writes keep transferring Backups delete these files, so that you  keep C:\ drive space for running your applications.
    Regards

  • How to make 1D Array but with only one element filled in Real Time

    Hi folks,
    here I am with another question. I want to implement an prediction discrete state space observer which is going to run on a CRIO real time target. I am going to do it just like in the example which comes with LV.
    I have some questions regarding the input and outputs which in the example those are "dummy".
    My model is a SISO model, but the function "Construct SS model" returns parameters (A,B,C,D Matrices) as 2D arrays, so once you connect the cluster model into the Discrete Observer model, it takes y and u as 1D arrays despite of the fact that there is a SISO model.
    I realized that the function I am using in the simulations, uses 1D arrays but with only one element filled:
    Does anyone knows how to implement such 1D arrays in Real Time? I guess the way to do it is preallocating one array of zeros of size 1, and then recirculating it through some SR, and replacing the element with my real input and output, but at the dummy.vi, they are using a simple "build array"
    function.

    Ok, I did it that way. But I am facing another problem right now...
    At some point the Discrete Observer return a NAN array, you will see the code in the code snippet?
    I get rid of that component by component, but the observer gets "stuck" in it. So my Control law is zero... but the state stimate is NAN.
    Also I am attaching the VI.
    I do not know why, since in the simulation program all runs well. any thoughts? Maybe the internal numeric precision of the State Space Model?
    Attachments:
    RT - Pole Placement + Complete Observer.vi ‏40 KB

  • How to replicate data  between Oracle db and SQL server dbs in real time?

    Hello,
    Anyone has idea that what tool we can use to do data replication in real time between Oracle and SQL sever or Oracle and Sybase or Sql server and Sybase?
    This is topic is brought by a project manager?
    I only know Oracle to Oracle dbs by streams or GoldenGate.
    Thanks
    Jerry

    Since GoldenGate's bread and butter was (and is) replicating data between heterogeneous data sources, and since Oracle has purchased GoldenGate, that would seem like a natural place to start.
    Beyond that, it depends on the architecture you want and how you define "real time." Just about any ETL tool on the market, whether Oracle's ODI or OWB or any number of third party products (Informatica, DataStage, etc) can handle "trickle feeds" from various data sources to a database target of your choosing. Different tools will have different sorts of integration with the source database, many will require that a bunch of triggers are created to track changes on the source systems.
    If you want Oracle to control the replication process (which doesn't really make sense if we're talking about replication from a non-Oracle database to another non-Oracle database), you can use the Oracle Transparent Gateway products to create database links from Oracle to the non-Oracle databases and query data on the source database periodically.
    Justin

Maybe you are looking for

  • Can not install Camera Raw 5.6

    I just recently purchased a Canon 7d so I had to update my CS4 in order to view the raw files in CS4. Everytime I try and to install Camera Raw 5.6 it keeps saying that installation failed. What am I doing wrong? Thanks

  • I have a web site, but don't like the tool I started it with. I previously built a site using Visual Studio. I need to get control of what is built.

    I started this new site with weebly drag and drop. But I then found that all the development has to be done on that site and published using that tool. I want to be able to mix what is developed using this, or other good design tool, with my own code

  • Asterisk in alv output

    hi experts,              i have written alv report with summing up quantity and currency fields. but in the ouput of the alv asterisk are displayed at the bottom of subtotals and grand total. Please let me how to solve this problem. and also i wanna

  • Problems installing CS6 on second machine

    I was under the impression that you can install the software on 2 computers. I get an error message saying that I have a valid number but no product. Any help would be appreciated. Thank you

  • Codepage Problem File-XI-File

    Hello, I am trying to set up a File-XI-File Scenario like I found on weblogs. I have a text file with 3 parameters. With the mapping like in the weblog. In the Runtime Monitor I get the following Error: <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Mess