Rockwell-automation 2727-MRSDK MobileView Terminals Software Developme Manual de usuario Pagina 26

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 50
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 25
Publication 2727-UM004B-EN-P - February 2004
4-2 SDK (Software Development Kit) for MobileView Terminals
Error Handling
Rules
Functions expecting an input parameter verify that the parameter is
inside the range and has the correct data type.
If a parameter is located outside the range the function returns
INVALID_ARG_RANGE.
Functions expecting a pointer for output data as a parameter
verify that the pointer is valid (for example, the pointer must not
be NULL). If the pointer is invalid, the function returns
INVA LID_ ARG _IN VALI D_PT R.
Functions with a string as a parameter verify that the pointer to
the string is valid. If the pointer is invalid, the function returns
INVALID_ARG_INVALID_STR_PTR.
Error Codes
Start and Close Functions
This section describes functions that are required to start and close the
SDK dll.
Table 4.2
SUCCESS 0
OK 0
FAIL 1
INVALID_ARG_RANGE 2
INVALID_ARG_PTR 3
INVALID_ARG_STR_PTR 4
INVALID_ARG_UNKNWN_COOKIE 5
INVALID_ARG_UNKNWN_DOMAINS 6
INVALID_NOT_CALIBRATED 7
Vista de pagina 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 49 50

Comentarios a estos manuales

Sin comentarios