Measurement-computing GPIB-488.2 Manual do Utilizador Página 29

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 64
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 28
GPIB 488.2 Porting Guide 986992 IOtech to Associated MCC APIs 3-11
RcvRespMsg is used to read data from a previously addressed device. You must address the
appropriate devices as Listeners/Talkers prior to calling this routine. The input data string is not
terminated with a zero byte.
In the following example, a previously addressed Listener receives 50 bytes of data from a
previously addressed Talker. The transmission is terminated when EOI is detected.
Example:
char data[50];
RcvRespMsg(0, data, 50, STOPend)
Receive is used to read data from a GPIB device. The input data string is not terminated with a
zero byte.
The following example instructs to receive 50 bytes of data from the specified talker (device at
address 2, connected to board). EOI signals the end of the message.
Example:
char data[50];
Receive (0, 2, data, 50, STOPend);
IOtech GPIB Commands Associated MCC GPIB 488.2 Command(s)
Error
No Equivalent Commands
Syntax INT WINAPI Error(DevHandleT devHandle, BOOL display);
Usage Notes
The Error command, no longer to be used, enabled or disabled automatic on-screen display of
Driver488 error messages. Specifying ON enabled the error message display, while specifying
OFF disabled it.
Similar functionality can only be achieved by coding efforts, of such magnitude, that they are
beyond the scope of this document.
Vista de página 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 63 64

Comentários a estes Manuais

Sem comentários