Measurement-computing GPIB-488.2 Uživatelský manuál Strana 45

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 64
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 44
GPIB 488.2 Porting Guide 986992 IOtech to Associated MCC APIs 3-27
Send is used to send data to one GPIB device. When this routine is executed, the specified
GPIB board is addressed as a Talker, the designated GPIB device is addressed as a Listener and
the number of bytes (specified by count) in data is sent.
Values for eotmode are as follows. The constants are defined in the header file.
o NLend — Send NL (Line Feed) with EOI after last data byte.
o DABend — Send EOI with the last data byte in the string.
o NULLend — Do not mark the end of the transfer.
In the example, GPIB board 0 sends an identification query to the GPIB device at address 3.
End of data is signalled by an EOI.
Example: Send (0, 3, "*IDN?", DABend)
Zobrazit stránku 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 63 64

Komentáře k této Příručce

Žádné komentáře