Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Sound with TCP... (http://www.chiefdelphi.com/forums/showthread.php?t=83070)

rocky3015 19-02-2010 09:09

Sound with TCP...
 
Hi guys, I am new here and need a little help with transmitting sound over TCP. I made two VIs, one for sound input as server (running on one PC) and one for sound output as client (running on another PC). Sound through microphone in the server VI is to be transmitted over TCP to another PC, running the sound output VI. When i run the two VIs, the server VI gives me error "input buffer overflow". There doesn't seem to be any error of data mis-match or connectivity. The server VI is popping up this error. First i run the server VI and then the client VI, after that the server VI gives this error. The error code is "Error 4823 occurred at Sound Input Read (DBL).vi->sound IO with TCP Server.vi" with the following description
"Possible reason(s): LabVIEW: (Hex 0x12D7) You cannot perform this operation without an active task. Ensure that a task is active and try again. An input task might stop running if the input buffer overflows. Overflow occurs when the data is not read fast enough."

Any help is appreciated. Thanks. Regards.

Greg McKaskle 19-02-2010 21:40

Re: Sound with TCP...
 
I think the error indicates that the rate and length of time the sound is being sampled is overflowing internal buffers. I'm not familiar with the new API for microphone, but it sounds like you either want to sample slower, record and send in shorted packets, or configure a buffer size to be larger.

Greg McKaskle


All times are GMT -5. The time now is 11:08.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi