Rockwell-automation 2727-MRSDK MobileView Terminals Software Developme Instrukcja Użytkownika Strona 26

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 50
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 49 50

Komentarze do niniejszej Instrukcji

Brak uwag