What is the 'NotifyWhenScansQueuedBelow' in session based interface?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hi all,
I've studied and tested ni-daq device.
s = daq.createSession('ni');
addAnalogOutputChannel(s,'Dev1',0,'Voltage');
outputData = (linspace(-1,1,1000))';
s.queueOutputData(outputData);
s.NotifyWhenScansQueuedBelow = 500;
lh = s.addlistener('DataRequired', ...
@(src,event)disp(1));
startForeground(s);
So I tried some code like this to check when the 'NotifyWhenScansQueuedBelow' work.
I thought it would display '1' when NotifyWhenScansQueuedBelow work, but it doesn't happen.
I changed value of 'NotifyWhenScansQueuedBelow', But nothing happened.
Please let me know what is this, and how can I apply this in practice.
0 comentarios
Respuestas (0)
Ver también
Categorías
Más información sobre Data Acquisition Toolbox Supported Hardware en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!