LabVIEW myRIO Toolkit

Creating Audio Applications (myRIO Toolkit)

  • Updated2023-02-21
  • 2 minute(s) read

The myRIO-1900 model provides audio input and output channels. You can use the audio channels to perform audio acquisition and playback.

Use the following methods to access the audio input and output channels.

Method Audio Input Audio Output
Default High Throughput Default High Throughput
myRIO Express VIs Use the Audio Input Express VI and select AudioIn/Left or AudioIn/Right channel in the configuration dialog box. Use the Audio Input Express VI and select AudioIn/Left (N Samples) or AudioIn/Right (N Samples) channel in the configuration dialog box. Use the Audio Output Express VI and select AudioOut/Left or AudioOut/Right channel in the configuration dialog box. Use the Audio Output Express VI and select AudioOut/Left (N Samples) or AudioOut/Right (N Samples) channel in the configuration dialog box.
myRIO Low Level VIs Use the Open VI on the Analog Input 1 Sample palette to open a reference to the audio input channels. Use the Open VI on the Audio Input N Samples palette to open a reference to the audio input channels. Use the Open VI on the Analog Output 1 Sample palette to open a reference to the audio output channels. Use the Open VI on the Audio Output N Samples palette to open a reference to the audio output channels.
FPGA Interface Nodes Use the Open FPGA VI Reference function to open a reference to the default FPGA personality and wire the output reference to the Read/Write Control function to access the audio input channels. Use the Open FPGA VI Reference function to open a reference to the high-throughput FPGA personality and wire the output reference to the Read/Write Control function and the Invoke Method function to access the audio input channels. Use the Open FPGA VI Reference function to open a reference to the default FPGA personality and wire the output reference to the Read/Write Control function to access the audio output channels. Use the Open FPGA VI Reference function to open a reference to the high-throughput FPGA personality and wire the output reference to the Read/Write Control function and the Invoke Method function to access the audio output channels.

Refer to the Clap Sensor sample project and Voice Recorder sample project for examples of using the audio channels on the myRIO. Access these sample projects by selecting File»Create Project in LabVIEW and selecting Sample Projects»myRIO.

Note  The Voice Recorder sample project is available only after you install the NI High Throughput Add-On for myRIO. Visit ni.com/info and enter the Info Code ex6g5a to learn about the High Throughput Add-On for myRIO.

Related Information

myRIO User Guide and Specifications—Refer to this manual for specifications of the audio channels on the myRIO.

Log in to get a better experience