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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Analog Input and Output 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!