This simple code shows how to output sound in the form of a sine wave to the audioout of the myRIO using the FPGA. The sine generation VI is configured with the appropriate bit type for the output specification of the myRIO, allowing a representative frequency range.
Using simple scaling and the sine wave generator VI, it is relatively straightforward to output sound on the myRIO, using the FPGA.
Steps to Implement or Execute Code
Place VI under myRIO FPGA target in a LabVIEW project
Compile the VI
Run the VI
NI LabVIEW 2013
Additional Images or Video
Matt H Applications Engineer National Instruments UK
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.