EasySync USB2-F-7101 Instrukcja Użytkownika Strona 17

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 30
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 16
Document Reference No.: ES_000010
USB2-F-7x01 Programming Guide
Version 1.01
Clearance No.: ES# 27
©2009-2010 EasySync Ltd. 17
2.2.12 canplus_SetTimeouts
Summary
Set blocking timeouts for a channel with handle h.
Definition
int canplus_SetTimeouts( CANHANDLE h, _u32 receiveTimeout, _u32 transmitTimeout );
Parameters
h handle returned by canplus_Open for the desired USB2-F-7x01
receiveTimeout number of milliseconds to release receive blocks
transmitTimeout number of milliseconds to release transmit blocks
Remarks
Default blocking is 1sec. This command provides a mechanism to wait for different durations.
Return Codes
>0 ERROR_CANPLUS_OK
CAN channel is closed successfully
<=0 Error as noted below:
ERROR_CANPLUS_FAIL
CAN channel timeouts could not be configured
Przeglądanie stron 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 ... 29 30

Komentarze do niniejszej Instrukcji

Brak uwag