04-19-2010 08:18 PM
Hi,
Is anyone know how to do the measurements (frequency & amplitude) for the incoming signal to the soundcard??
I've build the interopassembly.net from labview & call from vb.net but somehow it hang.
Thanks and Regards,
Simon
Solved! Go to Solution.
04-20-2010 10:52 AM
What exactly is your problem?
You cannot acquire signal from sound card in LabVIEW?
You cannot analyze signal in LabVIEW?
You already done all of the above in LabVIEW, and doesn't work after calling from .NET?
Please explain your problem clearly and include some evidents like error screenshot, code, step to reproduce a problem, software version, and so on so fort, unless no one can help you.
04-20-2010 09:19 PM
Hi Kate,
Thanks for the respond.
I generate sine wave & doing the measurement loopback through sound card.
It's working well in labview and hang when calling from .net.
Attach with the project files (VS2005) & labview.vi.
Thanks and Regards,
Simon
04-21-2010 02:35 AM
Please attach the whole LabVIEW project unless I don't know whether you compile it correctly, and when you say it hangs, does it has anything show up?
You should also try debugging in VB to see where does it have a problem.
04-21-2010 05:30 AM
Hi Kate,
I able to solve the problem. Is my mistake to forgot copy all the dll to the bin>debug/release.
Now, another error come out when close the application. Attach the error code & modify .vi
I believe the sound output stop before the sound read that cause this error;
BTW, any idea on modify the vi so the sound read stop then follow by sound output stop??
Once, thanks for your help.
regards,
Simon
04-21-2010 10:04 AM
I don't think that could cause a problem, since it works fine in LabVIEW, but if you wish you just wire error cluster to sound input before sound output.
BTW, you should clear sound output task also.
04-21-2010 08:13 PM
Thanks Kate.
Problems solve..
regards,
Simon