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