Declaration
unsigned int _stdcall ConfigDone(struct StationPar * St)
Parameters
StPointer to StationPar structure./td>
Description

The function ConfigDone (_ConfigDone@4 in the Stdcall call convention) is optional. It is called only once for a station after the definition callings InitStation and InitStation are finished. The sequence of the definition callings InitStation, InitPoint and ConfigDone is as follows:

  • At first, there is called the function InitStation,
  • then the function InitPoint is called for all I/O tags of particular station,
  • then the functions InitStation and InitPoint are called for other stations,
  • finally, the function ConfigDone is called for all the stations.
Return code
CodeDescription
RQ_OKRequest has been executed OK.
RQ_ERRAn error occurred (device does not communicate or is out of order, or there is another error).
RQ_IGNOREDThe function was ignored and the station status is not changed.
Napíšte komentár