User manual

161
6.CHAPI design examples
Two CHAPI examples are provided with source code for the moment LPV11 printer port
and DLV11 serial line controller. More devices will be provided in the future release.
6.1 LPV11
Full functional QBUS LPV11 / UNIBUS LP11 printer port with ability to send printed data
to the TCP/IP connection or local file on the disk. This device is supplied with HOSTprint
utility which maybe used to print data to the default host machine printer. HOSTprint utility
maybe started on any host running Windows and visible from the host running CHARON.
LPV11 itself maybe easily configured to print data to the printer using HOSTprint utility on
the local or remote host system. It is also possible to configure LP11/LPV11 printing to
locally attached printer (LPTn: port).
LP(V)11 implementation has been tested with MicroVAX 3600 /VMS and PDP-11/93(4) /
RSX-11M-PLUS in configuration with HOSTprint utility.
Provided LPV11 binary will print installed CHARON license key number each 25 lines. In
order to remove this functionality just comment out the line
#define _PRINT_LICENSE_STR
and rebuild the component.
See document #30-09-06 for source code listing of LPV11 CHAPI device.
6.2 DLV11
Full functional QBUS DLV11 / UNIBUS DL11 serial controller with ability to map its line to
three supported ports: 1) Standard host COM port; 2) TCP/IP port; 3) MOXA NPort 5210
port.
DL(V)11 implementation has been tested with PDP-11/RSX-11M-PLUS system.
See document #30-09-06 for source code listing of DLV11 CHAPI device.
6.3 CHAPI device templates
A number of CHAPI device templates have been also supplied. They are intended to be
used with CHAPI device creation wizard tool described in this document earlier. All
templates use one or more CHAPI support libraries described above with all bonuses like
compatibility between different controllers and ports/containers, etc… Below is the list of
project templates for different kind of devices with the listing of supplied files and short
description: