jaxon445
asked on
how to interface PC with self designed electronics
Hi all.Please let me know how can i interface a self designed electronic units with the PC
i'm looking for commands and example to access pin of serial and parallel comm port pin by pin. Please let me know how its done in VC++ and VB. and which one do you recommend i use.
i'm looking for commands and example to access pin of serial and parallel comm port pin by pin. Please let me know how its done in VC++ and VB. and which one do you recommend i use.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Do you have MSVC 50 or 60 compiler ?
If yes then you can take a look at the TTY sample.
This is a simple executable that lets you transfer and receive bytes across serial ports.
You will need a shielded cable with a 9 bit connector on either sides.
Get hold of two compuers which are loaded with Win NT and connect their respective COM1 ports using the shielded cable. Run the TTY.EXE sample on both the computers.
.....and there you are. You have the full source code also (TTY.C)
This is a demo of PC to PC communications. For PC to external hardware communication, you will need to use specific chips ( not much idea about that)
Hope this helps
If yes then you can take a look at the TTY sample.
This is a simple executable that lets you transfer and receive bytes across serial ports.
You will need a shielded cable with a 9 bit connector on either sides.
Get hold of two compuers which are loaded with Win NT and connect their respective COM1 ports using the shielded cable. Run the TTY.EXE sample on both the computers.
.....and there you are. You have the full source code also (TTY.C)
This is a demo of PC to PC communications. For PC to external hardware communication, you will need to use specific chips ( not much idea about that)
Hope this helps
ASKER
i was looking for command and ways to get it done by VB or VC++. please do let me know if you know anything on it.