From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-15-2014 06:01 PM
Hi,
How could I call a file saved at usr/local/sbin in myRIO and send it to play? Thanks...
Solved! Go to Solution.
12-16-2014 05:34 PM
Gdblombardi,
Because the audio out expects a series of voltage levels you would need to correlate that saved sound file to an array of voltage levels to send to that output. I do not know how or if you can read a sound file and correlate that to analog voltages so the only way I see of doing this is reading a sound file on your host PC and sending the waveform output to the audio out on the myRIO.
01-11-2015 10:42 PM
I did this way. I transformed the sound sample into an array (Sound Sample) and in another VI I read this sample (Ring Creator). It is working fine.
01-12-2015 01:20 PM
Thanks for posting your solution for us to see.
Is the sound sample.vi being used on the myRIO or are you using that VI on the host and sending the numeric array to the myRIO?
01-12-2015 07:34 PM
I am pasting the arrays that I need in the myRio. Some tools in the SoundSample.VI don`t work in Rio projects. Once the array is pasted I don`t need the SoundSampl.VI again unless I want to change the tones. Moreover, it is necessary to adjust the output frequency for each sample.
09-06-2016 03:06 PM
Awesome thanks for the help
05-05-2017 03:10 AM
Can you please help me out with this same topic. I am new to myrio and LabVIEW. So if you could do the program for me, it would be a great help
05-08-2017 10:55 AM - edited 05-08-2017 10:56 AM
Hi Ashutoshsignh,
Did the above solution not work for you? Did you receive errors or anything like that? We won't write code for you, but we can help you out with ideas for code structure or any roadblocks you run into.
Nick
Applications Engineer
05-09-2017 01:45 AM
Hey
I tried doing it. Buy it didn't work.
Actually I have to integrate this program to an existing project and I have done that in Normal myrio project and not in myrio fpga project. So I am not able to do the program on my own. Please help me....
Thank you
05-09-2017 02:21 PM
Can you be more specific about what didn't work? Did any errors pop up? Are you seeing an unexpected result?
As Nick said, we cannot write the code for you, but will assist as best as we can on specific technical issues.
Angela L.
National Instruments