Measurement-computing GPIB-488 Instrukcja Użytkownika Strona 96

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 116
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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));
Przeglądanie stron 95
1 2 ... 91 92 93 94 95 96 97 98 99 100 101 ... 115 116

Komentarze do niniejszej Instrukcji

Brak uwag