
Application Development Function Library - ADM API MVI-ADM ♦ 'C' Programmable
Developer's Guide 'C' Programmable Application Development Module
Page 128 of 342 ProSoft Technology, Inc.
February 20, 2013
ADM_DAWriteSendData
Syntax
int ADM_DAWriteSendData(ADMHANDLE adm_handle, ADM_INTERFACE *adm_interface_ptr,
int app_port, int length, char *data_buff);
Parameters
Handle returned by previous call to ADM_Open
Pointer to ADM_INTERFACE structure which contains structure
pointers needed by the function
Application serial port referenced
The number of data characters to send to the data analyzer
The buffer holding the transmit data
Description
This function may be used to send transmit data to the data analyzer screen. The
data will appear between two angle 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
No errors were encountered
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_DAWriteSendData(adm_handle, interface_ptr, app_port, ports[app_port].len,
ports[app_port].buff);
See Also
ADM_DAWriteRecvData (page 129)
Comentarios a estos manuales