Setting up an audio I/o buffer continues

I'm relatively new to Labview and run to 2 problems that I can't solve. If anyone can help, that would be great.

I am creating a VI using the sound card that receives an audio input of a generator of sinusoidal signal (plugged into the mic port), transforms this signal in frequency and uses the output frequency a sinusoidal signal of a slightly higher frequency

I started using the example of e/s simultaneous VI and changed to my needs. (see annex VI) I'm using Labview 8.5 on a Pentium 4 3.0 Ghz PC.

I get 2 errors, is that your measuring device measures a signal Inf and means the Niquist theorem. I have a sample rate of 44100 Hz and 4410 samples but a contribution of only 100 Hz sine wave. I paired the sampling rate and samples at a ratio of 10:1. I'm sure that isn't true. You have any suggestions of best on the design of the buffer?

Also, I sometimes get an error message about the read.vi of sound entry "a task must be run to perform this operation."

In this case, I guess I've just been lucky. You should do something, like I did here http://forums.ni.com/ni/board/message?board.id=170&message.id=399671&query.id=277879#M399671

In this way the moment then you read the sound card is not so important. The buffer will prevent dataloss and error. If you get overrun memory buffer the card its task ID will become invalid if I remember correct. Like you, I struggled with the Labview sound system. But now it works fine. At least the requested Party.  The exit part have I fixed it with a work around. A way that I've discussed here http://forums.ni.com/ni/board/message?board.id=170&message.id=403131&query.id=279026#M403131 and here. You can also use a free software for audio output. It's called waveio. You can find it here http://www.zeitnitz.de/Christian/index.php?sel=waveio. It works on XP but I don't know if it works on Vista. With this software, you can have up to four output buffers, and the clicks will be gone. Try stamps how much you need. I think that 2 should work fine

Tags: NI Software

Similar Questions

  • How to set audio stops, the user continues?

    I need to set up audio, so that it stops because the user has completed their tasks on the slide, or, for example, you press the button continue.

    I need to do this, because many users will have no audio on, it seems that the project dragged (when it is in fact the audio is just to play).

    Someone knows how to do this, if it's possible? With the help of CS5.5.

    Thank you very much...

    If you are talking about audio level slide, it should immediately stop when you leave the slide.  (Object level audio is a bit more complex to work with).

    If you've got your button set continue upward with the action to continue, so he'll do exactly what... continue to play the slide and whatever audio is about it.  However, if you change the action the button to go to the next slide or move to the slide XX then the audio should stop immediately as soon as you leave the slide that you were on.

    Can you confirm if this works?

  • What is the best setting for streaming audio DAC output?

    Entire CD to 44.1 k production, other audio files can be defined above, according to the recording.  What streaming audio, for example KCSM jazz, or any other music station?  What is the best setting of the output of this situation?

    Check the flow rate of flow for the station (you can often check online). It is not anywhere near CD or higher.

  • L50-A-11 t satellite - cannot set up the audio output

    Hello

    I have a Satellite L50-A-11 t with Win8.1, and I can't set it up to get the sound out of the speakears computer and the speakers connected to the audio output.

    The realteck controller does not show me almost any configuration option, is this normal?

    Mate sorry but the message isn't clear enough.
    What do you exactly do with Notepad and the speakers?
    You speak of internal or external stakeholders?

    The sound of s notebook (record and playback) can be configured in the control panel? sound. There, you will find the Read tab (lists all the devices as speakers, headphones) and tab (internal microphone, external microphone) record.

    You must mark the device as default device, if you want to use.

  • How can I set up stereo audio tracks as default in first using the ProRes 422 codec?

    Forgive me if this has been asked several times before. I searched but can't find anything that explained in a language that does not require a degree in computer engineering.

    I'm a new convert to our beloved FCP 7. I'm learning to love dear first - but the audio part of this is driving me crazy.

    I exported from FCP files as ProRes 422 movies with stereo audio tracks. I want to put first in the same way. But when I do it all crashed in a single audio file.

    It plays havoc with the Pan - especially in mixtures which have a mix of stereo music. Apart from this it just confuses me.

    Also. When I create a new project from scratch in the first and I select the custom ProRes 422, this setting doesn't allow to ProRes 422 audio mono. I don't see a codec for something else (ie. stereo).

    Am I missing something?

    I looked in all areas of preferences and can not find anywhere to change this. I just want to import audio data from simple, basic two-lane (and let appear the same) that I would be in FCP, ProTools and the myriad of other editing programs that I use.

    I also want to be able to set up a base of two-way stereo timeline/sequence without having to reinvent the wheel.

    Thanks a lot for all the help and patience. I'm slowly pulling my hair and spend long periods sitting in the corner, hugging my knees and crying.

    My characteristics. Preferred codec installation: ProRes 422 codec

    First pro version CS6 (6.05)

    Thanks again.

    In the project Panel, select all the clips and rightclick/change/audio channels.

    Set it to 2 tack and mono.

    When you drop the clip on the timeline the stereo turns on two tracks.

    You can also set by default in the preferences under Audio (before you import the clips) (stereo to mono).

  • Audio in Flash CS4 continues to operate.

    Hi, I did a video flash for my science project today, I added music to it also. but the music continues on runnning even when the presentation is completed. and when I stop it and play again, the audio runs in the background of the last time I played and another stream of this audio starts from the beginning. as if I play the song onec early and once from somewhere in the middle and both at the same time.

    Sorry if this sounds confusing lol.

    can someone help me?

    I'm really new to Flash.

    http://help.Adobe.com/en_US/Flash/10.0_UsingFlash/WSd60f23110762d6b883b18f10cb1fe1af6-7ce8 a.html

  • CS4: Setting Up separate audio/video Capture Sources

    Im still very new to PrProCS4 and I was wondering what I can met if I want to use audio/video separated the peripheral issues of capture to record directly in first. I have a Canon ZR40 cheapo camera, but instead of using his microphone embedded terrible I want to use my recording equipment with my Tascam US-144 and a microphone powered ghost as my audio device. Are there problems that im going to meet with the sync between the two, and is still possible in the first to lead the record?

    First won't be able to record live together at the same time.  It can handle only a single source FireWire at the same time.

    If you record separate sounds, the only problem you will encounter is the synchronization of clips.  Essentially, you will have to do it for every single clip in the sequence.  There is no process of simple automatic synchronization for a whole lot of clips.

    Your best bet would be to connect the external microphone on the camera and recording the sound on the tape.  This way, you will get the best audio and synchronized clips.

  • My Audio does not work. It is set to the audio digital (S/PDIF)

    So I'm having this problem and I can not solve. Here are some photos, LINK / LINK OTHER than you see I have no other option, but it has no sound. I tried already to speaker and headphone uninstall the device and tried to put some readers. I formatted the PC (for other reasons), but before I did that I got sound he says it was SoundMAX, now when I search for this in Windows 7, 32 x (mine is 32-bit) he seems to have on XP a Vista there is no clue of SounMAX on W7, I hope you help me, thanks

    Sorry bad English. I'm Portuguese

    Hello

    What is the brand and model of the computer?

    I suggest you follow these methods and check.

    Method 1: open the hardware and devices troubleshooter. http://Windows.Microsoft.com/en-us/Windows7/open-the-hardware-and-devices-Troubleshooter

    Method 2: Refer to this link. No sound in Windows.

    http://Windows.Microsoft.com/en-us/Windows/help/no-sound-in-Windows

    Method 3: Download the drivers for sound card for vista operating system and install in compatibility mode.

    Refer to this link: Make older programs in this version of Windows

    http://Windows.Microsoft.com/en-us/Windows7/make-older-programs-run-in-this-version-of-Windows

    I also suggest you to communicate with the drivers Sound MAX for Windows 7.

    I hope this helps!

  • How do I do to get the slide to set up to go to the right and continue? I was up half the night and is not wrong. The only thing that I just did is plugged into the wall outlet and now I'm right back where I had problems. Why keep this product?

    How do I do to get the slide to set up to go to the right and continue? I was up half the night and is not wrong. The only thing that I just did is plugged into the wall outlet and now I'm right back where I had problems. Why keep this product?

    What do you exactly mean by "get the slide to set up go to the right and continue"? Can you give us a little more context and detail?

  • Is it possible to change the preferences for previewing audio numpad (period) setting in CC AE 2015?

    Hello. Is it possible to change the behavior of the parameter overview of the audio preview numpad (period) is AE default 2014 where it returns the playback head to the starting point of the preview instead of the playhead to rest where it stops when I finish the preview? I used this feature largely in the construction of the training videos to locate my point for frame - accurately synchronizing audio and graphic. In 2014 the EA, I'd use numpad (period) an audio excerpt from the point where I intend to put my graphics. When I hit again paved digital (period), the reading head will break again at the beginning of the Preview on the timeline, showing me exactly where to drop my chart. If my starting point left some pictures, I would like to use CTRL and the arrow keys to move the playback cursor, then numpad (period) to preview audio in points again until I found the exact point to insert my chart. Since the update to 2015, the playhead no longer returns to the beginning of the preview, but still rather to the point the complete preview. I searched google and EI preferences to learn how to set the preview audio numpad (period) to take the playhead back to the beginning of the preview, but can't find anything. I hope that this behavior has not been removed from AE and simply lack me a setting in preferences. Thank you for your help. I will be forever in your debt.

    After corrections of the effects CC 2015 (13.5.1) updated available: very difficult to previews and more: http://adobe.ly/1Il5JYe

  • How .vi DAQmx Read (analog 2D NChan DBL NSamp) to acquire continuous data?

    I try to get the .vi DAQmx Read (analog 2D NChan DBL NSamp) to acquire data continuously.  The 'help' indicates I need to wire the number of samples per channel-1, but it doesn't seem to work for my application.  If I have the wiring to any number greater than 0, the data collection works, but is not continuous.  I enclose the code (Sept15_MainPanel_WorkingBaselines_ApplyBaselines and Calibration.vi) and a Subvi (Collect_Baselines.vi) if someone wants to take a look.

    Here's what I'm trying to do:

    I use a unit NI USB-6009 to collect analog voltages of load cells 2 (channel 0 and channel 1) and 2 displacement transducers (channel 2 and 3).  The main panel of the VI contains a listbox with 4 options - 'Check EMG channel', "Collect base lines," "Collect Data" and "end of program".  'Collect base lines' 'End of program' work and I'm working on writing code to "Collect data".

    For the option "Basic collection", 2500 samples are read from 4 channels described above and 2500 samples are averaged.  This works.

    The option "Data collection" - I would like to that data from 4 channels to acquire permanently.  Finally, for the option of data collection, data acquisition stops when channel 0 detects the force of 200 N - so I will not always have a finite number of samples read.  The time it takes to reach the value of this force will be different for each test.

    -How can I get continuous samples for my 4 channel?  Is .vi DAQmx Read (analog 2D NChan DBL NSamp) function badly and if yes, what should I use?

    Thanks in advance for any ideas or advice.

    Esther

    First, in case 1, you need not the structure of flat sequence.  The son of the error and data properly will dictate the flow of execution.  Then, in State 2, you must initialize the shift register, unless you want to keep the data is accumulated each time that you run the vi.  The reason why you don't see all the data here is because you have - 1 wired for the number of samples per input channel.  You must connect a number here, even if you are taking continuous samples.  The service needs to know how much sample to gather at one time.  If you put-1 here, the number of samples per channel must be set up in the synchronization function DAQmx (sample clock).  If you specify a number here, then you put-1 in playback function.  The DAQ hardware will read continuously, you must retrieve the data from time to time, so you must specify the number of samples.  By reading inside a loop, it will continue to read until the stop function is encountered.  I guess that the Clear function acts as a stop.  But you must always indicate playback vi how many samples to read and return on each iteration of the loop.

    The documentation is a little misleading.  He warns that a - 1 will cause a continuous reading.  But the pads are so big, he can not read continuously forever without losing data.  If you specify a finite number, playback in a loop, and he will read this number and return the data (empty the internal buffer) at each iteration of the loop.  Continuous means that you just call the start function once.  He will read at each iteration of the loop until the stop function (or clear) is called.

    Here is the difference between the setting of the Timing DAQmx function for continuous or finished reading: finite samples requires a tenure, he reads the finite number of samples, and it's done.  It requires another start to read more data.  Continues to read requires only a start.  It still reads a finite number of samples, but when this is done, you can retrieve the data by calling the read function until he could continue.  After the reading, you don't have to call for new start.  Look at it this way.  Start is what starts the collection of data, not the read function.  Just read empty buffers in your data feed.  The data acquisition continues in continuous mode, but you must call read again to get the data on the pads.  If you specify basically buffer size when you set the number of samples per channel.

  • Windows Media Player will play audio files with the exception of midi files

    in my Windows 7 computer, Windows Media Player is called upon to play .mid and .midi files.  When I try to play the file, it says there is a problem with the audio device however, TI WMP plays videos, files mp3 with sound perfect.  Register for midioutID is set to the audio device by default with data 0xffffffff.  I've removed from the media database and allowed him to repopulate but still no sound.  All the settings to another computer running windows 7 that will play the midi files.  What's wrong?

    Hello

    I suggest you run the Fix - it from the link below and if it makes a difference. If the problem persists, turn off Windows Media Player, and then put it from the Windows features.

    Step 1:

    Solve the problems of Windows Media Player video and other media or library

    http://support.Microsoft.com/mats/windows_media_player_diagnostic

    Step 2:

    Disable Windows Media Player and then turn it on to Windows features and check if the problem persists.

    Disable and enable Windows Media Player and check if it opens.

    (a) click Start and select Control Panel.

    (b) click on programs and features.

    (c) click on or turn off Windows features turn on on the left side.

    (d) develop the features of media; clear the check box Windows Media Player.

    (e) click Yes and OK to continue.

    (f) restart the computer.

    Note: If Windows media player is already disabled, follow the steps mentioned below:

    After the restart, follow these steps:

    (a) click Start and select Control Panel.

    (b) click on programs and features.

    (c) click on or turn off Windows features turn on on the left side.

    (d) develop the features of media; Check the Windows Media Player.

    (e) click Yes and OK to continue.

    (f) restart the computer.

    For your reference:
    http://Windows.Microsoft.com/en-us/Windows7/turn-Windows-features-on-or-off

    It will be useful.

  • Leave the button to play the audio only twice

    I am building an assessment of the foreign language with audio passages that the user must listen to then answer two questions about this. The user can play the audio twice. But even if I put 2 number of attempts, when I tested it, I was able to play the audio unlimited times. What is the trick?

    play audio only twice.jpg

    You seem to misunderstand the 'attempts' to an interactive object, will attempt to clarify. It does not limit the number of clicks ON the interactive object (here a button), but saying how many attempts can be 'impossible', which means clicking outside of the object. For your use case failure action would never happen, because the user always clicks the button, never outside it. Even with the project to continue that left you for the action failure: never happens.

    For the successful action, you use the command Play Audio, with project to continue unchecked: This means that the user can click several times, the playback head was never released, and audio can be played as many times as you want. The solution is to use a conditional, tip action (not a standard action because you want to allow 2 attempts, sorry David - TLCMediaDesign) and a counter variable. Here are the steps:

    • Set a user variable v_attempts with a default value of 2
    • Create a tip action to be triggered by the button that looks like this:

    It is always prudent to turn off the button before you hide it. Or you can just keep turn it off. This action also allows you to show the attempts left in a container of text:

    1. Before the first click: v_counter = 2
    2. After all, first, click on: v_counter = 1
    3. After the second click: v_counter = 0 and since it is more possible to click, there's = 0; This is important because CP is not very mathematical mind, does not see the difference between a negative and a positive number.

    It is also very easy to change the number of retries by simply changing the default value. Think it will be one of the (easy) scripts in my recipe book future actions. TNX for the question.

  • Make audio sound like a portable radio - then back to full hi-fi

    For a project that I am, I need to do audio acoustics (initially), as it comes from a cheap, low - fi source - and also good audio source as it is located in a different room than the listener is in.

    If the effect is composed

    (a) make the audio sound thin and limited in frequency (I compare it to the old transistor radio)

    (b) make the audio sound muffled and continue with attenuation of volume level/frequency (as if she had played in another adjacent room the listener)

    For the second part of what I'm trying to achieve, I need audio to return quickly to its full Majesty, so in a case of a 3 - 4 seconds, the sound quality improves gradually from evil to good.

    I heard this effect on many records, but I have no idea how reproduce it successfully, any advice on this would be appreciated.

    Kind regards

    Steve

    There are several things that you need and it is much easier to do in multitrack, using the slopes of automation. The characteristic sounds that you need are limited frequency response (although all you need to do is probably down several hundred Hz bass), distortion and an effect reverb - this probably room in that order, and you must adjust to your taste. The idea is that you feed the frequency range restricted to the distortion and the consequence of a reverberation room short, but with the direct sound denied quite a long way (perhaps completely!) and just the wet feed creating the sound. If you use a reverb where there is a control on the first reflections, especially what you want, not so much the real reverberation.

    Once you have set up as a group effect, you should be able to dissolve at will.

  • In collaboration with audio and kinetic typography

    I do a kinetic typography in After Effects CS5.5 and currently I have my audio made so I can play in real time. I'm basically listen to the audio so stop as close as possible and then creating the text to match the audio and then I continue to repeat, listening to music and trying to pass the text a little more closely to the audio until it is correct. Is there a way to slow down the speed of my cheek composition when I saw it. It would be great if I could play at 5 fps and put markers in where the audio should appear. Any ideas on how to make this process simpler? I don't want my composition just idling preview it at half speed. Thank you

    Also how I changed my workspace to make just what is in my workspace and only play the segment.  I'm new to After Effects and have read the guides on the modification of the working area, what I did, but whenever I hit reset to play my composition, it makes my computer all in 1080 p.  Size of the model is 3 minutes and is how long my project, but currently, I work only with 30 seconds of footage.  So back to that sort of thing, please ask if I confused you with this all the question of the place.

    The best way to time of audio things is to listen to the audio and use the * key on the numeric keypad to set benchmarks of layer that plays the preview. Then, you can display the waveform audio in the timeline and use the peaks and troughs in the waveform to move the markers to be exactly on the pace (or other).

    It is an excellent resource for kinetic typography:

    http://www.angietaylor.co.UK/kinetic-typography-techniques-for-after-effects/

Maybe you are looking for