Why does MATLAB change the sample rate while trying to acquire data? -


i using dataq acquisition device in matlab 32-bit data acquisition toolbox.

on occasion, when have sample rate set 300, tells me:

warning: hardware not support requested value of 300 samplerate. samplerate has been set 1000"

however, if set samplerate 1000, sets 300 same error message.

also, if set program after error displays , device has started recording returns samplerate, @ whatever set to, not program claims changed to.

anyone have idea how find out actual sample rate or keep resetting mine? need know how many samples there per second further calculations.

the problem not matlab daq. have similar "problem" ni daq. hardware set sample @ high rate avoid aliasing. sample @ higher rate required , use matlab command "resample" reduce sampling rate. resample avoid aliasing of higher frequencies.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -