Measurement-computing GPIB-488 User Manual Page 37

  • Download
  • Add to my manuals
  • Print
  • Page
    / 116
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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);
Page view 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 115 116

Comments to this Manuals

No comments