Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

Declaration


Blok kódu
languageesl
themeConfluence
unsigned int (_stdcall * WriteToLine)(HOBJ StID, void * Data, unsigned int Len);
Parameters


StIDCommunication station ID.
DataPointer to a buffer of the data to send.
LenNumber of bytes to send.
Description


The function writes data with defined length into an asynchronous line specified length into Serial, MOXA IP Serial Library or SerialOverUDP Device Redundant, in case of first two lines with parameters defined according to a specified mode of a particular station.


Return value
True / False according to the function success.

Info
titleRelated pages:

D2000 KomAPI - call-back functions