Measurement-computing GPIB-488 Instrukcja Użytkownika Strona 60

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 116
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 59
Chapter 3 GPIB 488.1 Library Reference
GPIB-488 3-47 Programming Reference Manual
IBTMO
Changes timeout value.
Syntax
C int ibtmo (int boarddev, int timeout)
Parameters
boarddev is an integer containing the board or device handle.
timeout specifies the timeout. The timeout value determines how long I/O routines wait for
a response from a device. When the timeout period expires during an I/O operation, the I/O
function returns an
EABO error. Valid timeout codes are shown in Table 3-6.
Returns
ibsta will contain a 16-bit status word as described in Appendix B, IBSTA.
iberr will contain an error code, if an error occurred. Contains the previous timeout code if
no error occurs.
Usage Notes
This routine is used to temporarily change the default timeout value assigned to the
device/GPIB Interface board.
Table 3-6. Timeout Codes
Code Value
Minimum
timeout
Code Value
Minimum
timeout
TNONE 0 Disabled T100ms 9 100 msec
T10us 1 10 msec T300ms 10 300 msec
T30us 2 30 msec T1s 11 1 sec
T100us 3 100 msec T3s 12 3 sec
T300us 4 300 msec T10s 13 10 sec
T1ms 5 1 msec T30s 14 30 sec
T3ms 6 3msec T100s 15 100 sec
T10ms 7 10msec T300s 16 300 sec
T30ms 8 30 msec T1000s 17 1000 sec
Przeglądanie stron 59
1 2 ... 55 56 57 58 59 60 61 62 63 64 65 ... 115 116

Komentarze do niniejszej Instrukcji

Brak uwag