04-23-2014 01:15 PM
04-23-2014 02:55 PM
04-23-2014 03:13 PM
I can get input using myRIO built-in function inside LabVIEW. But I don't know how to transfer this sound to a computer. Basically, Attached is my project so far. I'm running Main.vi on myRIO and getting audio input. Then I've created a varialbe from the audio input. Then I'm trying to transfer this varialbe to Desktop Main.vi which runs on a computer but it doesn't work.
04-24-2014 01:39 AM
04-24-2014 09:26 AM
04-24-2014 09:38 AM - edited 04-24-2014 09:42 AM
Hi CSULAEE,
AudioIn/Out is described in the myRIO manual.
They are special in terms of coupling (AC), impedance and voltage range, so they can easily be connected to usual audio hardware like receivers, mics, whatever. Apart from that they are just ordinary AI/AO from software point of view and need to be handle as such…
To stream audio data from myRIO to PC and viceversa you have to do some programming. It's your task and you have LabVIEW at hand to fulfill this task!
04-24-2014 09:51 AM
04-24-2014 09:53 AM
04-24-2014 09:53 AM - edited 04-24-2014 09:55 AM
Hi CSULAEE,
you should go through cRIO basics as offered by www.NI.com/compactrio…
The myRIO is very similar to those cRIO devices!
Edit: No, I don't work at NI. I'm just a user as you are! 😄
04-24-2014 12:42 PM
Hello CSULAEE,
There are quite a few examples for using the myRIO out there, and in fact the myRIO driver comes with an example called "Voice Recorder (myRIO)" that seems to do more or less exactly what you're looking for. Now that you've been able to acquire audio data, you need a way to transmit that over a network and interpret it on your host PC. If that shipping template doesn't give you enough to start with, I'd suggest taking a look at the myRIO community page, there are dozens of code examples there:
https://decibel.ni.com/content/community/academic/products_and_projects/myrio
As with most engineering problems, there may or may not be an already-existing solution for you to reuse. This is when you need to combine the knowledge and tools you have to create something new that does what you need it to.
If you need to get in touch with an NI Applications Engineer, I suggest calling or emailing NI support directly.
Best Regards,