can anyone help me with real time data plot using ni 9234
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
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월 3일
What difficulty are you observing?
avinash pabbireddy
2013년 11월 4일
Walter Roberson
2013년 11월 4일
Where is your callback for when data is ready?
avinash pabbireddy
2013년 11월 11일
편집: Walter Roberson
2013년 11월 17일
avinash pabbireddy
2013년 11월 11일
Walter Roberson
2013년 11월 17일
Is your plotData callback being called? If you put a disp() statement in it does the string get displayed ?
Walter Roberson
2014년 3월 11일
@avinash pabbireddy
답변 (0개)
이 질문은 마감되었습니다.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!