Info
This question is closed. Reopen it to edit or answer.
Help with KUSB3116 timeout error
1 view (last 30 days)
Show older comments
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"
I've read similar articles like these: http://forum.keithley.com/phpBB3/viewtopic.php?f=50&t=97560 http://www.mathworks.com/matlabcentral/newsreader/view_thread/288458
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.
0 Comments
Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!