getdata giving "An unexpected error occurred."

조회 수: 4 (최근 30일)
Adam
Adam 2011년 8월 9일
Occassionally I'll get an error when I make a getdata call. Here is the sample code and the error it throws.
Code:
[DAQ_data, DAQ_time] = getdata(ai, ai.SamplesAcquired);
Error:
??? An unexpected error occurred.
Error in ==> analoginput.getdata at 199
[varargout{1:nout}]=getdata(uddobj,samples,dataformat);
Anyone seen this before and have any recommendations on fixing it?
Thank you!
  댓글 수: 3
Adam
Adam 2011년 8월 9일
Yep -- I'm doing multiple getdata calls in the same ML session/script.
Adam
Adam 2011년 8월 10일
Between getdata calls the only calls I'm making to my ai object are start() and stop().

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by