Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.
Komentár: Importing git repo change from 13.10.2017 13:11:24

...

Protocol dynamic link library (.DLL) exports a set of functions, which are called by the process D2000 KOM. The list of all the exported functions is shown in the following table with the brief description.
On Linux platform, the dynamic library extension is different (.so), and the function names are without underscore and size specifications (e. g. Init instead of _Init@4).

Function nameRequirementMeaning
_Init@4RequiredThe function called after DLL dynamic import.
_ReadAllPoints@4Optional (recommended)Reading of values of all station I/O tags.
_ReadStoredData@28OptionalReading of historical values of station I/O tags.
_ReadPointValue@8OptionalReading of I/O tag value.
_WritePointValue@16OptionalWriting of a new I/O tag value.
_InitStation@4OptionalDefinition of new station parameters.
_DeleteStation@4OptionalStation deleted.
_TimeSynchroStation@4OptionalStation real time synchronisation.
_InitPoint@12OptionalDefinition of new I/O tag parameters.
_DeletePoint@4OptionalI/O tag deleted.
_ConfigDone@4OptionalCalling the definitions of station and its I/O tags is done.
_PointsApplyBack@8OptionalResponse to calling the call-back procedure PointsApply.
_StationsApplyBack@8OptionalResponse to calling the call back procedure PointsApply.
_ExitProc@0OptionalCalled when stopping D2000 KOM.
_ExitProcWithLnPar@4OptionalCalled when stopping D2000 KOM.
_RdStatusChanged@4OptionalCalled when switching the redundancy or changing the instance of D2000 KOM.

Note
All the used KomAPI functions and procedures (including call-back functions and internal tasks) require the Stdcall call convention on Windows platform.

Info
titleRelated pages:

D2000 KomAPI