Effacer les filtres
Effacer les filtres

Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

can anyone help me with real time data plot using ni 9234

1 vue (au cours des 30 derniers jours)
avinash pabbireddy
avinash pabbireddy le 2 Nov 2013
Clôturé : Sabin le 11 Fév 2023
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 commentaires
Walter Roberson
Walter Roberson le 17 Nov 2013
Is your plotData callback being called? If you put a disp() statement in it does the string get displayed ?
Walter Roberson
Walter Roberson le 11 Mar 2014
@avinash pabbireddy

Réponses (0)

Cette question est clôturée.

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by