Prosoft-technology MVI69-ADM Uživatelský manuál Strana 126

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 342
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 125
Application Development Function Library - ADM API MVI-ADM 'C' Programmable
Developer's Guide 'C' Programmable Application Development Module
Page 126 of 342 ProSoft Technology, Inc.
February 20, 2013
ADM_DAWriteSendCtl
Syntax
int ADM_DAWriteSendCtl(ADMHANDLE adm_handle, ADM_INTERFACE *adm_interface_ptr,
int app_port, int marker);
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
marker
Flow control symbol to output to the data analyzer screen
Description
This function may be used to send a transmit flow control symbol to the data
analyzer screen. The control symbol will appear between two angle brackets:
<R+>, <R->, <CS>.
adm_handle must be a valid handle returned from ADM_Open.
Valid values for marker are:
RTSOFF
<R->
RTSON
<R+>
CTSRCV
<CS>
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
MVI_ERR_BADPARAM
Value of marker is not valid
Example
ADMHANDLE adm_handle;
ADM_INTERFACE *interface_ptr;
ADM_INTERFACE interface;
interface_ptr = &interface;
ADM_DAWriteSendCtl(adm_handle, interface_ptr, app_port, RTSON);
See Also
ADM_DAWriteRecvCtl (page 127)
Zobrazit stránku 125
1 2 ... 121 122 123 124 125 126 127 128 129 130 131 ... 341 342

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

Žádné komentáře