Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use NI-DAQmx measure audio signal RMS/frequency/THD in VB.NET language?

Would you please tell me how to use DAQmx measure audio signal(AC signal) RMS/frequency/THD in visual basic.net language?

Could you give me a example for the case?

Look forward to hearing your reply!
0 Kudos
Message 1 of 2
(3,231 Views)
Kelvin,

The DAQmx driver will give you the tools needed to import a digitized signal into VB, but once the data is in VB you will need to do analysis on the imported data (the imported data is a digital representation of the time domain of your audio signal).  LabVIEW and CVI  come with the tools needed to extract the RMS, Frequency, and THD from the time domain information, this is not the case with VB, C++, etc.

You have two options, one is to purchase Measurement Studio or to write your own analysis functions in VB.  Information about the measurement studio solution can be found in the message thread below.
http://forums.ni.com/ni/board/message?board.id=232&message.id=1889

Writting your own analysis functions in VB would not be too hard when determining the RMS, but frequency and THD might prove to be a difficult task (especially THD).

Like I said above, first you need to digitize your signal using the DAQmx driver and then you need to analyse it.

Hopefully this helps a little bit,

Lorne Hengst
Application Engineer
National Instruments

0 Kudos
Message 2 of 2
(3,214 Views)