|
-
November 16th, 2007, 06:15 AM
#1
vc++ 6 serial communication problem
hello everyone. i'm new to this forum and it's my first time to post on an english language /i'm from poland/ forum about a problem i have.
my problem is that i have to write a console based program to communicate with an electronic device via rs232 com port. the communication has to be realized by sending bytes of information to a micro controller. and the problem is that i'm not really a great programmer and really new to vc++, so if anyone could try to explain how to do such a thing i would be most grateful: which libraries to use? weather those are standard c++ libraries or vc++ ones. which fuctions to use.
as for the structure of the program i think that it should look something like this:
run prog->close port->open port->send data->close port->exit prog.
thank you for any help you can spare.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|