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

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

Antworten (0)

Kategorien

Gefragt:

am 14 Nov. 2013

Community Treasure Hunt

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

Start Hunting!

Translated by