what is the shape of the wave form of the data acquired using Matlab session based command with the help of NI DAQ 6343

1 次查看(过去 30 天)
It produce spike wave instead of sine wave. Why?
s = daq.createSession('ni');
ch = s.addAnalogInputChannel('Dev5',[0 1 2 3], 'Voltage');
s.Rate = 1000;% how fast do you want to acquire the data
s.DurationInSeconds = 1; % acquisition total time
[data,time] = s.startForeground

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Analog Input and Output 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by