Measurement-computing GPIB-488 Manuel d'utilisateur Page 53

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 116
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 52
Chapter 3 GPIB 488.1 Library Reference
Programming Reference Manual 3-40 GPIB-488
IBRSC
Request/Release System Control.
Syntax
C ibrsc (int board, int control)
Parameters
board is an integer containing the board handle.
control indicates whether the GPIB Interface Board is to become the system controller or
to relinquish system control capability. If
control is non-zero, the specified board becomes
the system controller on the GPIB. If
control is 0, the board is not the system controller.
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 no error occurs, iberr equals 1 if
the specified interface board was previously the system controller or 0 if it was not.
Usage Notes
There may only be one system controller in a GPIB system.
Example
This example makes GPIB board 1 the system controller.
C int gpib1;
gpib1 = ibfind ("gpib1");
ibrsc (gpib1, 3);
Vue de la page 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 115 116

Commentaires sur ces manuels

Pas de commentaire