Error 4801, but not using Vista and have mic plugged into jack.

Hi, i'm working on a project that involves inputing from a microphone, running it through a filter and then an FFT, and then doing some analysis on the data. For the input from the microphone, i'm having some issues. I basically drew all of the input functionality from the "Continuous Sound input.vi" example vi, which works on my computer, with a microphone and does display the signal. However, when i copied that over and modify it a little, the Sound read has either one of two errors. When i place the "Sound Clear" sub vi outside of the inner while loop, the Sound Read sub vi appears to have some sort of error relating to overflowing the buffer (i think 4822, but not 100%), no matter how low i put the samples/second and elapsed time function to exit the loop. If i put the Sound Clear sub vi INside the loop (not how it is in the continuous sound input vi, then i get error 4801, described here: 
[\Quote]
Error 4801 occurred at an unidentified location
Possible reason(s):
LabVIEW:  (Hex 0x12C1) Invalid sound task refnum.
What steps can I take to resolve this issue?
Solution: 
Error 4801 is given because the sound driver in Windows Vista disables the microphone and line-input jacks when it does not detect a source plugged into the jack.  The hardware is disabled by the Windows Operating System, not National Instruments software or drivers.  This behavior is not seen on XP computers, only on Vista.  
The resolution is to plug in a microphone or audio source to the computer.  Windows Vista will detect the microphone or audio source, and error 4801 will be resolved. 
[/endquote]
This seems very strange that i should recieve this error, as i am running win7, not vista, and have a microphone plugged in. The microphone jack is working - i've tested that with other programs and the continuous sound input.vi, so it works just fine. I just have no idea what to do at this point to fix the problem. My code is attached, Thanks for any assistance in advance!
Attachments:
project ver 2.0.vi ‏84 KB

Hi ir0nsoul,
Thank you for the detailed explanation of your issue. To begin, the reason you are getting the overflow error is because the number of samples needs to be 1/10th of the sample rate. Next, you need to have the Sound Input Clear.vi outside of your while loop because you are clearing the task immediately after you read, so the next time it goes to read, it won't find the stream anymore. Finally, to see if Windows recognizes your microphone, use the Acquire Sound Express VI and check the drop down menu to see if your microphone is listed (use the device ID to set the control back in the Continuous Sound Input.vi). I suggest getting your microphone to work with the Continuous Sound Input.vi first and then add you modifications later. Hope this helps!
Aldo A
Applications Engineer
National Instruments

Similar Messages

  • Why is my ipad tell me it is not charging when I have it plugged into my home's power supply?

    Why is my ipad telling me that it is not charging when I have it plugged into my home's power supply?

    1. Reset iPad
    2. Try another wall socket
    3. Try another cable (make sure it's an original Apple cable)
    4. Try another charger (make sure it's an original Apple charger)
    5. Clean Lightning port with compress air

  • Error when applying Note using SNOTE and Manually

    Hi Gurus,
    I get the following  message when i try to download a note using SNOTE
    Error: Format of correction Instructions 0120061532 1 0000771620 0002; unable to read corr.instruct
    I tried downloading the note to my local machine and then uploading it locally but got the same result.
    Any thoughts on how to procede?

    Hi ,
              Are you trying to download directly on to server? then you need to connect your server to SAP router and connected to Service market place. If you want to do it off line? get the note by Download manager and apply from Snote.
    Regards,
    Hari.
    PS: Points are welcome.

  • HT204370 I have changed my internal hard drive on my macbook pro. I have put old hard drive into a capsule and have this plugged into my laptop. I can't find the movies on my old hard drive now? Any idea how I can move them to iTunes again? cloud taking H

    I have just changed my internal Hard drive on my MacBook pro. I had recently downloaded some movies on iTunes which I want to put into my iTunes library on my new internal hard drive. I have put my old internal hard drive into an external capsule but when I open the icon of the hard drive from the desktop I can't find my movies.
    At the moment I have the new movies downloading again from the cloud but it is literally taking hours for even one movie to load.
    When I changed the internal hard drive I restored my info from my old external hard drive which hadn't been backed up in a month and hence does not have my latest movies...
    I am concerned that I might go over my internet usage limit (flatmate is refusing to change to unlimited package!!!!) by downloading all the movies again from the cloud never mind how long it is taking...
    Is there any way to restore all my info and media from the old internal Hard drive in the capsule as well as from the external hard drive?

    It means there is no bootable system on the drive. If you still have access to the old drive, then I suggest you boot from it then clone it to the new internal drive. Use OPTION boot to boot from the Recovery HD on the old drive:
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
         1. Select Disk Utility from the main menu then press the Continue
             button.
         2. Select the destination volume from the left side list.
         3. Click on the Restore tab in the DU main window.
         4. Select the destination volume from the left side list and drag it
             to the Destination entry field.
         5. Select the source volume from the left side list and drag it to
             the Source entry field.
         6. Double-check you got it right, then click on the Restore button.
    Source means the external old drive. Destination means the new internal drive.

  • Logic Pro X - How do I record my voice over existing tracks (via a mike and audio interface) without hearing those tracks on the speaker. I have headphones plugged into the interface but it doesn't stop in coming out of the speakers?

    I'm new to Logic Pro X and can't work out how to record my voice over existing tracks without them playing over the speaker. I'm using a Sure mike through an audio interface and have headphones plugged into the interface?

    Hi Kevin, what kind of audio interface do you have?

  • HT2292 I am using win vista and have installed itunes for my ipod shuffle four years back. now I have purchased iphone 4, and trying to reinstall itunes after uninstalling my earlier itunes i always get a message that error in installation. kindly help

    I am using win vista and have installed itunes for my ipod shuffle four years back. now I have purchased iphone 4, and trying to reinstall itunes after uninstalling my earlier itunes i always get a message that error in installation. kindly help

    You might find this article helpful: http://support.apple.com/kb/TS3694
    It has the error range of 3000's which states
    Errors 3000-3999 (3002, 3004, 3013, 3014, 3018, 3164, 3194, and so on): Error codes in the 3000 range generally mean that iTunes cannot contact the gs.apple.com server on ports 80 or 443. This may be because out-of-date or incorrectly configured security or firewall software is interfering, an old version of iTunes is installed, an entry in your hosts file redirecting requests to gs.apple.com (see error 1004 above), or because of your Internet proxy settings. If you are using a proxy, try without using one or with a known-good network. If that does not resolve the issue, follow iTunes for Windows: Troubleshooting security software issues. Error 3014 may indicate that you need to free up more disk space on the computer before trying to restore again. Error 3194 most likely indicates you do not have the latest version of iTunes installed Update to the latest version of iTunes. 

  • Is there any way to have an ipad wifi 3G but not use the 3G (therefore avoiding the extra data plan costs) and just use the wifi?

    i am looking to buy an ipad 2 or the new ipad (preferably 32gb) but dont want to buy the 3G version as i have unlimited data usage in my mobile phone plan, i know the wifi only ipad is generally cheaper, but i was wondering if there was a way to buy the ipad with 3G capabilities but not use the 3G and avoid the cost of paying the extra unnecessary data plan? (I know this is a really weird question but i have the opportunity to buy a 3G ipad and was curious of the possibility? any help would be greatly appreciated. cheers

    Yes to your questions.
    You can download a complete iPad User Guide here: http://manuals.info.apple.com/en/ipad_user_guide.pdf
    If you want an iPad 2 32GB it will have to be a refurb model. The only new iPas 2 is 16GB.
    What are all the differences between the iPad 3rd Gen and the iPad 2? Is the iPad 2 worth the cost savings?
    http://everymac.com/systems/apple/ipad/ipad-faq/differences-between-ipad-3rd-gen -2012-ipad-2-2011.html
    What are all the differences between the iPad 3rd Gen models? Which should I buy?
    http://everymac.com/systems/apple/ipad/ipad-faq/differences-between-ipad-3rd-gen -early-2012-models.html
    Should I Buy a New iPad? Or an iPad 2?
    http://www.maclife.com/article/blogs/should_i_buy_new_ipad_or_ipad_2
    iPad 3 vs iPad 2 vs iPad 1- Feature comparisons with iOS 5
    http://ipadhelp.com/ipad-help/ipad-3-vs-ipad-2/
    iPad Q&A
    http://www.everymac.com/systems/apple/ipad/ipad-faq/differences-between-ipad-3rd -gen-early-2012-models.html
    A Few Questions (and Answers) About the New iPad
    http://pogue.blogs.nytimes.com/2012/03/15/a-few-questions-and-answers-about-the-   new-ipad/?ref=personaltechemail&nl=technology&emc=edit_ct_20120315
    New iPad: A Polishing of the Old
    http://www.nytimes.com/2012/03/15/technology/personaltech/the-new-ipad-is-much-t he-same-only-better.html?nl=technology&emc=edit_ct_20120315
    iPad 1, 2 and New Specifications
    http://www.everymac.com/systems/apple/ipad/index-ipad-specs.html
    16GB vs 32GB vs 64GB: Which new iPad storage capacity should you get?
    http://www.imore.com/2012/03/08/16gb-32gb-64gb-ipad-capacity/
    How much content will fit on my iPod or iPhone?
    http://support.apple.com/kb/HT1867
    If you think you may get an iPad 2:
    Refurbished iPad Prices
    http://store.apple.com/us/browse/home/specialdeals/ipad
    New 16GB iPad 2 Prices
    http://store.apple.com/us/browse/home/shop_ipad/family/ipad/select_ipad2
    When iOS 6 comes out in the fall, the iPad 3 will get Siri, but the iPad 2 won't.
     Cheers, Tom

  • Verdana Font not printing properly using Vista and Acrobat Pro v8

    Has anyone got any ideas as to how I can fix this problem.  When I send a word doc to the pdf printer that is all in verdana font it prints out gibberish, however, if in aerial or times new roman thats fine.  I'm using Vista and printing via a terminal server.

    S.D.A
    I'm sorry but I'm not if the font is embedded as I expect it is, as I have no problem printing the font on various personal computers I use.  However, the user that I am trying to support is having problems.
    Previously when we were using Windows XP Pro and Acrobat Pro v8 and the user had no problems printing over the LAN.  We recently moved and ugraded our systems to Windows Server 2008, Windows Vista and printing via Terminal Services.  The fault may lie with the pinter drivers not being installed on the Terminal Server, but I'm not sure I just need someone to confirm they have had the same problem and how they fixed it.
    Any suggestions would be greatful.

  • Hi, i have downloaded peppa pig series using itunes, and have tried to sync them to my Ipad Mini and IPhone 5, however it is not working it states "videos from your Itunes libary can not be copied to 'ipad' because they can not be played on this Ipad.

    I have downloaded Peppa Pig series using Itunes and have tried to sync the tv programme to both my Ipad Mini and IPhone 5.  However neither work saying that 'videos from Itunes Libary can not be copied to 'ipad' because they can not be played on this I Pad.  I have downloaded the HD episodes is this my problem or do i need to download a 'video watching' app?  Please help we are going away next week and the episodes were to help keep my toodler occupied on the plane.  thank you

    The error you received kinda looks like the one in this article: http://support.apple.com/kb/ts4223
    But the iPhone 5 and the iPad mini should support HD videos. 
    What I would try is downloading the movies directly to your iPad mini or your iPhone.  You will want to do this when connected to Wi-Fi, but you can follow these steps in this article: http://support.apple.com/kb/HT2519
    I hope that helps!

  • HT3964 I just opened up my MacBook Pro after a few days of not using it and it was frozen. I turned it off and back on and all I see is a white screen, there was a file with a question mark flashing for a bit but I can't do anything, please help me!!

    I just opened up my MacBook Pro after a few days of not using it and it was frozen. I turned it off and back on and all I see is a white screen, there was a file with a question mark flashing for a bit but I can't do anything, please help me!!

    Jerricayoung,
    you have a 13-inch Mid 2012 MacBook Pro. It’s modern enough that it supports booting into Recovery mode. To do so, hold down a Command key and the R key as you start up. It should eventually show a Mac OS X Utilities menu. Select Disk Utility from that menu; when the Disk Utility window appears, select the bootable volume from the left-hand side of the window. (It’s typically called “Macintosh HD”.) When the volume is selected, some buttons will appear on the right-hand side. If it’s not greyed out, press the Verify Disk button; if it is greyed out, or if it reports on errors that it found, press the Repair Disk button. Once the verification/repair is completed, exit Disk Utility and select Restart from the Apple menu; that will restart your MacBook Pro in its normal mode. With luck, that will be enough to get you to your normal login screen, rather than the white screen.

  • Printing from web pages is excruciatingly slow with most recent upgrades of Firefox .Use an iMac and an HP officejet printer. Printer works fine with Safari and woodprocessed files, but not with Firefox and web pages.

    Printing from web pages is excruciatingly slow since downloading most recent upgrades of Firefox Mozilla. I have a desktop iMac, OS 10.6.8, and an HP officejet printer 4500 G510n. The printer works fine with the Safari Browser and with woodprocessed files, but not with Firefox and web pages. Help please! It used to print fast with earlier versions of Firefox.

    Hello and welcome to the Apple Discussions Forum.
    I have hardly any experience with HP printers but since your posting has not been replied to yet I thought I'd offer some assistance.
    With the printer status and ink levels working, it shows that you have a connection to the printer. So I would look at the issue being with the protocol being used for the print queue on the Mac.
    Since you have XP and Vista working, I would check the printer queue configuration on either box. In XP, go to the Properties and select Ports. Click the Configure Port tab to view the connection. If you are using RAW, then this is known as HP Jetdirect-Socket on OS X. So if you are not sure what protocol was used before I would create another printer queue, this time selecting IP > HP Jetdirect-Socket. Then enter your IP address and select the K5400dn from the Print Using menu.
    If this still fails to print then please reply. There may be limitations with adding the HP driver this way that I am not aware of. There may also be other driver options you can look at, such as HPIJS. If Greg Sahli reads this posting he has expert knowledge on this matter and will be able to offer some guidance.
    PaHu

  • Hallo ,why is it that when I delete a photo ,which is backed up by time machine and western digital external hard drive , that I am able to restore the photo okay but not the titles and descriptions . I have  a Macbook 4.1, mac osx 10.5.8 . Iphoto 7.1.5 ,

    QUESTION.
    Hallo , my question is ;whenever I delete a photo and restore it through Time machine and Western digital external hard drive , I am able to restore the photo but not the titles and descriptions . Western Digital inform me that it isn't their external hard drive problem and suggest that it is an Apple software problem ?
    I am using  a Macbook 4.1 , with Mac OSX 10.5.8 . I photo 7.1.5 , last modifie4d 01/05/2010 -universal . Should I be upgrading  Iphoto ?
    I hope that someone is able to help in this matter , as i have to restore 12000 photos !
    Thanking you in anticipation.
    Alan from Wigton

    Hallo  Kieth ,
    I am not quite ready to restore the full iphoto library , as I have days of work re - imputting titles,descriptions and enhancement . I hope that your suggestion works , as I use my Macbook basically to work with digital photography. Through time , I will need to delete my library to recover more disc space and I would hate to have to spend more time re - imputting titles and descriptions all over again .
    Thanks for your interest and advice.
    regards  - Alan

  • HT2998 Hi, I try to conect Mac Mini from 2009 with my HD Tv Samsung F 6400 . With Mini Dvi conection and adapter to HDMI input in TV I got picture but not sound! I have analog cable from the phones out from mac but imposible to conect to TV? Can you HLP

    Hi, I try to conect Mac Mini from 2009 with my HD Tv Samsung F 6400 . With Mini Dvi conection and adapter to HDMI input in TV I got picture but not sound! I have analog cable from the phones out from mac but imposible to conect to TV? Can you HLP?

    You really need a newer Mac Mini with a true HDMI output, because that Mac Mini's DVI output does not support Audio.
    You might try a 3.5mm to RCA adapter
    from the Mac Mini's headphone jack to the TV's audio input,
    but that would require being able to select the Audio input in the TVs menu while using it's HDMI input.
    Optionally you could also use an external 2.1 Speaker System or patch the audio from the Mac Mini to your home stereo system to enhance that older Mac Mini's audio.

  • IPhone stuck on connect to iTunes screen do not use iTunes or have it installed on my PCs; does anyone know of an easy fix other than updating windows then installing iTunes?  I don't have time to go through the process again and at this point will d

    Hi all- I'm new to this online community of Apple support; my iPhone 5s is stuck on a screen that has the connect to iTunes icon, this started after I upgraded to IOS 8.1.1 from the beta to fixed version; I don't use iTunes and have an IPad, home PC, office PC, and Galaxy Tab, and I went through (failed) the process of installing itunes on my office PC but needed to update windows; after going through all redommendations I could find, including Apple phone support, I still haven't had success.  Does anyone know a way to get my phone past that screen?  I don't have time to keep doing updates and installation attempts;'I don't care about the content at this point; but I can't get to the settings to "reset all" and start from scratch; I bought i loud for storage and have an old 4s that has a broken screen butt still works and I have another active 4s on my plaN.  Im not tech savvy myself; but I know some community members are pure geniuses! !I just need a fast way to fix this bug;'I use it for work and it's been inaccessible all week, the only time I have to go to an Apple Store is this weekend; I don't want to move to the iphone6 because it's too big.  I didn't know this community existed; it's cool; for this issue, I just have no time for a new phone or phone support again; I'm posting this question as a last resort; any feedback is appreciated......and I apolo in advance if this post goes under the wrong thread

    No. You have no alternative but to plug it into a computer running iTunes and restore it.

  • I have just bought a new Imac and it will not load my copy of FCE 3.5 as it says "PowerPC applications are no longer supported". So how do I get to use the version of FCE I am used to and have paid for ?

    I have just bought a new Imac and it will not load my copy of FCE 3.5 as it says "PowerPC applications are no longer supported". So how do I get to use the version of FCE I am used to and have paid for ?

    I do not have any experience with Final Cut, but if you have existing projects that you MUST access; then you are in need of a solution on your new iMac in Mountain Lion!
    Unfortunately you got caught up in the minor miracle of Rosetta.  Originally licensed by Apple when it migrated from the PowerPC CPU platform that it had used from the mid-1990's until the Intel CPU platform in 2006, Rosetta allowed Mac users to continue to use their library of PPC software transparently in emulation.
    However, Apple's license to continue to use this technology expired with new releases of OS X commencing with Lion (and now Mountain Lion).  While educational efforts have been made over the last 6 years, the fact is that Rosetta was SO successful that many users were caught unaware UNTIL they upgraded to Lion or Mountain Lion.
    Workarounds:
    1.  Purchase a used Mac that will run Snow Leopard (with the optional Rosetta installed) and continue to run FCE on that Mac (you can actually use Screen Sharing with a "headless" used Snow Leopard Mac Mini and use the 27" screen from your iMac to view and work FCE in the Mac Mini environment);
    2.  Upgrade to an Intel compatible version of FCE and hope it converts your existing projects to its newer format correctly.  There is much debate that the newer version of Final Cut are eliminating many needed features; for example Final Cut Pro X vs. Final Cut Pro 6 -- many users are staying with version 6;
    3.  Install Snow Leopard (with Rosetta) into Parallels and then install FCE in the Snow Leopard environment:
                                  [click on image to enlarge]
    Full Snow Leopard installation instructions here:
    http://forums.macrumors.com/showthread.php?t=1365439
    NOTE: STEP ONE of the instructions must currently be completed on a Snow Leopard or Lion Mac and the resulting modified Snow Leopard.cdr install file can then be moved over to your Mountain Lion Mac for completion of the remaining steps.
    NOTE 2:  Computer games with complex, 3D or fast motion graphics make not work well or at all in virtualization.

Maybe you are looking for

  • Condition type is missing in Pricing Procedure determination

    Hi experts, We have a problem with Pricing Condition type in CRM. We have created a Transction in CRM as a follow up for the Transaction which is replicated from ECC to CRM the pricing procedure has been determined. But the net value is "0". when I c

  • Selecting using a field that stores a column_name to be used in the where

    I have a table REPORTING_CRITERIA with fields and field values: gl_criteria1 = 'cc.segment5' from_value1= '1123' to_value1= '1130' gl_criteria2 = 'cc.segment5' from_value2 = '1140' to_value2 = '1150' I am trying to run a select where I pull records w

  • How to get pop-up screen in modulepool

    Hi Guru, how to get pop-up screen when press push button from one screen. what is the code to do even i selected screen as module dialog box at screen attributes i am getting but normal full screen i am getting. pls tell me how to get pop-up screen w

  • Batch processing of file records(FTP) with validation logic to IDOC

    Hi, We have a scenario where we're expecting 10,000 records in XML file format where validation has to be done against multiple R/3 tables at the field level before IDOC posting. Can anyone suggest if we should go for RFC lookup or call proxies to do

  • Opmnctl: graceful stop of processes failed, trying forceful shutdown...

    Hi Guru's I have installed BI for my billing system on HP-UX 11i , with application server 10.1.2.0.2. Last thursday we suffered from sudden power failure and all our servers went off. After rebooting everything, opmnctl wasnt starting, so after furt