필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

addlistener in legacy based interface

조회 수: 2 (최근 30일)
jenni
jenni 2013년 6월 10일
마감: MATLAB Answer Bot 2021년 8월 20일
Is it not possible to use 'addlistener' in legacy based programming style? lh = addlistener(Hsource,'EventName',callback) What is 'HSource'? I want to excecute a callback function every 1sec when the data available in the input card exceeds say'5000' points.
  댓글 수: 2
Jan
Jan 2013년 6월 10일
What is "legacy based programming style"? What exactly does "data available" mean? When you are talking of a serial connection, a simple callback might be easier.
jenni
jenni 2013년 6월 11일
I am talking about the session based & legacy based interface in data acquisition.I want a function to be called every second when the input data collected by the data acquisition card exceeds some fixed pointsin legacy interface programming.'addlistener' calls a function when 'data available' event occurs. But i dont know its exact usage like what Hsource' means.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by