12-03-2006 12:53 PM
12-04-2006 06:53 AM
12-04-2006
06:42 PM
- last edited on
03-17-2025
10:05 AM
by
Content Cleaner
Hi dumbidea,
There is a shipping example in LabVIEW of simultaneous sound I/O, but if you look at the block diagram of the example, you will see that the read takes place after the write which results in a delay. If you would like less delay, I would recommend taking a look at the LabVIEW DSP module which is more geared towards sound acquisition. As with any sound acquisition, there will still be a slight delay, but it will be much less than just using the sound VI's that come with LabVIEW. There will always be an inherent delay in sound acquisition, just take for example a sound amplifier. There is a slight delay between when the data is recorded and when it is played back.
Please let me know if you have any further questions regarding this issue. Best of luck on your application, and have a great day!!
12-04-2006 07:02 PM
HI Ching,
Thanks for your comments. I noticed that example which causes delay by its coding. I am challenging LV which should be able to do multi-task by coding it differently. Is this because of the sound card itself can't handle such tasks simultaneously or simple due to LV program scheme? with today's computing power, it should have some way to get it around? what is your opinion?
Thanks again.
Regards,
Bumbidea....
12-06-2006 02:31 PM
Hi dumbidea,
You should be able to program LabVIEW so that it can simultaneously read and
write the sound file, but the sound card itself will introduce some
delay. For example, when you say something into a microphone on your
computer, there is a slight delay from that point to when you can hear it on
your speakers. LabVIEW is unable to overcome this delay.
Please let me know if you have any further questions regarding this issue.
Best of luck on your application, and have a great day!!
12-06-2006 03:14 PM
As an aside, that's a really cool idea, AJL. Sounds like something I would come up with. I hope you get it working well, and congrats on the new baby!
Ok, threadjack over.
12-06-2006 08:11 PM
12-07-2006 07:59 AM
Thanks Marc A.
Dumbidea,
Can you repost your example code? It looks like a cool program but your subvi's are missing so it will not run.
Thanks,
AJL
03-22-2008 12:17 AM