Protogate Freeway 3600 Guía de usuario Pagina 118

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 270
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 117
118 DC 900-1340I
BSC Programmers Guide
5.4.1 Commands using Raw dlWrite
Section 5.4.1.1 through Section 5.4.1.15 explain how to issue specific commands to the
BSC 2780/3780 software using the
dlWrite function. Call dlRead to receive the command
confirmation response (the
dlRead pOptArgs.usProtCommand field is set by the DLI).
5.4.1.1 Set Translation Table Command
Use the dlWrite function with the pOptArgs.usProtCommand field set to
DLI_PROT_SET_TRANS_TABLE to set translation table 1 or 2. Use the MSB of the
pOptArgs.usProtCircuitID field to specify the translation table to be set (1 or 2). Each link
can use either of the two tables for character translation. After Freeway startup, the
tables contain the default values shown in Appendix C. Use the data area of the buffer
pointed to by the
pBuf parameter to send the translation table values. The first 256 bytes
of data are the conversion values for the ASCII-to-new character set translation. The
next 256 bytes are the conversion values for the new character set-to-ASCII translation.
An unsuccessful Set Translation Table command can return one of the following error
codes in the
dlRead pOptArgs.iICPStatus field (see Appendix D for error handling):
DLI_ICP_ERR_BAD_MODE
The function request is not available for the requested
access mode.
DLI_ICP_ERR_BAD_PARMS
The parameter value(s) used for the function call are
illegal.
5.4.1.2 Clear Statistics Command
Use the dlWrite function with the pOptArgs.usProtCommand field set to
DLI_PROT_CLR_STATISTICS to clear the link statistics report. The link statistics are cleared as
soon as this command is received. The statistics are automatically cleared when a Start
Link command (Section 5.4.1.5) is issued.
Vista de pagina 117
1 2 ... 113 114 115 116 117 118 119 120 121 122 123 ... 269 270

Comentarios a estos manuales

Sin comentarios