e/s audio simultaneous with daqmx

I am trying to perform the processing with LABVIEW Student 2013 and myDAQ for audio generation and the acquisition of audio in real time. The treatment will be to manipulate data of signal pt by pt. It seems that continuous sampling is correct with a polymorphic set of sample single, double. I get a message error "the application is not able to cope with the acquisition. Increase in the size of buffer... ». Increase in the size of buffer delay only the error message. More important still, nothing is written on the channel.

Attached is my VI DAQmx connected without any signal processing. How to fix my problem and this allows me to perform

signal PT by pt processing?

Note: I also tried to build a wave form vi feeding generation, but he ran short of space memory buffer and close. Simultaneous audio input output example vi as well as build a vi waveform produces a waveform table 1 d leaving wondering how process pt by pt.

Thank you.

You have configured your myDAQ to sample 1000 points, and then deliver them to you.  I don't know why you change the size of the buffer inside the loop (and cannot see what you change him), but you continue to read of a single sample (over 1000 in the buffer) before calling another reading.  Terribly inefficient.

Without (yet) how you process the data, why not focus on just get ?  Let your size of buffer to 1000, read 1 channel N samples to get the whole in buffer.  As you are clearly just beginning to learn how to do things, not be so ambitious - simplify your code to do only input analog and get this to work.  Once he does, see if you can replace the analog buffer of 1000 points to analog output (I think the myDAQ can do in the output buffer...).

Bob Schor

Tags: NI Software

Similar Questions

  • With a sampling of the data with DAQMX, error-200279 occurs when making 2d array dbl

    Hello

    I did a system of simple analog voltage with DAQMX data acquisition.

    It is made for reading of capacitance, where output capacitance value out of a circuit in the periodic voltage signal.

    What I want is to get data from four capacitors simultaneously through four channels, using samples n n (dbl 2d).

    The structure of my VI is almost similar with examples of continuous sampling of voltage in LabView, with the exception of a few other calculations in the loop.

    And for the synchronization of the trigger, I've corrected the edge of release with the external signal from the capacitance reading circuit.

    Version no. 1 has a channel for data input voltage. Version n ° 2 has four channels for the input data.

    While ver.1 can get accurate reading of four capacitors circuit data each (a single channel at a time),.

    ver.2 acquires four channels of data, with a single thin data channel, all the others were wrong.

    I saw a 200279 error occur in the DAQMX read part 2d dbl, so I tried increasing the buffers by changing the sampling frequency or the number of samples, but it wasn't everything.

    I rose for most of the forums with the 200279 error, but the solution would not work on mine.

    Anyone can find the problem? I will attach my screws it may include a bit of Korean language, but most of them are in English, shouldn't be too hard to recognize. Sorry for the inconvenience.

    Oh I forgot, my DAQ is NI USB-6259, and it works in Win XP sp3 and LabView 8.6.

    Thank you.

    Hello Azurenight,

    The 6259 is a DAQ card of the M Series Multiplexed, which means that it is not possible to sample each signal at the same instant, rather the channels are all sent through the ADC even and must be sampled in order. More information on this can be found here:

    LabVIEW Help: Multiplexing compared with simultaneous sampling

    http://zone.NI.com/reference/en-XX/help/370466W-01/mxcncpts/multisimulsamp/

    It may still be possible to get the data you need with the card you have - could you give more information about the maximum eligible period between samples on different channels?

    If you require * real * simultaneous sampling, you will probably need different hardware.

    Kind regards

  • Multitask with daqmx

    Hello

    I am currently working on a Senior design project where I have to measure rpm, torque, pressure and temperature.  I use strain gauges, pressure sensor and a Hall effect sensor, thermocouples for these readings.  A myDAQ collects readings rpm and pressure while a cDAQ collects couple and readings of the temperature with NI 9211 and NI 9237 modules.  I have created LabVIEW screws for each sensor and they work.  The problem I have is when I try to create a VI with DAQmx who reads all the values of these sensors simultaneously.  The VI I joined randomly displays one of the measures while other measures remain empty.  How can I change my VI so I can show all my readings at the same time?

    Yes.  Create multiple tasks, where all the strings that are common to a specific device are grouped in the same task.  Then go and run these tasks in parallel.  Do you need a precise synchronization between the tracks in the different devices?  If this isn't the case, then the method should work perfectly.  If you need a precise timing, things would get more complicated, but might not be impossible.

  • How to cut audio tracks with tool blade?

    Hello

    I recently made the switch from fcp7 to fcpx and I'm having a real hard time! There are many things that I can't understand how to do, and it's just one of them:

    Solo Cup audio tracks with the blade tool (or another medium, if there is). Can I cut the audio clips on one side, but how I cut a piece in the middle of the clip?

    Thank you!

    YYou can't cut with the blade tool? Or select it, and press Cmd - B of type point skimmer/reading

  • Timing embedded with Daqmx on PCI-6132

    Hello

    My colleague and I are trying to make a program Labview which starts a timer when the first trigger (sensor) is struck and stop the timer when the second trigger (sensor) is reached in 2012. We currently have a program for her, but this program was not sufficiently precise. Also the current program is using the DAQ assistant, but we would like to replace with daqmx triggering. We have also tried to use the OnboardClock on the PCI-6132, but still could not do the work programme.

    Is there anyone who knows how to do this and could explain it?

    (In the attachment is the current program)

    Thanks in advance,

    Tommy van Geest

    Hello Tommy.

    You can share your current code?

  • How to associate the audio file with progress bar

    Hi all

    I have a case in which I need to associate an audio file with a progress bar. What I want to do is to able to read an audio file that will say "Started process..." "Continuous on" process ends and it is and must be synchronized with the progress bar. Is it possible to do so.

    Please let me know

    Thank you

    Ankit G

    Are you referring to a LabVIEW horizontal/vertical progress bar that basically an integer U8 constantly wrote in it? Is it in a loop as it fills?

    If so, there is a full range that allows you to listen to the signals. As you write the number of your progress at the helm, you can keep control of what the number is (structure of the event or case), and when it hits special values, you play special sounds. Here's a screenshot of this palette.

  • How to acquire of various AI channels simultaneously with a different range for each of them?

    How to acquire of various AI channels simultaneously with a different range for each of them?

    In LabView, I found some examples but in C it is not seem to be any.

    Or you can add channels one by one with individual instructions: the follwing code compilation and runs without error on vitual DAQ hardware:

    ERR = DAQmxCreateTask ("", &taskH); ")
    ERR = DAQmxCreateAIVoltageChan (taskH, ' Dev1/ai0', 'AI0', DAQmx_Val_Cfg_Default,-5,0, 5.0, DAQmx_Val_Volts, "");
    ERR = DAQmxCreateAIVoltageChan (taskH, ' Dev1/ai1', 'AI1', DAQmx_Val_Cfg_Default,-10,0, 10.0, DAQmx_Val_Volts, "");
    DAQmxStartTask (taskH);
    ERR = DAQmxReadAnalogF64 (taskH, 5, 10.0, DAQmx_Val_GroupByChannel, val, 10, & read, 0);
    DAQmxClearTask (taskH);

  • using male to 3 x female cable stereo Audio Splitter with audio output

    The HP Pavilion 22-h031ea all-in-one has an audio output on the back of the unit. Is this ok for this connect with a 6:1 with a male/3 female x audio cable with stereo Audio Splitter?

    Simmo56, welcome to the forum.

    I am not sure it will work.  However, it will not hurt anything to try it.  If this does not work, you will not be able to have 6.1 sound.

    Please click on "BRAVO Thumbs Up" if I helped you and click on "Accept as Solution" If your problem is resolved.

  • Is it time stamp with daqmx read

    Hi all

    Simple question.  I have currently not creating a task or starting a task, I simply create a channel and reading that chanel.

    It is...  Why I don't get a timestamp when you do and do I create a task to get one of this?

    There is a timestamp when you use the DAQ Assistant or when you choose to return a data type of waveform with DAQmx Read.

    You can't do a reading without a blemish. You don't have to create the task in MAX, however.

  • time of release with daqmx

    Hello

    How can I set the time of liberation with DAQmx?

    In general, with a single DAQ hardware, the two signals are connected at the same time and the acquisition time is a function of the sampling frequency and number of samples read. For example, with a sampling rate of 1000 samples/s and 50 samples, the acquisition will be 50 msec. You then get a returned array if you wanted to watch a single signal by iteration of the while loop, it is simply a matter of indexing the specific channel to the table. You must set the mode of continuous sampling to avoid gaps and precise timing. Using two separate tasks and switching back and forth would add a lot of overhead to close/create tasks and you have little control over this period.

  • 2009 with DAQmx Installer

    We distributed an integrated application that uses DAQmx 8.x and LabVIEW 8.6 for several years.  I'll call the application MyApp 2.8.  We are working on a new version that uses LV 2009 and DAQmx 9.x, which we will call 3.5 MyApp.  When build us and deploy a Setup program for MyApp 3.5, then try to use it on a computer that already has 2.8 installed MyApp, the installer complains about dependencies and said that the two DAQmx 8.x and MyApp 2.8 must be uninstalled first.  I spoke NOR cela briefly and told me that DAQmx 9 was a pretty radical overhaul that required this change.

    It's annoying and slow for us, but almost untenable for our customers.  First of all, MyApp MyApp 3.5 and 2.8 are compatible, and we prefer to leave MyApp 2.8 installed as a backup as people get used to 3.5.  If the customer needs:
    Uninstall MyApp 2.8

    Uninstall DAQmx 8.9

    Install MyApp 3.5 with DAQmx 9.0

    Reinstall 2.8 MyApp (as if they can still find the disc!)

    Far too many steps and complications.  In addition, it is not really necessary.  If the runtime for 2009 is already installed on the computer (for some reason any), you can simply copy the MyApp 3.5 on the computer and it will run with DAQmx 8.9.  But this only postpones the problem, because at some point the customer will upgrade once again, and we will have forgotten that they were installed with a workaround, and...

    The really frustrating part is setup for MyApp 3.5 refuses to install until MyApp 2.8 is uninstalled.   While we have proven that MyApp 2.8 will work very well with DAQmx 9.0.

    Is anyone else noticing this problem?  Has anyone found any better workaround?  Is the same problem when we jumped 2009 and returned with 2010 and the last DAQmx?

    Thank you

    DaveT

    DaveT,

    You're right - for this aspect of the problem - my proposed solution won't help. At the price of a larger Setup program, including the full version of DAQmx probably will give the upgrade experience you want. If the web download size is a concern, perhaps you could provide two builds of your product - with the acquisition of complete data (for those of you who have your old product) and with smaller data acquisition (for those who do a clean install)?

    In addition, certain registry keys to remove the dependency I guess hacking is sort of an option, but it probably isn't the type of solution you are looking for. (We are currently researching the addition of some extra features in the uninstall program OR allow without taking account of certain dependencies, but nothing is currently available).

    Kind regards

    -WesW

  • How to merge a Windows Media Audio System with an MP4 video file?

    I have an educational video to which I add MP4 audio comments. I am an extreme novice.

    Also, I hope to be able to sync the audio with the video. The entire production lasts only a few minutes 4.

    Hello

    1. what operating system is installed on your system?

    You can use Windows Movie Maker that allows you to do. Or you can use any third-party application to merge the audio file with a .mp4 file.

    Warning: using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    In addition, follow the links below and check if that helps.

    http://www.windowslivehelp.com/product.aspx?ProductID=5

    http://Windows.Microsoft.com/en-us/Windows-Vista/work-with-clips-in-Windows-Movie-Maker (Applicable for Windows Vista)

    http://explore.live.com/Windows-Live-Movie-Maker-video-editing-using

    http://Windows.Microsoft.com/en-us/Windows-Vista/import-video-files-pictures-and-audio-into-Windows-Movie-Maker (Applicable for Windows Vista)

    http://Windows.Microsoft.com/en-us/Windows/cloud/create

    It will be useful.

  • I have no sound on my computer (Windows XP). I installed audio driver with no result. What to do next?

    No sound

    I have no sound on my computer (Windows XP). I installed audio driver with no result. What to do next?

    Hi f. Mac,.

    Follow the steps in the article.

    How to troubleshoot sound problems in Windows XP

    No sound in Windows

  • How can I play flac Audio files with extension on windows media player

    How can I play flac Audio files with extension on windows media player

    Hello jesskenneth,

    Thank you for visiting the Microsoft answers Site.

    The extension Flac is not a type of supported Windows Media Player file. However, you can user your favorite search engine to search for a solution that can convert the file in a supported file type Windows Media Player.

    For more information on the types of files supported by Windows Media Player, you can also view the following link:

    Information on the types of media files that supports Windows Media Player

    Thank you

     

    Mary
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • HP Envy 23 - K030: Audio problems with HP envy 23-K030 and Windows 8.1

    I read all the discussions on audio problems with the IDT High Definition Audio Driver and Windows 8.1
    I get audio on my speakers ONLY and not the headset.
    I uninstalled rebooted and reinstalled the correct driver by this web site of HP support for my machine.
    no luck - same behavior.

    The only thing that worked was the IDT driver installation and Windows device driver high definition.
    The headphone jack are properly behaved and everything is ok worked.  However, I lose the audio Panel BEATS and the functions of the Board of Directors of IDT.   (superior quality sound-even with the built-in speakers).

    An interesting thing I noticed, when the Microsoft driver is used (and work) on the control panel for this device, it presents "the left panel making" when the configuration screen for the 'speakers '.  for the official driver of IDT, it shows 4 outlets - none of them say "left sidebar", there's rear panel and a plug of façade.    On the old driver that didn't work, he showed "right pane" and there is no control on the right panel.

    I think the pilot is simply wrong of this material. The driver is to look 10/2013-it is as if it were updated for this model ALL in ONE - only when it comes to use the headphone jack.

    Is there a better driver (I can't "find one beyond 6.10.6486.0 or 6.10.6491 - both had the same problem.)

    I do not use my time to often-rarely-last helmet I used them they have worked. Now, they are not - a few automatic updates upset the balance of the force.

    Any help would be appreciated. IF not - it is a problem that a person should study.

    Also it is reproducible. I have install generic Microsoft driver-headphone jack works and the sound Jack not pregnant, I re - install IDT player - his fate only speakers and not jack.

    I thought about it.

    BIOS V 80.09 (on this wonderful site to Support HP) - does all the work

    V80.05 - did not work properly with this Version of Bios.

    Thank you HP very useful site if you take the time to browse through all the updates.

Maybe you are looking for

  • What is absolute minimum Plug and the memory required for the performance of modern editions of Firefox?

    I am running a machine Windows XP Service Pack 3 on 512 MB of ram and I am perfectly happy with Firefox 28. But I considered up-to-date. However I'm not sure that my machine can handle anything beyond version 28 and 29 (which I didn't like and so bac

  • How can I get hardware reset a XT1039

    Hi people, I am at a loss. I think I have tried everything I found on the net and looked in the forums. The problem is that I lost access to my phone. There is an access of reason that I don't remember, but there is nothing there that I care, so I wa

  • pc Xbox 360 controller does not work

    I just bought this controller and installed. Game hand light flashes and the wireless receiver has no active light power when plugged to the USB port. I have a dell Inspiron that means I have no power to my USB port and can not use this controller, o

  • Restore SQL DB with AppAssure

    Has anyone tried to restore a database using AppAssure replacing everything simply?  I find a lot of documentation on a separate copy and then using SQL to copy on the tables or lines from the backup, but I just want to restore a copy of the database

  • BlackBerry Smartphones need assistance with calendar

    Hello I have a BB 8310 from AT & T (complete idiots) that had me update my BB software to 4.5 today and also update 4.6 Office Manager.  Before that, nobody says anything to do a backup & restore once everything has been done after hours of lost time