serin/out to pc problem
DLK
Posts: 5
I think I looked everywhere that I could think of with no luck
I need to control a switch with a vb6 program which is easy enough plus the switch has to return a count of contact closures in a given period to the vb6 program.
I've tried using handshaking but must have done something wrong but don't know what.
It's been a year or so since I last tried it but the need has come up again.
Any help out there?
I need to control a switch with a vb6 program which is easy enough plus the switch has to return a count of contact closures in a given period to the vb6 program.
I've tried using handshaking but must have done something wrong but don't know what.
It's been a year or so since I last tried it but the need has come up again.
Any help out there?
Comments
Hope all this helps you out.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
What I have seen is a lot of stamps to other stamps or to robotics but nothing where 232 is used with pc's and rts/cts in a two way condition.
I was hoping to get aimed at some programs or sites.
Thanks anyway.· I'll keep looking when I have the time.
Yep, I know I tried that setup and the program I made for both the VB6 and the stamp programs worked fine as long as I was sending either the serout alone or the serin alone.· Meaning one or the other was commented out.· When I tried to send data back & forth using both serin and out is when I had the problem.
Thanks again
If you don't clear the receive buffer before the next transmission from the Stamp the data and the echo can get mixed together giving errors in what you expect.
I mention this because you say you are unable to send and receive in the same program , the above could be a possible reason.
Jeff T.
I'm always open to help even when I just can't get to the project immediately.