03-14-2012 04:18 PM
Hello, LabView users all!
I'm working on Senior Design 2 at UT Dallas. To give a big picture of what our team is trying to build, let me explain briefly you all what our system is like. My team is creating a system that can detect multiple RFID Tags and stream corresponding audio data at real time. A RFID detector, MCU, Wireless Transmitter would be main components that consist of our system and LabView play a role as a User interface and controller connecting wireless transmitter and computer.
So now, my task is to build a LabView program that can stream multiple audio data (probably WAV file) to multiple channels (users) at real time through either of below sound card. Here are two possible situations to give you a better understanding of our system. One is two users are receiving a music file with time difference. Another is two each user are receving each two different music files at the same time. In other words, my goal is to play two music files independently and at the different time to each channel when there're two music files and two channels. Oh, the time difference is not fixed. Playing a music file occurs only when the corresponding RFID Tag is detected. I mean LabView commands to play a music file as soon as a RFID Tag is detected.
I attached the weblink that we're considering. First one is a general 5.1 channel sound card and second one is audio card having 4 input and 4 output channel. Which type of sound card do you think it's better to work with LabView to control two music files independently? Once it's fixed, just MathScript mudule would be enough to build this program or do you recommend other structure for this program?
Please get me as many replies and advices as possible!
Thanks in advance for any responses!
1. DIAMOND XtremeSound XS51 5.1 Channels 16-bit 48KHz PCI Interface Sound Card
2. Delta 44 - Professional 4-In/4-Out Audio Card
03-15-2012 10:23 AM
You talk mostly about LabVIEW and just at the end mention MathScript.
I don't quite understant what the question has to do with MathScript.
Can you explain?
03-15-2012 11:01 AM
There is a structure called "MathScript" under Programming Palette. I'm using this structure to build such a system that I've mentioned, but if there's a other way to make it in LabView, I'll go with that. I'm using MathScript just because it's the most familiar structure for me.
03-16-2012 01:46 PM
How are you planning on playing the music files? Directly through LabVIEW using mathscript? Or through activeX controls to a media player?
I fairly certain you'd be able to write you program in LabVIEW's native graphical code.
03-16-2012 02:54 PM
I’m planning on play the music files through LabVIEW using mathscript so far. Would it be better to choose activeX controls to a media player? I haven’t thought of that way.
Senior in Electrical Engineering, University of Texas at Dallas.
03-16-2012 03:09 PM
Oh, Probably I’ll go with 5.1 channel sound card that has five channel outputs by a LabVIEW program with either Play Waveform express VI, Play Sound File VI like you’ve mentioned above or MathScript. I’m thinking to use both LabVIEW functions and Mathscript actually. Output device would be the 5.1 channel sound card. Again, my goal is to build a LabVIEW Program that can send five different music files across the five different output of the sound card simultaneously. Can you give me any advice on this? I’m struggling to program this so I’d appreciate your help. Thank you.
Senior in Electrical Engineering
University of Texas at Dallas
03-16-2012 04:30 PM
Using a media player may present problems for you, depending on whether the player supports playing multiple files at once. I think either the mathscript code you know or the play music file would probably be best.