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

  • 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 95
Chapter 4 GPIB 488.2 Library Reference
Programming Reference Manual 4-28 GPIB-488
Trigger
Triggers one device.
Syntax
C Trigger(int board, short address)
Parameters
board is an integer which identifies the GPIB board to used for this operation. In most
applications, this value is 0.
address is an integer representing the GPIB address of the device to trigger. If
address = NOADDR then all Listeners already addressed are triggered.
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.
Usage Notes
When this call is executed, the GPIB GET (Group Execute Trigger) message is sent to the
specified device.
To trigger several GPIB devices, use
TriggerList.
Example
This example triggers a device connected to board 0 whose primary GPIB address is 6 and
secondary address is 12.
C Trigger (0, MakeAddr (6, 12));
Vue de la page 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 115 116

Commentaires sur ces manuels

Pas de commentaire