Prosoft-technology MVI69-ADM Instrukcja Użytkownika Strona 129

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 342
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 128
MVI-ADM 'C' Programmable Application Development Function Library - ADM API
'C' Programmable Application Development Module Developer's Guide
ProSoft Technology, Inc. Page 129 of 342
February 20, 2013
ADM_DAWriteRecvData
Syntax
int ADM_DAWriteRecvData(ADMHANDLE adm_handle, ADM_INTERFACE *adm_interface_ptr,
int app_port, int length, char *data_buff);
Parameters
adm_handle
Handle returned by previous call to ADM_Open
adm_interface_ptr
Pointer to ADM_INTERFACE structure which contains structure
pointers needed by the function
app_port
Application serial port referenced
length
The number of data characters to send to the data analyzer
data_buff
The buffer holding the receive data
Description
This function sends receive data to the data analyzer screen. The data will
appear between two square brackets: [data].
adm_handle must be a valid handle returned from ADM_Open.
MVI94 Note
Only application port 0 is valid for the MVI94.
Return Value
MVI_SUCCESS
No errors were encountered
MVI_ERR_NOACCESS
adm_handle does not have access
Example
ADMHANDLE adm_handle;
ADM_INTERFACE *interface_ptr;
ADM_PORT ports[MAX_APP_PORTS];
Int app_port;
ADM_INTERFACE interface;
interface_ptr = &interface;
ADM_DAWriteRecvData(adm_handle, interface_ptr, app_port, ports[app_port].len,
ports[app_port].buff);
See Also
ADM_DAWriteSendData (page 128)
Przeglądanie stron 128
1 2 ... 124 125 126 127 128 129 130 131 132 133 134 ... 341 342

Komentarze do niniejszej Instrukcji

Brak uwag