BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

parallel port can't read new value.

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API)
View previous topic :: View next topic  
Author Message
Andrew McIsaac
Guest





PostPosted: Sun Oct 09, 2005 9:12 am    Post subject: parallel port can't read new value. Reply with quote




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





PostPosted: Sun Oct 09, 2005 4:14 pm    Post subject: Re: parallel port can't read new value. Reply with quote



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





PostPosted: Mon Oct 10, 2005 8:54 pm    Post subject: Re: parallel port CAN now read new value. Reply with quote




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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Native API) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.