Click here to Skip to main content
15,881,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello experts,

I'm trying to read one bit from an external source. Dependent upon available hardware, I chose the parallel port's BUSY pin. It works on my development PC but not on the target machine. I posted the details here[^].

Has anyone had similar issues using the parallel port?
And a solution to them, maybe?
Posted

1 solution

In the comment you link to you give the vital info that you don't here: you don't have admin rights on the target machine. This is quite likely to be the reason for the problem.

Personally, for a single bit input, I would not use a parallel port - I would use one of the control lines on the serial port, as these are much, much easier to access: RTS for example - you can even get the serial port to give you an event each time it changes...
 
Share this answer
 
Comments
lukeer 16-Jul-12 7:13am    
Yes, I thought of that until the only serial port was assigned to another peripheral that is also necessary.

So I'll see whether our SysAdmin's got the necessary access permission.

Thanks for now.
lukeer 17-Jul-12 3:56am    
You were perfectly right. I got an account with administrative priviliges on the target machine and the application works well.
OriginalGriff 17-Jul-12 4:05am    
Glad to hear it!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900