Measurement-computing GPIB-488 Manuale Utente Pagina 37

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 116
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 36
Chapter 3 GPIB 488.1 Library Reference
Programming Reference Manual 3-24 GPIB-488
IBIST
Sets/Clears the IST (Individual Status) Bit of the GPIB board for parallel polls.
Syntax
C ibist (int board, int statusbit)
Parameters
board is an integer containing the board handle.
statusbit indicates whether the IST bit is to be cleared or set. If statusbit is non-zero,
then the IST bit is set. Otherwise, if
statusbit = 0, the IST bit is cleared.
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. If an error does not occur, the previous
IST value is stored in
iberr.
Usage Notes
This routine is used when the GPIB Interface is not the Active Controller.
IST should be SET to indicate to the controller that service is required.
Example
This example clears GPIB Board 1's IST bit.
C int gpib1;
gpib1 = ibfind ("GPIB1");
ibist (gpib1, 0);
Vedere la pagina 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 115 116

Commenti su questo manuale

Nessun commento