Advantech PCI-1682U Manual de usuario Pagina 50

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 104
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 49
PCI-1680U/1682U User Manual 44
4.3.9 ClearCommError
When error occurs, users can use ClearCommError to get the specific type of error.
Syntax
BOOL ClearCommError(
HANDLE hDevice,
LPDWORD lpErrors,
LPCOMSTAT lpStat
);
Parameters
Return Value
Successful: return non-zero values. Unsuccessful: return zero value. Please call Get-
LastError function.
Note! Definitions of error codes supported are as below:
Name Description
CE_RXOVER Receive Queue overflow.
CE_OVERRUN Receive Overrun Error.
CE_FRAME Passive error.
CE_BREAK Busoff .
Note! The third parameter is unused, please set it to NULL.
Name Direction Description
hDevice Input Handle of the device which was opened.
lpErrors Output Store error codes which return from drivers.
lpStat Output
Empty. If users want to know specific information about error
register, please call DeviceIoControl to get status of the
device.
Vista de pagina 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 103 104

Comentarios a estos manuales

Sin comentarios