Info
この質問は閉じられています。 編集または回答するには再度開いてください。
can anyone help me with real time data plot using ni 9234
1 回表示 (過去 30 日間)
古いコメントを表示
s = daq.createSession('ni');
s.addAnalogInputChannel('cDAQ2Mod1', 0, 'Voltage');
s.addAnalogInputChannel('cDAQ2Mod1', 1, 'Voltage');
s.Rate = 2000
s.DurationInSeconds = 20;
s
[data5,time] = s.startForeground;
plot(time,data5);
xlabel('Time (secs)');
ylabel('Voltage')
7 件のコメント
Walter Roberson
2013 年 11 月 17 日
Is your plotData callback being called? If you put a disp() statement in it does the string get displayed ?
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!