What is the 'NotifyWhe​nScansQueu​edBelow' in session based interface?

조회 수: 1 (최근 30일)
Mingu Kang
Mingu Kang 2021년 7월 7일
Hi all,
I've studied and tested ni-daq device.
But I can't understand what is the 'NotifyWhenScansQueuedBelow' feature.
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개)

카테고리

Help CenterFile Exchange에서 Data Acquisition Toolbox Supported Hardware에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by