Measurement-computing GPIB-488 Manual de usuario Pagina 103

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 116
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 102
GPIB-488 B-1 Programming Reference Manual
B
IBSTA
Every GPIB library routine returns a 16-bit status word to the variable
ibsta. This status word describes the current condition of the GPIB bus
lines and the GPIB Interface Board. By examining the status word, the
programmer may determine what path the application program is to take.
Note that the mnemonics used to describe each bit of the status word are
defined within the header file for each language.
The status word contains 16-bits. If a bit equals 1 (set), the corresponding
condition is true. Likewise, if a bit equals 0, then the corresponding
condition has not occurred. The status word is of the following format:
Bit 15 14 13 12 11 10 9 8
ERR TIMO END SRQI RQS CMPL
Hex
Value
8000 4000 2000 1000 800 100
Bit 7 6 5 4 3 2 1 0
LOK REM CIC AT N TACS LACS DTAS DCAS
Hex
Value
80 40 20 10 8 4 2 1
Vista de pagina 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 115 116

Comentarios a estos manuales

Sin comentarios