09-14-2006 10:51 AM
09-14-2006 12:21 PM
09-15-2006 09:05 AM
09-15-2006 09:13 AM
09-15-2006 10:12 AM
09-15-2006 10:26 AM
If you want to open a wave file in a c program, then you should post this question to a c programming forum. I do a little c programming with LabWindows but have not done anything with .wav files. Once you have your c program written, then you can convert it to a CIN or dll with the instructions in the document I mentioned.
I don't really see the point of writing a c program to open a wav file and then to just play it. LabVIEW does it perfectly well with the built in function. The built in function actually calls a dll that is written in c so what you are attempting to do is basically re-invent the wheel. I sort of understand your position about not wanting to argue with your boss, but if it was me, I would just show him the diagram of Snd Play Wave File with the Call Library Function Node and just hope he wouldn't ask to see the source code. Now if this whole exercise is for you to learn c and integrate it into LabVIEW, then forget what I just said.
09-16-2006 12:24 PM
thank you for your advice,i thik i must tell you about my work detailed,my c project is very big ,my boss want i can use LabVIEW to imitate the most compentence of my project,the most important is i must get the data which i need when the c project running. if i convert c program ,how can i get the data i needed?,i think i must change my ideal .thanks for you help !!
09-16-2006 01:41 PM
09-16-2006 09:52 PM