| | |
BCB 6 TApdcomport Receive Help!!
Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Thread Solved |
•
•
Join Date: Dec 2007
Posts: 14
Reputation:
Solved Threads: 0
I am using BCB6 so I hope this is the right forum. I am using asyncpro's TApdComPort component for serial communication. I need to send 12 bytes and receive 22. I can send the 12 bytes using putblock(..). But I can't figure out how to reeceive my data.
Also, I would like to sync the receive and send so that I send only when I receive. I guess I can figure that out if I know how to receive.
Please help.
Also, I would like to sync the receive and send so that I send only when I receive. I guess I can figure that out if I know how to receive.
Please help.
Documentation is not written by the developers for fun you know. Unless you are using fairly well known, well established APIs like the Windows API, the chances that someone who has used the library that you are using reads this post is fairly low. So when you are using a third party library, remember that there is no better help than the documentation provided with it.
In this particular case, you can use functions like
In this particular case, you can use functions like
GetBlock or GetChar to receive data from the buffer. Last edited by WolfPack; Jan 5th, 2008 at 8:49 am. Reason: typo
A trigger event is something that you can use to get a notification from the library when a particular even occurs. For example, you can get a notification when new data has arrived in the buffer by using the trigger event for data reception.
Read
Read
Triggers and trigger handles under Chapter 2 of the reference guide. ![]() |
Other Threads in the C++ Forum
- Previous Thread: clear screen
- Next Thread: Porting from Sun C++ compiler to GNU gcc
Views: 1467 | Replies: 4
| Thread Tools | Search this Thread |
Tag cloud for C++
6 api array arrays beginner binary bmp c++ c/c++ calculator char class classes code compile compiler console conversion convert count data delete desktop directshow dll download dynamic encryption error file forms fstream function functions game givemetehcodez google graph gui iamthwee ifstream input int java lib library lines linkedlist linker loop looping loops map math matrix memory microsoft newbie news number output pointer problem program programming project python random read recursion recursive reference return sort stream string strings struct studio system temperature template templates test text text-file tree unix url variable vector video visual visualstudio void win32 windows winsock wordfrequency wxwidgets






