BEGA220A USER MANUAL
- 54 -
3.3.2 Serial Port Control-CSerialPort class
Bolymin provided a class, CSerialPort, which implements basic control logic for serial port.
Application may use this class by adding
“CSerialPort.cpp”
and
“CSerialPort .h”
into project.
Customer may modify the source code of class CSerialPort to expand the serial port functions.
3.3.2.1
Basic concept of class CSerialPort
The object of class CSerialPort will handle all data transfer and receive of opened serial port.
Once there is any data is received by the opened serial port, CSerialPort object will send a user
defined message to user defined window which should be main window of application program.
Below picture shows the flow:
Window of user application
CSerialPort object
Call Send() function to
send data by serial port
Serial port
Received
data
Send user defined
message to user window
User application should
catch this message to get
received data
Содержание BEGA220A
Страница 12: ...BEGA220A USER MANUAL 12 1 3 Mechanical Specifications 1 3 1 Module Specifications ...
Страница 19: ...BEGA220A USER MANUAL 19 STEP7 Enter URL at the Address box ...
Страница 47: ...BEGA220A USER MANUAL 47 5 Select No and click Next button to cancel the synchronization ...
Страница 68: ...BEGA220A USER MANUAL 68 End of BEGA220A User Manual ...