Deconfigure()

The Deconfigure method closes the inference session of the FB in the TcMlServer. After a successful call to Deconfigure, the FB can set up a new inference session using the Configure method.

After a successful configuration of an inference session, all calls to Configure are ignored until a call to Deconfigure has been made.

 

Parameter

Type

Default

Description

INPUT

nTimeout

ULINT

 

Number of PLC task cycles before the timeout error is returned.

OUTPUT

Deconfigure

BOOL

 

Return value. TRUE as soon as the result of the asynchronous call is available. The result of the call can then be checked using the 'bError' and 'nErrorCode' properties.