Measurement-computing GPIB-488 Bedienungsanleitung Seite 33

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 116
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 32
Chapter 3 GPIB 488.1 Library Reference
Programming Reference Manual 3-20 GPIB-488
IBEOT
Enables/Disables assertion of EOI on write operations.
Syntax
C ibeot (int boarddev, int eot)
Parameters
boarddev is an integer containing the board or device handle. Here it represents a GPIB
Interface Board or a device. This value is obtained by calling the
ibfind routine.
eot is an integer which defines whether or not EOI is to be asserted. If eot is non-zero then
EOI is asserted automatically when the last byte of the message is sent. If
eot is 0, then EOI
is not asserted.
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
This call is used to temporarily change the default EOT setting.
It is useful to automatically send EOI with the last data byte in situations where variable
length data is being sent. When EOI is enabled, you do not need to send an EOS character.
If this call specifies a device, then EOI is asserted/unasserted on all writes to that device.
Likewise, if the call specifies a board, then EOI is asserted/unasserted on all writes from that
board. To assert EOI with an EOS, use the
ibeos routine. This call remains in effect until one
of the following occurs:
Another ibeot call is made.
ibonl or ibfind is called.
The system is re-started.
See also ibeos
Example
Assert EOI with last byte of all write operations from GPIB board 1.
C int device;
device = ibfind ("gpib1");
ibeot (device,1);
Seitenansicht 32
1 2 ... 28 29 30 31 32 33 34 35 36 37 38 ... 115 116

Kommentare zu diesen Handbüchern

Keine Kommentare