Measurement-computing TempScan/1100 Instrukcja Użytkownika Strona 272

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 306
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 271
C-2 Program Examples in Quick Basic 879696 TempScan / MultiScan, Appendix C
The QuickBASIC PRINT and INPUT commands are used to communicate with the driver. The most-
commonly used driver commands are
ENTER, OUTPUT, and SPOLL, as follows:
ENTER gets data from the selected device, The syntax of the ENTER command is "ENTERaddr", where
addr is the IEEE 488 address of the instrument. Right after the ENTER command, the QuickBASIC
INPUT function must be used to bring the data into a language variable.
OUTPUT sends data to the selected device. The syntax of the OUTPUT command is "OUTPUTaddr;out
data"
, where addr is the IEEE 488 address of the instrument, and out data is the string of
characters to send to the device.
SPOLL is an abbreviation for Serial Poll which retrieves an 8-bit status response from the selected
instrument. The syntax of the
SPOLL command is "SPOLLaddr", where addr is the IEEE 488
address of the instrument. Right after the
SPOLL command, the QuickBASIC INPUT function must be
used to bring the data into a language variable.
Note:
In all of the following examples, the IEEE 488 bus address is
07.
Przeglądanie stron 271
1 2 ... 267 268 269 270 271 272 273 274 275 276 277 ... 305 306

Komentarze do niniejszej Instrukcji

Brak uwag