can anyone help me with real time data plot using ni 9234
Información
La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.
Mostrar comentarios más antiguos
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 comentarios
Walter Roberson
el 3 de Nov. de 2013
What difficulty are you observing?
avinash pabbireddy
el 4 de Nov. de 2013
Walter Roberson
el 4 de Nov. de 2013
Where is your callback for when data is ready?
avinash pabbireddy
el 11 de Nov. de 2013
Editada: Walter Roberson
el 17 de Nov. de 2013
avinash pabbireddy
el 11 de Nov. de 2013
Walter Roberson
el 17 de Nov. de 2013
Is your plotData callback being called? If you put a disp() statement in it does the string get displayed ?
Walter Roberson
el 11 de Mzo. de 2014
@avinash pabbireddy
Respuestas (0)
La pregunta está cerrada.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!