"Dor Amran" <
dorim...@gmail.com> wrote in message
news:nqoi8b$edm$1...@newscl01ah.mathworks.com...
> As a part of my research I am required to make use of my mcc daq
> USB-1208HS-4AO to transfer a pulse from my pc (through data acquisition
> toolbox embedded in Psychtoolbox 3 which I have installed) to BIOPAC
> systems.
> However, my matlab R2016a (trial version) doesn't seem to recognize my mcc
> daq Despite the fact that I have installed all the device's drivers and my
> computer recognizes it.
> When I use "DaqFind" I get the following error message:
I see that the Data Acquisition Toolbox had a function named "daqfind" but
according to the Release Notes for release R2016a that function should
error. See the "Functionality being removed or changed" section.
http://www.mathworks.com/help/daq/release-notes.html
But from the way you've capitalized it, I assume you're using some other
function or GUI that someone else (Psychtoolbox?) has provided, and it
appears that function has not been updated to react to the introduction of
the new graphics system in release R2014b. See the first and third items in
the Graphics section of the Release Notes for that release of MATLAB.
http://www.mathworks.com/help/matlab/release-notes.html
> Undefined function 'real' for input arguments of type 'matlab.ui.Figure'.
>
> Error in int2str (line 12)
> x = real(x);
>
> Error in TwoStateQuery (line 85)
> set(QueryFigh,'Tag',['Questionable Figure ' int2str(QueryFigh)]);
This is assuming that figure handles are numbers, which as the third item in
the Graphics Release Notes to which I referred above states is no longer a
valid assumption. That code will need to be updated.
> Error in DaqFind (line 20)
> TryAgain=TwoStateQuery('Did not find a device, should I clear PsychHID
> and try again?');
>
> and when I use "PsychHID('Devices')" the daq is not on the usb list.
> When I tried connecting USB-1208FS my matlab recognizes it immediately.
> Its also important to mention that the aforementioned daq is on Mathworks
> list of supported hardware.
> I would greatly appreciate any assistance you may provide.
So I don't work very often (or at all) with Data Acquisition Toolbox, but
have you tried using the session interface that the Release Notes for that
product (the first link I posted) suggests you use instead of the "daqfind"
function in that product?
--
Steve Lord
sl...@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com