I am trying to use DAQ toolbox to measure microphone Array data using NI USB 9234.
In LabVIEW, I configure the device using sound pressure measurement mode.
But, I don't know how to do that in MATLAB DAQ toolbox.
My code is:
set (ai, 'SampleRate', 1700);
set(ai.Channel, 'UnitsRange', [0 135]); /* tried it in both volts range and db range*/
set(ai.Channel, 'Units', 'dB');
Data that's being saved seems to contain only noise. I don't see any sound data i it.
It would be great if someone could tell me how to acquire sound data using the toolbox.