Parallel port interface using MATLAB

Status
Not open for further replies.

e_shadi

Newbie level 4
Joined
Jun 12, 2006
Messages
6
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Location
JORDAN
Activity points
1,319
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,
 

parallel port interfacing matlab

Have you check your MATLAB path? You can check with your computer BIOS port setting and may be the OS I/O setting as well.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…