beckhoff — 7.2.1.3 ConfirmEvent

Event HMI Function was successfully called Visual Basic sample code Option Explicit ' add the Beckhoff TcEvent View Library to the components ' place a TcEventView on the form, and assign the name TcEventView1 Private Sub Form_Load() TcEventView1.ShowLoggedEvents End Sub 7.2.1.2 ShowActiveEvents ITcEventView [ } 68] This method displays all active events of all EventLogger's the TcEventView is connected to. Before it displays the event it deletes all old events.

HRESULT ShowActivedEvents(); Parameters Return Values S_OK Function was successfully called Visual Basic sample code Option Explicit ' add the Beckhoff TcEvent View Library to the components ' place a TcEventView on the form, and assign the name TcEventView1 Private Sub Form_Load() TcEventView1.ShowActiveEvents End Sub 7.2.1.3 ConfirmEvent ITcEventView [ } 68] This method confirms one displayed event by the given index in the list view and confirmation code. HRESULT ConfirmEvent(long nIndex, long nCode); Parameters nIndex [in] the index of the event that should be confirmed. The index in the list view starts at the top with the index 0.

nCode [in] The confirmation code that is described through the Enum TcEventConCodes Return Values S_OK Function was successfully called TcEventLogger 71 Version: 1.1