11-16-2022 11:49 PM
11-17-2022 12:30 AM
Hi,
The Raspberry Pi board doesn't have any sound input hardware by itself, so the first thing you'll need is an external audio input device such as an audio hat or USB soundcard.
LabVIEW's sound API doesn't support Raspberry Pi as a target. I've written an audio library for LabVIEW called G-Audio which includes Raspberry Pi support in the latest v0.4 release. Instructions on installing it to the Raspberry Pi can be found here.
I've only been able to test and verify audio playback on a Raspberry Pi with LabVIEW + G-Audio, but not audio capture. In theory it should work, but there may be some additional configuration you need to do on the Pi in order for LabVIEW's chroot environment to detect the audio input device. If you do try it and run into issues, please post a comment in the G-Audio / Raspberry Pi thread in the Hobbyist Tookit sub-forum and I can try help.
Another option might be to do the audio capture using a Python script running on the Pi, called from LabVIEW using the chroot trick.