Using Sound Input and Sound Output Devices
- Updated2025-03-11
- 1 minute(s) read
Using Sound Input and Sound Output Devices
Complete the following steps if you are using sound input and sound output devices instead of accessing a sound file on a computer.
- Use the Sound Input Configure and Sound Output Configure VIs to configure a sound device for input or output operations. When you configure a sound device for sound input or sound output, LabVIEW creates a task ID. A task ID is an identification number associated with the configuration on the specified device.
- To manipulate the sound coming from or going to the device, pass the task ID to the various Sound VIs. Manipulate the data you receive from or send to the device by using the Sound Input VIs or the Sound Output VIs.
- Use the Sound Input Clear or Sound Output Clear VIs to close the device.