Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Problem with "parport=digitalio('parallel','LPT1');" in matlab.

Status
Not open for further replies.

anand_jha_30

Member level 2
Joined
Oct 29, 2010
Messages
50
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,288
Activity points
1,616
I wrote the following piece of code for a desktop computer having a 25 pin parallel port and was running 32 bit windows XP and it ran fine.
Now I want to run the same code on my laptop. I cant see any 25 pin parallel port here. My laptop is running 64 bit windows 7.

parport=digitalio('parallel','LPT1');
get(parport,'PortAddress');
addline(parport,0:7,'out');
dataout=logical([0 0 0 0 1 0 1 0]);
putvalue(parport,dataout);

The error message that I am getting is

??? Error using ==> digitalio.digitalio at 115
PARALLEL: Could not start the WINIO.SYS device driver.

My query is can I run parport=digitalio('parallel','LPT1'); on a laptop that has no visible parallel port. If i can then how?
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top