Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

sound card

Solved!
Go to solution

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

0 Kudos
Message 1 of 7
(4,426 Views)

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.

0 Kudos
Message 2 of 7
(4,411 Views)

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 

0 Kudos
Message 3 of 7
(4,396 Views)

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.

0 Kudos
Message 4 of 7
(4,388 Views)

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

Download All
0 Kudos
Message 5 of 7
(4,384 Views)
Solution
Accepted by topic author simon76

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.

Message 6 of 7
(4,368 Views)

Thanks Kate.

Problems solve..

 

regards,

Simon

0 Kudos
Message 7 of 7
(4,355 Views)