User manual

162
6.3.1 General CHAPI device
This set of templates represents general structure of CHAPI device w/o any specialization.
It is intended to be used as the base for any CHAPI device when there is no specialized
template appropriate for the category of implemented device. Use CHAPI device creation
wizard to supply parameters for this kind of project and build compilable MS VC++ project.
Below is the list of files belongs to this template:
-
chapi_general_tmp.cxx – template for implementation file;
-
chapi_general_msgid_tmp.h;
-
chapi_general_tmp.vcproj – template for the project file.
6.3.2 CHAPI Serial line controller
This set of templates represents proposed structure of serial line multiplexer controller. It
is intended to be used as the base for any new CHAPI serial multiplexer implementation. It
is not mandatory to use these templates but they can simplify development a lot and allow
using already implemented TCPIP, COM and MOXA NPort 5210 serial ports for
communication without any additional efforts. Use CHAPI device creation wizard to supply
parameters for this kind of project and build compilable MS VC++ project. Below is the list
of files belongs to this:
-
chapi_serial_ctrl_tmp.cxx – template for implementation file;
-
chapi_serial_ctrl_tmp.h – template for header file;
-
chapi_serial_ctrl_msgid_tmp.h;
-
chapi_serial_ctrl_tmp.vcproj – template for the project file.
6.3.3 CHAPI Serial line port
This set of templates represents proposed structure of serial line port. It is intended to be
used as the base for any new CHAPI serial line port implementation. It is not mandatory to
use these templates but they can simplify development a lot and allow using newly
created port with existing CHAPI serial line multiplexers developed in accordance with
mentioned above template. Use CHAPI device creation wizard to supply parameters for
this kind of project and build compilable MS VC++ project. Below is the list of files belongs
to this template:
-
chapi_serial_port_tmp.cxx – template for implementation file;