Info

This question is closed. Reopen it to edit or answer.

Help with KUSB3116 timeout error

1 view (last 30 days)
F Figueroa
F Figueroa on 23 Sep 2014
Closed: MATLAB Answer Bot on 20 Aug 2021
Greetings. I'm trying to capture short audio measurements from a microphone using Keithley's KUSB 3116 interface. I set up the audio interface, and it is detected thru "daqhwinfo('dtol')".
Part of my code is here:
AI = analoginput ('dtol', 0)
addchannel(AI, 1)
set(ai0,'Samplerate',48000);
set(AI,'SamplesPerTrigger',5*48000) %5 second recording
set(AI,'TriggerType','Manual')
blocksize = get(AI,'SamplesPerTrigger');
set(AI,'BufferingMode','Auto')
start(AI)
wait(ai,5+1)
get(AI)
But when running, returns the error "WAIT reached its timeout before OBJ stopped running." Or "TIMEOUT - timeout occurred during GETDATA"
Tried to extend the "wait" time. Changing channels, but to no avail. I'm using MATLAB R2014a (8.3.0.532) Student version on a win 7pro x64 laptop.
Hope you may help me.

Answers (0)

Community Treasure Hunt

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

Start Hunting!