I have a general question. Is there a way to collect data from only ONE channle in a session based data acquisition format from NI devices (assuming that you have multiple channels added to the same session.
s = daq.createSession('ni'); s.AddAnalogInputChannel('cDAQ1Mod1','ai0','Voltage'); s.AddAnalogInputChannel('cDAQ1Mod1','ai1','Voltage'); . . .
now when i use either methods for collecting data s.startBackground(); or s.startForeground();
Matlab collects the data from all channels. I would like to know if it is possible to collect the data only from one channel at a time. I would also like to know if I can use 'peekdata' to update a graph that plots data acquired from that single channel (and updates the graph instead of replacing with new data as with using a listener).