PdceClientUnRegister Function

Action

This function unregisters a client from the data collection engine. It should be called when no further client data is needed. Usually, this can be done for all clients in the TEnd transaction before the PdceCleanup().

Include file

Pdce.bdh

Syntax

PdceClientUnRegister( in hPdce : number ): boolean;

Return value

  • true if successful

  • false otherwise

Parameter Description
hPdce Specifies the client's handle, from the PdceClientRegister or PdceRegisterClient function.

Example

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