 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Andrew McIsaac Guest
|
Posted: Sun Oct 09, 2005 9:12 am Post subject: parallel port can't read new value. |
|
|
Hi,
I am uing BCB5 Pro & Win98SE/XP
Created an app that uses the parallel port.
I can write to the port, and I can read what was sent.
Problem is if there is a change in status of one of the pins,
ie. I physically put a pin high, this change is not read.
Is there a command to make the port read the actual values.
Program Im using for ports is from Logix4u.net
Thanks in Advance
Andrew
|
|
| Back to top |
|
 |
Bob Gonder Guest
|
Posted: Sun Oct 09, 2005 4:14 pm Post subject: Re: parallel port can't read new value. |
|
|
Andrew McIsaac wrote:
| Quote: | Problem is if there is a change in status of one of the pins,
ie. I physically put a pin high, this change is not read.
Is there a command to make the port read the actual values.
Program Im using for ports is from Logix4u.net
|
The parallel port runs on a strobe signal.
I forget which pin it is.
The data is presented to the data pins, then the stobe sends the data.
It is not enough to change a data pin.
If you hold a pin high while the program is sending data, you should
see that bit remain constant.
|
|
| Back to top |
|
 |
Andrew McIsaac Guest
|
Posted: Mon Oct 10, 2005 8:54 pm Post subject: Re: parallel port CAN now read new value. |
|
|
Thanks to Bob Gonder for getting me in the right direction.
Solved by using the Data and Status Port.
Thank you.
Andrew
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|