PdceCleanup Function

Action

This function decreases the reference counter. If the reference counter reaches 0 it deletes the interval manager. For every PdceStartup() function that gets called in a script there should be a PdceCleanup() function call in the TEnd transaction.

Include file

Pdce.bdh

Syntax

PdceCleanup( ): boolean;

Return value

  • true if successful

  • false otherwise

Example

dcltrans
    transaction TEnd
    begin
      // every measure has to be unsubscribed;
      PdceMeasureUnSubscribe(pMeasure[1]);
      PdceClientUnRegister(pClient);
      PdceCleanup();
  end TEnd;