e_shadi
Newbie level 4
parallel port programming in matlab
I suppose that Matlab should find my parallel port when I write these instructions:
out=daqhwinfo;
out.InstalledAdaptors
Well, this is not happening. The only messege I got was:
ans =
'winsound'
Hence, this explains why the follwing messege appears when I write:
>>dio = digitalio('parallel','LPT1');
??? Error using ==> digitalio/digitalio
Error using ==> digitalio/digitalio
Failure to open requested data acquisition device. Class not registered.
I checked that the mwparallel.DLL is located in its place: 'C:\Matlab6p5\toolbox\daq\daq\private\mwparallel.dll'
then I tried to do this instruction:
daqregister('C:\Matlab7\toolbox\daq\daq\private\mwparallel.dll')
but I failed too.
I will appreciate any help,
I suppose that Matlab should find my parallel port when I write these instructions:
out=daqhwinfo;
out.InstalledAdaptors
Well, this is not happening. The only messege I got was:
ans =
'winsound'
Hence, this explains why the follwing messege appears when I write:
>>dio = digitalio('parallel','LPT1');
??? Error using ==> digitalio/digitalio
Error using ==> digitalio/digitalio
Failure to open requested data acquisition device. Class not registered.
I checked that the mwparallel.DLL is located in its place: 'C:\Matlab6p5\toolbox\daq\daq\private\mwparallel.dll'
then I tried to do this instruction:
daqregister('C:\Matlab7\toolbox\daq\daq\private\mwparallel.dll')
but I failed too.
I will appreciate any help,