Record audio with labview and audio dataplugin

The thing I would like to do, is write waveforms to WAV/wma/mp3 files.
The way to do this, is probably with the help of the audio data plugin.
However, it is far from clear how to configure and use this plugin with LabView. There is documentation available for DIAdem, but what good is that to me, as a simple LabView user?
There is also an example for reading dataPlugin data with LabView, but this example is:
A) not working, e.g. it cannot open a simple WAV file, when using "uspAudio" as DataPlugin Name
B) not documented
C) not handeling errors
D) only reading, not writing, which is slightly more complicated.
So, tips for writing waveform to audio files and/or
tips for working with dataPlugins in LabView would be welcome...

Ok, so, now I can read a WAV/WMA/mp3 file, see attached VI
There's still one problem: writing data to a WAV/WMA/mp3 file. In my "DataPlugin Write Audio File.vi" I try to read from / listen to a microphone connected to a AD card. On the Waveform graph, I see my signal correctly, but in the WAV file, there is only a flat line (zero's).
Perhaps it is needed to add properties to the group, but I don't know which properties to add...
All advice is appreciated...
Message Edited by bram@tno on 08-08-2007 07:00 AM
Attachments:
DataPlugin Load Audio File.vi ‏46 KB
DataPlugin Write Audio File.vi ‏229 KB

Similar Messages

  • Recording Flash with iShowU and importing into FCP?

    I need to create some motion graphics for a video, though I am not good enough yet with Motion and would like to use Flash. I am wondering if there are any issues with creating my project in Flash, playing it back and recording it with iShowU and just bringing it into my FCP project this way. It seems like it should work fine, just want to see if there might be anything I am overlooking?
    Thanks.

    I"m not slamming iShowU. It's great, and it's easy to use.
    I would just choose graphics built using Motion over graphics built using Flash and then iShowU, the quality will be significantly different. But that's my opinion and depending on your final destination (like a podcast for instance) you may be better off going your direction. With regard to audio though, be aware that iShowU compresses audio using AAC.

  • How to switch central frequency fastly with labview and USRP?

    Hello everybody,
             Recently I was making a frequency hopping receiver with labview and USRP N210 and SBX. The transmitter works on the 2.4G band, and it changes from one central frequency to another every 65536us. As I think, if I start receiving at the correct time, and  change the central frequency of the USRP every 65536us, I should be able to receive the data.
        But I find that, when usrp switch form one central frequency to a different one, it spends nearly 48ms and when it switch from one frequency to the same one, it only spends 3ms(I test the performance by modifying the niUSRP EX Rx Continuous Async Reconfig on the Fly.vi example). So if I want to follow the hopping sequency, I may can only receive 17ms data because I have to save time for switching central frequency. 
         My problem is that: why usrp changes central frequency so slow,  how can I make the process faster? If I want to follow the hopping sequency, can anybody give me some good advice? Thanks

    There is an attribute "LO Frequency" that you can use to lock down the frequency of the local oscillator.  Then, when you set the "Carrier Frequency" attribute, the difference between the carrier frequency value and the LO frequency value will be realized by frequency shift in the DSP in the FPGA.  Changing this "digital" frequency shift value is much faster, since you don't have to re-tune the local oscillator.
    Let's say you're sweeping from 2.44 GHz to 2.46 GHz.  Set the "LO Frequency" to 2.45 GHz then Commit.  Then, in your loop, program the "Carrier Frequency" attribute from 2.44 GHz to 2.46 GHz.  In the loop, it will only program the digital frequency shift, which will happen much faster.
    Another tip is to use the property node to program only the attributes you want to change, rather than the niUSRP Configure Signal.vi (which sets many at once).
    For more details, see the "Configuration:Advanced:LO Frequency Property" in the NI-USRP Help, and look at this example:
    <LabVIEW dir>\examples\instr\niUSRP\niUSRP EX Fine-Tune LO Frequency.vi

  • How can i work simultaniously with labVIEW and Excel ?

    Hello . I study engineering and need some help with labVIEW, and the connection to microsoft excel.

    Hi
    NI offers an "Report generation toolkit". You get some VI's with this toolkit and so you can directly create your reports from LV.
    Another possibility is the communication through ActiveX. There is a nice link with application notes and LV examples for that:
    http://zone.ni.com/devzone/devzone.nsf/webcategories/C3E56C69D399361E86256AB7006A9149?opendocument&node=DZ53003_US
    Regards,
    Luca

  • Anyone got experience with LabView and JTAG ?

    Anyone got experience with LabView and JTAG ?
    Especially in system programming of Altera and FLASH

    Yes, I've actually driven JTAG using DIO, but this was a project in itself.
    I guess you're just wanting to get the job done! I'm currently evaluating
    gear to do the same job myself, in addition to interconnect testing. I've
    been looking at JTAG Technologies equipment. They do PCI/PXI cards and the
    SW, with a LabVIEW interface.
    They're at:
    www.jtag.com
    You'll need to be sitting down when you get their quote though - their development
    system costs about the same as a decent car!
    Cheers
    -Sean.
    [email protected] wrote:
    >Anyone got experience with LabView and JTAG ? >Especially in system programming
    of Altera and FLASH

  • Controling heating/cooling element with labview and usb 6008 DAQ card

    Greetings All
    I'm looking for a heating/cooling type of element that I can control with labview and my usb-6008 card. Heating/Cooling will just be for clean water and the temperture range will be from 0 C to 100 degree C.
    Thanks
    The heating and cooling elements can be seperate products. Any recommendations

    A simple kettle element will of course be sufficient for upto 100°C
    To get the temperature down you need a cooling system, what springs readily to mind of course is a refrigerator.
    Just a note of warning, water and electricity are dangerous bed fellows.
    On that note perhaps one of those vortex air units would be safer - they blow hot in one direction and cold in the other, nominally to 100°C
    see: -
    http://www.airtxinternational.com/how_vortex_tubes_work.php

  • Problem with Labview and an ARM Cortex

    Good morning,
    I am currently trying to use Labview with a board from ST Microelectronics (MCBSTM32) with an ARM Cortex Processor.
    I use the SDK and have followed the tutorials.
    But, when I try to launch the program (the simple loop as write in the tutorial n°2 : http://zone.ni.com/devzone/cda/tut/p/id/7029 ), Keil gives me an error via Labview:
    "Argument 'DARMSTM' not permitted for option 'device'."
    It seems that Keil does not allow an ARM Cortex from ST as the device.
    Moreover, after having this problem, I am unable to use a Keil project ,even a project which worked before, without Labview. I need to restart the computer.
    I also try to launch the Keil project generated by Labview, without using Labview, and it works. But as soon as I use Labview, I have the error.
    Did anyone already have this error or know how to solve it
    Thank you for your answer and sorry for my bad english.
    Regards,
    Raphaël VAISSIERE

    Hi Raphi,
    So let me make sure I understand,
    The project created in LabVIEW errors out with the message "Argument 'DARMSTM' not permitted for option 'device" 
    If you open the same project in Keil uVision, it runs fine
    Here are my questions:
    1. So how does the code run when run through Keil? does it deploy and run fine?
    2. Did you follow the porting procedure completely?
    Your target STM32F103RB  is techincally supported by Keil but you need to port the RTX kernel to it. This paragraph explains it:
    To determine if your target already supports the RTX Real-Time Kernel, browse to the \Keil\ARM\Startup directory, then browse to the folder that corresponds to the manufacturer of your ARM microcontroller. If there is an RTX_Conf*.c file for your target, then the RTX Real-Time Kernel has already been ported for your ARM device. If no such file exists, skip to chapter 4 for more information on the RTX Real-Time Kernel and a guide for porting RTX to your ARM microcontroller. 
    You also need to port the Real-Time agent to it.
    I just want to make sure that you have followed the guidelines. If you have and are still having problems, we will continue to explore this.
    Thanks,
    National Instruments
    LabVIEW Embedded Product Support Engineer

  • Problems with Labview and Windows XP with error -214721786​5

    Hello. Im a new beginner in Labview and am having a problem with a error message
    I dont understand. Im running Labview on a pc-logger with windows XP.
    The program is written by a guy on my university, and logs voltage from
    a solar cell panel. He doesnt have the time to check in to it, so Im supposed to
    find out what's wrong.
    The error message is as follows :
    Error -2147217865 occured at Cmd Execute.vi->DB Tools Insert
    Data.vi->Solcelle.vi
    Possible reasons :
    Exception occured in Microsoft OLE DB Provider for ODBC Drivers,
    [MySQL][ODBC 3.51 Driver][mysqld-3.23.38-log]Can't open file :
    'solcelledata.MYD'. (errno: 145). in Rec Create - Command.vi-
    >Cmd Execute.vi->DB Tools Insert Data.vi->Solcelle.vi
    I really hope someone can tell me what's wrong and specifically what to do
    with it, or possibly guide me to someone who could suggest a solution to this
    problem.
    Reguards
    chrisdee

    Hi Chrisdee,
          (.. not to discount what TimoS has suggested, however...) 
    Embedded in the error information you provided:
    ... Can't open file : 'solcelledata.MYD'.
    Sounds like the program needs this file?  Has the program been moved to a new location?
    just a wild guess!
    Cheers
    Message Edited by Dynamik on 10-06-2005 04:53 AM
    When they give imbeciles handicap-parking, I won't have so far to walk!

  • Interfacing dolphin 6500 with Labview and windows 7

    Hi,
    someone has created and installed a application of labview in device dolphin 6500.
    I need to develop a aplication for capture data in honywell dolphin 6500  with labview but I have trouble to connect the device with my windows 7 for send the app.
    Any thoughts or assistance would be greatly appreciated.

    Hi,
    http://www.ni.com/white-paper/4577/en/
    Please refer this link. Also please send screenshots of any error messages if you get.

  • Face and Eye Tracking with LabView and Vision

    Hey all,
    For my senior project I am trying to perform face tracking and eye tracking by using LabView and the Vision Development Module. Unfortunately I am new to LV and I'm drowning in a sea of links and tutorials so I was wondering if anyone here that has had experience performing similar tasks would be willing to help and point me in the right direction or provide examples. I bought two Logitech c525 webcams and hooked them up to my pc running LabView and Vision 2011. I was able to see images captured but that's as far as I've gotten with the tools. Any tips?
    Thanks,
    Alex.

    have a look at http://sine.ni.com/cs/app/doc/p/id/cs-14116 and http://forums.ni.com/t5/Machine-Vision/how-to-trac​k-face-and-allocate-lips-in-face-using-labview/td-​...
    This thread would also be more suited to the Machine Vision section.

  • Logging data with LabView and FP-DI-330

    Hi,
    I have a problem.
    I am monitoring 6 ports of the FP-DI-330, via LabView.
    I have it runing in a while loop that desides the update frequency. It then get stored in a txt file with the time in Hours, Minutes and Seconds. I need the time in milli seconds to skill betwen the diferent input times. Because the different input´s can come in the same second.
    i have added the vi file
    Enyone have an sugestion?
    Attachments:
    FP_DI_330.vi ‏75 KB

    First of all...
    i will throw away the boolean display. But the Spreadsheet is the formation of the logfile is it not?
    I will need that to get the data nicely organized.
    I dont know how to get milli seconds displayed enywhere. If i use for example the tick count (MS) it starts with a number around 3287101, should it not start with 1 and then count up?
    "Further in your vi, you forgot to connect the current time to the Get Date/Time string. Can't you use the millisecond values for building the time-values?"
    How can i connect the current time to the Get Date/Time String? And how should i use the ms timer values for building time-values.
    file-info of the log-file? What?
    Thanks for the ideas but i could really use some help.
    I would think th
    at it could not be that dificult making a simple ms count to add to the time for every line of the logfile. But i cant get it to work.

  • Measuring Low Frequencies with LabVIEW and FieldPoint Using [c]FP-CTR-500/502

    I am trying to use this example in a LabView 8.0 and a Field Point FP-CTR-502 module but without any sensor I get frequency and period values.
    Is that possible to use this example with LabView 8.0 or not?
    I am trying to use an anemometer Campbel Scientific A100R.
    http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3ED7556A4E034080020E74861&p_node=174404&p_source=External
    Attachments:
    Low_Frequency_Measurement_CTR_LV71.vi ‏193 KB

    You can launch MAX from start\programs\National Instruments\Measurement & automation.
    Concerning source signal wiring, you can have a look to the following link : http://zone.ni.com/devzone/conceptd.nsf/webmain/01F147E156A1BE15862568650057DF15?opendocument
    Hope this helps,
    Manuel R
    AE dans une autre vie

  • Where can I found hardware to get analog signal from VCR and work with labview and then sample this signal in very high frequency?

    I am trying to build a Digital Video Recorder using Labview. The problem is that I found that Labview sample the signal in the order of milisecond. I wanted it to be in the order of microseconds. Also I am looking for a cheap Hardware solution if it is possible

    Your question does not make a lot of sense to me, so I will just point out a few things.
    1. The PCI-1411 works well with VCR signals. It has a BNC connector as well as a S-Video connector. The price is under $1000, so it is fairly reasonable. The amount of time you save getting it to work with LabVIEW is worth any extra cost.
    2. The PCI-1411 is sampling three colors at 30 frames per second, with an image resolution of 640x480. This is the best resolution you are likely to get from a VCR signal. The sampling rate for each byte in the image is about 28 MB/sec. This is in the microsecond range that you are looking for, I think. If you are only interested in the raw signal instead of the image, you could look at the high speed digitizing boards NI sell
    s that acquire at higher rates.
    If this information isn't really what you were looking for, perhaps you could clarify your question.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Troubles with LabVIEW and the SR830 Lock-in Amp.

    i'm quite new to LabVIEW and am trying to use the sr830 instrument drivers
    to control the Lock-in from a computer, but the instrument drivers don't
    seem to want to send or recieve any data. if anyone who is more proficient
    in VI programming couild help me out with this, i would greatly appreciate
    a response. thanks.

    Lackey wrote:
    > i'm quite new to LabVIEW and am trying to use the sr830 instrument drivers
    > to control the Lock-in from a computer, but the instrument drivers don't
    > seem to want to send or recieve any data. if anyone who is more proficient
    > in VI programming couild help me out with this, i would greatly appreciate
    > a response. thanks.
    Are you using the instrument driver downloaded from Nat Inst ??
    If you are this thing looks terrible, but should work.
    You could try building a simple VI to see if all the communication is working
    properly.
    Check to make sure you have the correct GPIB address and that all the cables
    cards etc are properly connected and working.
    Kevin KEnt
    Attachments:
    Kevin.Kent.vcf ‏1 KB

  • Questions on Saving and mining data with Labview and DIAdem

    Hi,
    I am sampling two signals at 200k sampling rate. I am trying to save the data on harddisk and analyzing the data using DIAdem.
    If I save the data using mesurement file format .tdm and .lvm, the file size will be about 4 Gigabytes for only 10 mins' acquisition. It is very slow to process it.
    I used the software Clampex and pCLAMP(Axon Instruments) before. At the same 200k sampling rate and also acquiring two signals, these programs save the data as .atf format and the size is only 400 MB for 10 mins' acquisition.
    I wonder if there is also a good way to handle this situation using Labview and DIAdem, and how to do it?

    Hi, Jonathan:
    I tried the TDM binary file format. The file size is 800 MB per min acquisition and it will take a long time to just open these files. For my application, I have to take data for several hours. I am looking for a way to reduce the size of files.
    Is there any other type of file format that can reduce the size significantly and can be handled easily?

Maybe you are looking for