getdata giving "An unexpected error occurred."

1 Ansicht (letzte 30 Tage)
Adam
Adam am 9 Aug. 2011
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 Kommentare
Adam
Adam am 9 Aug. 2011
Yep -- I'm doing multiple getdata calls in the same ML session/script.
Adam
Adam am 10 Aug. 2011
Between getdata calls the only calls I'm making to my ai object are start() and stop().

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu Image Processing Toolbox finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by