EventLogger

Confirm

Sets the confirmation state of WaitingForConfirmation to Confirmed.

 

Syntax

METHOD Confirm : HRESULT
VAR_INPUT
    nTimeStamp: ULINT;
END_VAR
 
 

 VarInput Inputs

Name
Type
Description
nTimeStamp
ULINT
0: Current time stamp is used
> 0: External time stamp in 100 nanoseconds since January 1st, 1601 (UTC).
 
 

 VarOutput Return value

Name
Type
Description
Confirm
HRESULT
Returns S_OK if the method call was successful.
Returns ADS_E_INVALIDSTATE if the confirmation state was not WaitConfirmation.
Otherwise returns HRESULT as the error code.