session based interface pause

how to make pause for session based interface while running ?

답변 (1개)

Walter Roberson
Walter Roberson 2014년 2월 22일

0 개 추천

By default, the IsContinuous property is set to false and the operation stops automatically. If you have set it to true, use daq.Session.stop to stop background operations explicitly.

댓글 수: 2

mado
mado 2014년 2월 24일
i want to pause for 60 seconds and then resuming acquiring?
Walter Roberson
Walter Roberson 2014년 2월 24일
You could set a timer() object to fire in 60 seconds that re-started the data acquisition.
It appears to me that sessions are not designed to be paused in this way; I do not know what the underlying representation is, so I do not have any idea how hard it would be for Mathworks to implement.

댓글을 달려면 로그인하십시오.

카테고리

도움말 센터File Exchange에서 Data Acquisition Toolbox Supported Hardware에 대해 자세히 알아보기

질문:

2014년 2월 20일

댓글:

2014년 2월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by