Acquiring and analysing signals from a wave (.wav)

Hello everybody,
I would like to acquire the two signals from a stereo (.wav) file and perform a Cross-Correlation between them.
Where can I find similar examples?
I’m an absolute beginner in Lab-VIEW 7.1 and would appreciate any help.
Thank you

This VI converts any .WAV file into waveform data for further processing in LabVIEW. The VI returns the file as a waveform as well as information about the sound format of the .wav file. The components of sound format include sound quality (mono or stereo), rate (8000, 11025, 22050, or 44100), and bits per sample (8 or 16).
Attachments:
WAVFILE.LLB ‏614 KB

Similar Messages

  • Exception when connecting to Reporting and Analysis services from Java API

    Hello,
    I'm trying to connect to Hyperion Reporting and Analysis services from Java API using [Developer's guide|http://www.bidw.in/docs/hs_developer.pdf] .
    I get this error:
    com.sqribe.rm.ReportMartException: com/hyperion/css/CSSException
         at com.sqribe.rm.SessionImpl.convertError(Unknown Source)
         at com.sqribe.rm.AASessionImpl.open(Unknown Source)
         at com.sqribe.rm.AASessionImpl.internalInit(Unknown Source)
         at com.sqribe.rm.AASessionImpl.<init>(Unknown Source)
         at com.sqribe.rm.SessionFactory.getInstance(Unknown Source)
         ...My code:
    String user = "user";
    String pwd = "password";
    String host = "my.hyperion.server";
    int port = 6800;
    try {
         Session theSession = SessionFactory.getInstance(user, pwd, host, port);
         Repository theRepository = theSession.getRepository();
    } catch (UserValidationException e) {
         e.printStackTrace();
    } catch (UnknownReportMartException e) {
         e.printStackTrace();
    } catch (ReportMartException e) {
         e.printStackTrace();
    }I have tried to look at my services running, and it all looks OK. I've checked user/passowrd/port for GSM. What can be wrong?
    I also tried to run samples from \BIPlus\SDK\samples\java, e.g. Login.java:
    #> java Login user password my.hyperion.server 6800with this effect
    com.sqribe.rm.ReportMartException: SystemExceptionError
            at com.sqribe.rm.SessionImpl.convertError(Unknown Source)
            at com.sqribe.rm.AASessionImpl.open(Unknown Source)
            at com.sqribe.rm.AASessionImpl.internalInit(Unknown Source)
            at com.sqribe.rm.AASessionImpl.<init>(Unknown Source)
            at com.sqribe.rm.SessionFactory.getInstance(Unknown Source)
            at Login.<init>(Login.java:36)
            at Login.main(Login.java:69)I'm sure that I'm connecting to the server because when put wrong passowrd or user as input to Login class I get this:
    com.sqribe.rm.ReportMartException: AUTHEN_CSSLoginFailed
            at com.sqribe.rm.SessionImpl.convertError(Unknown Source)
            at com.sqribe.rm.AASessionImpl.open(Unknown Source)
            at com.sqribe.rm.AASessionImpl.internalInit(Unknown Source)
            at com.sqribe.rm.AASessionImpl.<init>(Unknown Source)
            at com.sqribe.rm.SessionFactory.getInstance(Unknown Source)
            at Login.<init>(Login.java:36)
            at Login.main(Login.java:69)so it is there but something is wrong later. Any idea what?
    Please help.
    regards,
    Pawel
    Edited by: Paoro on 2010-09-27 02:02

    HI,
    I am getting the same error while running the Login file, Did any one resolve this issue?
    Please share the solution.
    Thanks.

  • Acquiring and plotting data from USB raw

    Hi,
    I am new to Labview. I have a 3rd party RFID
    device which i intend to acquire the frequency waveform from the device
    through using Labview. Since as a beginner, i use the spectrum analyser
    in the "example" section to start off with and now has error in getting
    the correct Visa USB raw to connect my device. The program intiallly
    used Visa instrument as the visa resource name but when i changed the
    input to the USB raw input there is a class conflict error that says
    "You have connected a refnum of one type to a refnum of another type and
    both types are members of some class hierarchy, but there is neither a
    simple up cast nor type cast between the two classes." 
    For the
    USB raw setting, i have already configured the device using the
    NI-driver wizard to install the USB raw and tested it through the MAX.
    So now i believe the problem should be wiring of USB raw to the entire
    spectrum analyser example. Attached is the spectrum analyzer example.
    Really hope to get help on this matter. Thank you. 
    Attachments:
    Template - Spectrum Analyzer Acquire Trace.vi ‏25 KB

    The example you posted is based on serial port communication. From your software point view, everything is based on RS232. This is quite common in instrumentation. As RS232 is simple compared to USB. The software driver on your host PC emulate a virtual RS232 port.
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • Can I acquire and analyse in real time with regular Labview?

    I have to acquire samples (which vary cyclically in a roughly sinusoidal fashion) from a sensor, and check every sample to see if it is the minimum (the valley) of a cycle. If it is, and it does not fall within an expected range, I have to take a corrective action that involves rejecting the part that was just measured as well as a 30 more parts (to make sure that the defective part has been rejected). The signal from the sensor is not very noisy, but beause of the nature of the measured object, there could be local minima and maxima. To guard against that, a point is considered to be a valley only if subsequent readings deviate above that point by a certain amount. If a part is indeed defective,
    a digital out put has to issued to reject that part.
    Can all these be done using regular Labview (not RT)? I tried it out with a proto-type VI, using DAQmx vis, continously acquiring samples, but reading one sample at a time from within a loop (the VI I used is attached with this question). The result has been disappointing, since each time the loop executes there is a delay that keeps building up. Finally, even after the part feed has been turned off I can see Labview processing signals from parts that have long since gone past the measuring head.
    Another perplexing thing I found is that the time taken to execute the while loop in the vi is not consistent; it takes anything from 6 to 50ms to execute.
    I will need atleast 8-12 samples from a part to build its profile, and the feed rate is about 3000 parts per minute. I am using Labview 7.0 with an NI-6013 card in a Windows 2000 environment.
    Thanks for any suggestions / recommendations.
    Attachments:
    find_trough_2.vi ‏378 KB

    Hello,
    Thank you for your suggestions; I had already resigned myself to going for a Real Time system, your answer convinced me to commit myself to it!
    That said, your reply leads to a couple of (related) questions...
    1. Your point regarding the use of Local Variables is well taken; I have been repeatedly told at various training sessions how the necessity of updating the LVs during each loop iteration slows the computation time. However, what alternative do we have when there are several controls to which we have to write AND read data multiple times during a loop iteration, and perform different computations based on the value held by these controls? (You have seen the VI I attached with the original question). Some of these conditional
    computations further change the value of the controls. Does Labview have any other mechanism to store and manipulate the intermediate value from a computation?
    2. I did a simple experiment to determine the average loop time, and the results were surprising. I placed the entire content of the VI I used (Find the Valley in cycle.vi) in a stacked sequence structure, and wired the index counter "i" to a control to count the number of iterations the loop executes. I placed a frame before this with a tick count instruction to get the start time of the loop, and a frame after this to get the end time of the loop. Dividng the difference of these with the number of iterations, I got the average loop time to be around 1.2ms! Am I interpreting my results incorrectly?
    Thnaks once again for your response. I would really appreciate your views on the questions I have raised in this comment
    Regards
    Arun P. Madangarli

  • HT1454 Can I send audio and video signals from sling box on my IPhone to a tv using any of these cables?

    I have an iPhone 4 and would like to stream the sling box signal from my phone to a TV. Is there a cable that will do this?  I have heard that the only thing you can show on the TV from your phone is content stored on your phone.

    TV out on the iPhone 4 only display video out for the apps that support v'ideo out. The app description in the App store will say if it supports TV out. iPhone4S will mirror the iPhones screen with VGA or Digital AV adopter.

  • How to output the digital clock and synchronization signal from the NI USB-6211

    Hello,
    I need to connect the NI USB-6211 to control a digital to analog convertor chip (AD5541). However, this chip requires three input signals :1) Clock input, 2) Logic input or a synchronization signal  and 3) Signal Serial Data input (CS, SCLK, DIN).
    how to output the digital clock and the synchronization signal from the NI USB-6211?

    Hi SaberSaber,
    You should be able to use the counters to generate a pulse train that could be used for clock and synch purposes.  
    Hope this helps.  Let us know if you have more questions.  
    Dave C.
    Applications Engineer
    National Instruments

  • How to output a TTL signal from a sine wave [Please Help]?

    Hi evryone!
    I am a bit lost...
    We make the acquisition of voltage (sine wave, 3Hz) which I simulated by a waveform generation in my VI. We want to convert this analog signal to a TTL and output it with a multifunction DAQ (6230).
    I only used Analog to Digital.vi and DAQmx write.vi and I can't get it to work... I get a TTL which is not 3Hz and only If I input a frequency like 3.07 and not 3.00 !!
    Did I forget something ?
    Thanks for helping
    Christophe
    Attachments:
    ADC.vi ‏26 KB

    In your vi, you don't have DAQmx Timing setup.  I don't know what the default value is.  But the timing determines how fast the DAQ will output values.  If not set correctly, you may see slight change in the output frequency.  Another thing is that the timing is based on a master clock, like 50MHz.  The clock gets divided down until it gets near the desired setting.  So it may not be able to achieve 3KHz exactly.  If you are getting 3.07KHz, this may be why.  I don't know if there is anything you can do about it.  Try using the timing vi and setting different sample rates.
    - tbob
    Inventor of the WORM Global

  • I have an NI5911 high speed digitizer and would like to acquire a video signal from a CCD using it. Does anyone know if this is possible without buying any more hardware please? If it is, how would I go about it?

    The only thing I succeeded in finding on the NI site was about using a different high-speed digitizer in tandem with an IMAQ card but I was hoping not to have to buy an IMAQ card as it means I may as well not have got the NI5911 (a while ago) in the first place. Any help would be greatly appreciated!

    You can certainly acquire video signals with the 5911. The only tricky part is that the 5911 does not have any video triggering options. That means that you will have to either find a way to provide your own trigger based on the video signal (that's where the IMAQ board comes into play) or you can just take a lot of data and keep only the data you need once it is in software. For instance, you could take one large record and then use software analysis to determine where the frame sync occurs. Hopefully this was helpful.

  • Acquiring DC Voltage Signal from HP3457

    I have a question that I believe to be easy to solve. I am using LabVIEW to acquire DC Voltage from a HP3457A DMM. I can acquire the signal OK, but when I write the data to an lvm file only about every 8th measurement is correct (with the others being way off!!) I am using a modified VI from LabVIEW for the 3457. I have modified it to sample every second, plot the data, and write it to an lvm file. Anyone have any experience with this or any idea what may be going wrong here. Thanks in advance for all of your help.
    Attachments:
    3457.vi ‏132 KB

    Hello,
    I checked the VI that you sent and the only thing that I could see is not proper is that the LVM file is open and close every time you write to it but that doesn�t seem to be the problem.
    I removed the GPIB part and sent a constant number and it worked ok in the LVM, so I believe the problem is acquiring the data.
    I would suggest you to remove right now the LVM part and first make sure that the data acquisition is working ok. Just extend the output of the converter from string to number outside the loop, enable indexing and create an indicator. Stop the vi and make sure that the values that you see are the correct ones.
    Hope this troubleshoot helps.
    Ricardo S.
    National Instruments.

  • Acquire and Displaying Video from D-Link DCS-930L

    Hello! I want to know about acquiring video from the camera as I have mentioned in the topic, but I don,t have much experience about IMAQ related apps.The idea behind the whole concept is to display a video and then through some kind of shared variable it is displayed on other PC connected via ethernet cable.

    -First you need to know the need and difference between the software available in Labview like Vision development Module and Vision Acquisition particularly.
    http://digital.ni.com/public.nsf/allkb/45A5682F377996BB862572B50072787F
    -Then know the difference between IMAQ and IMAQ dx devices.
    -Check in Measurement & Automation Explorer for your device and do quick test setup of Grab and snap then go ahead for programming in Labview.
    -Now start using simple Grab and Acquire examples provided in the Labview Examples.
    -If you still found difficulty then post your query.
    Thanks
    uday,
    Please Mark the solution as accepted if your problem is solved and help author by clicking on kudoes
    Certified LabVIEW Associate Developer (CLAD) Using LV13

  • How to acquire and display data from labview to excel simultaneo​usly

    hello,
    I am using the NI-DAQ to measure the falling edges of a clock and display them into a table. What I need is to display these data in a table in excel while the program is running. In addition, when I receive a pulse from an external clock, for which I have created a digital channell, the data must be logged in a different column. In other words, every time I receive a pulse the data must be stored in the adjacent column in excel.

    Hello Evangelos,
    As far as I know and have experienced, it is not possible to access a spreadsheet file (or any file, for that matter) by two programs at the same time, you will get an error.
    Also, a couple of observations on your code:
    A constant wired to a case selector of a case structure makes no sense as the false case will never be executed.
    Move the DAQmx Read from your Digital Input task into the while loop, as the DAQmx Read will only read once and the wire won’t get information in or out of a while loop as long as the while loop is iterating.
    Regards,
    Daniel REDS
    RF Systems Engineer
    Help us grow.
    If a post solves your question, mark it as The Solution.
    If a post helps, give Kudos to it.

  • Using video and audio signal from a camera connect...

    Why is it not possible and is skype intending to implement the ability to use the video signal form a digital camcorder connected to a tv?
    A lot of people these days have digital camcorders or digital cameras that produce video signal. Why can't those be supported as video input by skype?

    BC825 wrote:
    .....  Previously I had a HDMI to DVI cable and I had to awkwardly move the image off the PC monitor to the HDTV but with no sound.  Should I send the equipment (Kanex VGA to HDMI converter and associated cables) back to B&H while I can still return them and get refunded....
    Hi,
    The following ports are at the back of your computer:  
    Figure 4: Back I/O panel
    1 - USB 2.0: 4
    2 - LAN
    3 - DVI-D
    4 - D-SUB port (VGA port)
    5 - Audio: Line in
    6 - Audio: Line out
    7 - Audio: Microphone
     You already mentioned DVI-HDMI : it works but no sound. That's true because DVI does not carry audio signals. All you need is using RCA cable to connect port #6 to your TV.
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • "I want to acquire and display data from 89C51 micro controller using RS 232 port"

    I am using 89c52 for data acquisition and control for photo diode array. I would like to do the same using RS-232 and micro-controller 89c52. I would like to generate two different control pulses (clock and trigger) and I am digitizing my analog data using on-board ADC, the data for which I would like to read using Labview and store it in a file also display the waveform of acquired data. Please reply.

    Nice project, we do that all day long here. What is your problem exactly?
    The 89C52 has a UART you can use to write commands and read data. It is fairly straightforward to write a command processor for the uC and implement a command set. Is it the computer or the uC that generates the control pulses?
    LabVIEW, C'est LabVIEW

  • Airport Extreme Card in G5 and Fickle Signal from AEBS

    Here's the deal:
    AEBS rocks. Got the MacBook Pro and it SCREAMS, even on one bar in the signal strength menu. No complaints.
    Put the G5 Tower in the next room and installed the AE Card. Signal is anemic and unreliable. When I reset and restard either the G5 or the AEBS, the signal will go full-strength and then pare down to one and then nothing. All in about 20 seconds.
    Here's the weirdest part: If I take the metal panel off the G5 the signal will go full-strength. If I put it back on, zip. Off, full-strength. On, zip.
    Do I have the card installed incorrectly?? I double-checked and confirmed that it can only go in one way, so I know that's not the issue. I hooked up the little wire (grounding wire?) to it; was that wrong?
    Any adivce would be greatly appreciated.

    Figured it out. It's one of the early G5's and I needed to plug in the little antenna that came with it, but that I'd never used. All good.

  • Acquire signals from a monitor

    How does one acquire the physiological signals from a medical monitor? The monitor is a non-national instruments monitor. The patient monitor records ecg, invasive blood pressure from a patient and displays this on a screen. This information is relayed to a central station. Is there a way to obtain these signals and see the ecg and blood pressure waveforms in labview and thus analyse these waveforms. Thank you

    Sssantosssh wrote:
    How does one acquire the physiological signals from a medical monitor? The monitor is a non-national instruments monitor. The patient monitor records ecg, invasive blood pressure from a patient and displays this on a screen. This information is relayed to a central station. Is there a way to obtain these signals and see the ecg and blood pressure waveforms in labview and thus analyse these waveforms. Thank you
    Is reading the manual for this medical monitor something you are not capable of doing?

Maybe you are looking for

  • Can't access files though time machine

    In Time Machine I can see that folders are there but when I try to restore them I get nothing. I might get an empty folder that says "xxx(original)" but nothing's in it. Or I get a message about lacking permission. Is there a practical way to get at

  • Installing RAM, Mid-2012 Macbook Pro?

    Can a user or owner install RAM, Mid-2012 Macbook Pro? Is it a straightforward process? I've installed RAM into DT macs..and into a "Pismo" era powerbook. thank you

  • Moving files on Lion 10.7.2

    Hi all, yesterday night I decided to moving (not coping) about 100 Gb of data (two WMWare virtual images of Windows XP) from an external USB disk to my internal hard disk. The process starts and I see it will takes about 3 hours. I decide to stop the

  • Find out TRACE file of a session

    Hi, I'm generating trace file of a session (not the session where I'm login into) by the following command.. EXEC DBMS_SUPPORT.start_trace(sid=>123, serial=>1234, waits=>TRUE, binds=>FALSE); Now, after start tracing I cannot find out the trace file w

  • Junk mail just does not work as it should

    I've had this for ages and just put up with it. I have my jumk mail settings set for Enable: the following types of messages are exempt from junk mail filtering: sender of message is in my address book (and in previouos recipients). I assume that thi