Comtrol API (6508) for the MS-DOS Manual de usuario

Busca en linea o descarga Manual de usuario para Software Comtrol API (6508) for the MS-DOS. Comtrol API (6508) for the MS-DOS User Manual Manual de usuario

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 39
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 0
1
RocketPort/ISA
API (6508) for the MS-DOS
Operating System
First Edition, December 1993
Revised April 1994
Copyright © 1993, 1994, 1995, 1996. Comtrol Corporation.
All Rights Reserved.
Comtrol Corporation makes no representations or warranties with regard to
the contents of this guide or to the suitability of the Comtrol
RocketPort
controllers for any particular purpose.
Trademarks
The Comtrol logo is a registered trademark of Control Systems, Inc.
Comtrol is a trademark of Comtrol Corporation.
The RocketPort series is a registered trademark of Comtrol Corporation.
Borland is a registered trademark of Borland International, Inc.
Microsoft and
MS-DOS are registered trademarks of Microsoft Corporation.
Product names mentioned herein may be trademarks and/or registered
trademarks of their respective companies.
Document Number: 6508D1.
ELE
Vista de pagina 0
1 2 3 4 5 6 ... 38 39

Indice de contenidos

Pagina 1 - Operating System

1RocketPort/ISAAPI (6508) for the MS-DOS Operating SystemFirst Edition, December 1993Revised April 1994Copyright © 1993, 1994, 1995, 1996. Comtrol Cor

Pagina 2 - Before You Begin

10 Developing Applications* These are not part of the API, but are part of the application.2.3. Writing the Configuration FileThe configuration file i

Pagina 3 - Table of Contents

Developing Applications 11Developing Applications• 900 - 943• D00 - D43This is normally of no concern because ISA peripherals often use only 10 bits o

Pagina 4 - Flowcharts

12 Developing ApplicationsDeveloping Applications /* Initialize API */ aaInstallCtrlCHandler(); if((InitReturn = aaInit()) != NO_ERR) Step 4

Pagina 5 - 1.3. Installing the Software

Developing Applications 13Developing Applications2.8.1. Understanding Device NumbersEach serial device is identified by a device number. Most API func

Pagina 6

14 Developing ApplicationsDeveloping Applications2.8.2.3. Parity ParameterThe parity parameter is used by aaOpen() and aaReconfigure() to set the type

Pagina 7

Developing Applications 15Developing Applications2.8.2.7. Detection Enable ParameterThe detection enable parameter is used by aaOpen() and aaReconfigu

Pagina 8

16 Developing ApplicationsDeveloping Applicationsyou can give the system software the name of an application program function that executes when a par

Pagina 9 - 2.2. API Functions

Developing Applications 17Developing Applicationsduring event functions and any functions called by event functions. Stack checking can be turned off

Pagina 10 - 10 Developing Applications

18 Troubleshooting3.1. Resolving Installation ProblemsIf installation fails or you are trying to resolve a problem, you should try the following befor

Pagina 11

Troubleshooting 19Troubleshooting3.2. Placing a Support CallBefore you place a technical support call to Comtrol, please make sure that you have the f

Pagina 12 - 2.8. Using API Calls (Step 5)

2ScopeThis guide describes the following information about the DOS application program interface (API) for RocketPort controllers:• Installing the sof

Pagina 13 - API functions take

20 TroubleshootingTroubleshootingContact Comtrol using one of the following methods.Corporate Headquarters:• email: [email protected]•FAX: (612) 631

Pagina 14 - Developing Applications

21 TroubleshootingThis appendix contains reference pages for the RocketPort API. TableA-4 lists all of the API functions.Table A-4. API Function Ref

Pagina 15

22 API FunctionsaaChangeModemStateaaChangeModemStateChanges the state of modem output lines.aaChangeModemState(Dev,RTSState,DTRState)int Dev Device nu

Pagina 16

23 API FunctionsaaEnPeriodicEventaaEnPeriodicEventEnables or disables dispatching of the periodic event function.aaEnPeriodicEvent(State)int StateTRUE

Pagina 17 - Developing Applications 17

24 API FunctionsaaFlushaaFlushFlushes the transmit or receive buffer, or both for a device.aaFlush(Dev,FlushFlags)int Dev Device numberunsigned char F

Pagina 18

25 API FunctionsaaGetModemStatusaaGetModemStatusGets a device’s modem status.aaGetModemStatus(Dev)int Dev: Device numberunsigned char State of the mo

Pagina 19 - 3.2. Placing a Support Call

26 API FunctionsaaGetRxStatusaaGetRxStatusGets the status of the device’s receive buffer.aaGetRxStatus(Dev)int Dev Device numberint:NO_ERR if there ar

Pagina 20 - Troubleshooting

27 API FunctionsaaInitaaInitExecutes controller and API initialization.aaInit()unsigned intNO_ERR if no initialization errorsERR_ALLOCDEV if it can no

Pagina 21

28 API FunctionsaaInstallMdmChgEventaaInstallMdmChgEventInstalls an application level event function to handle modem change events.aaInstallMdmChgEven

Pagina 22 - 22 API Functions

29 API FunctionsaaInstallRxEventaaInstallRxEventInstalls an application level event function to handle receive data available events.aaInstallRxEvent(

Pagina 23

3Before You BeginScope ...2Purpose...

Pagina 24 - 24 API Functions

30 API FunctionsaaReadCOM_MDM_DTR, or both. If the flag is not set the line is OFF. If hardware flow control is in use for a modem line, it’s flag has

Pagina 25

31 API FunctionsaaReadWithStatusaaReadWithStatusReads serial data and status from a device.aaReadWithStatus(Dev,Cnt,Buf)int Dev Device numberint Cnt M

Pagina 26 - 26 API Functions

32 API FunctionsaaSendBreakERR_PAR if invalid parity bits flagERR_DATAB if invalid data bits flagERR_STOPB if invalid stop bits flagERR_FLOW if invali

Pagina 27

33 API FunctionsaaSetCloseDelayaaSetCloseDelaySets the maximum time aaClose() waits for a device’s transmit buffer to drain before flushing the transm

Pagina 28 - 28 API Functions

34 API FunctionsEvModemChangeEvModemChangeApplication modem input change event functionEvModemChange(Dev,unsigned char MdmChange,unsigned char MdmStat

Pagina 29

35 API FunctionsEvPeriodicEvPeriodicApplication periodic event functionEvPeriodic()voidThis function is not part of the API, it must be written by the

Pagina 30 - 30 API Functions

36 TroubleshootingThis appendix contains a copy of the \ROCKET\SAMPLE\DBUF.C file for your convenience.File: DBUF.C Project: RocketPort DOS APIPurpose

Pagina 31

Troubleshooting 37Troubleshooting aaEnPeriodicEvent(TRUE); /* Test background transmit and receive on device 0. A loopback plug can be insta

Pagina 32 - 32 API Functions

38 TroubleshootingTroubleshooting /* Update Tx queue In index */ q[Dev].TxIn = In; asm sti; /* enable interrupts */ return(NumOpen);}/********

Pagina 33

Troubleshooting 39Troubleshooting /* Read more data if any room left at front of buffer and if device wasn't already emptied */ if((i !=

Pagina 34 - EvModemChange

4FlowchartsFlowchart 1-1. Hardware and Software Installation Overview ...5Flowchart 2-1. How t

Pagina 35

5 Installating RocketPort/ISA SystemsThis section contains a product overview and discusses installing the API for your system. The DOS API and Interr

Pagina 36 - 36 Troubleshooting

6 Installating RocketPort/ISA SystemsInstallating RocketPort/ISA SystemsNote: Press <F1> on any item for button-sensitive Help.5. Select the I/O

Pagina 37

Installating RocketPort/ISA Systems 7Installating RocketPort/ISA Systems1.4. Installing the ControllerTo prepare your controller for installation, you

Pagina 38 - 38 Troubleshooting

8 Installating RocketPort/ISA SystemsInstallating RocketPort/ISA Systemsfrom 1 to 16.c. If applicable, set each port to the appropriate communications

Pagina 39

9 Developing ApplicationsThis section describes the following topics:•API features and functions• Writing the configuration file• Using the API (flowc

Comentarios a estos manuales

Sin comentarios

Grundig Rizadores de cabello manuales de usuario

Empezando en H

Haga clic en el alfabeto a continuación para desplazarse a la lista completa de modelos que comienzan con esa letra

Modelos Tipo de documento
HS 6130
Ficha de datos   Grundig HS 6130 hair curler, 1 paginas