LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 4822 and 4823 from mic in Continious Meashuring and Logging

Solved!
Go to solution

Hello.

I modified the Continius Meashuring and Logging for my Microphone of laptop. I made all steps in the Modifying this Sample Project. After that It has the 4822 and 4823 Errors. I

I'd try to put the What am I duing wrong?

 

0 Kudos
Message 1 of 4
(2,754 Views)

Wow, you chose one of NI's more complex, dense Project Templates, and you want us to figure out why your DAQ step is not working.  I'm not even sure I can find it.  I did find that you are attempting to acquire data from SB Audigy Audio (BCA0) -- oops, I think I just found Configure Sound Acquire.

 

You do know what the errors mean, don't you?  4822 is a Timeout error, and 4823 is a "There is no Active Task" error.  That's the one that has probably the real culprit.

 

Here's a suggestion -- forget about Fancy, and Doing Everything All At Once Without Needing to Think.  I'm not sure I've worked with the Sound functions you have embedded in your Acquisition library, but why not try writing a very simple routine that connects to the Sound Card, listens to the Microphone for, say 5 seconds, and outputs the data (maybe sampled at 5KHz) on a Chart.  Plug in a microphone, start your little test routine, and sing -- I'll bet it doesn't work, and gives you these errors.  But now you have a Simple Question, and Simple Code -- put in Probes, try to figure it out, maybe look at Simple Examples, or come back here with Simple Examples that we can try to understand/fix.

 

Once you get the Simple Things worked out, putting them in this more Complex routine should be much easier.

 

Bob Schor


 

0 Kudos
Message 2 of 4
(2,726 Views)
Solution
Accepted by topic author 198mikhail

I fogot about "Number of Samples/ch". I found it when have been doing simple thinks. Thanks.

0 Kudos
Message 3 of 4
(2,693 Views)

Could you tell something more about it? Thanks.

0 Kudos
Message 4 of 4
(1,260 Views)