OnCommErrorEx

<< Click to Display Table of Contents >>

 

OnCommErrorEx

OnCommErrorEx(ErrorInfo)

Occurs right after the execution of an OnCommError event.

ErrorInfo parameter information

Name

Description

ErrorInfo.EvtType

Indicates the type of operation that caused this error:

0: Tag reading

1: Tag writing

2: Block reading

3: Block writing

ErrorInfo.Size

Size of the Block that caused this error (if it is a Tag, Size is equal to 1)

ErrorInfo.Element

Index of the Block Element that caused this error

ErrorInfo.Nx

Nx or Bx parameters (x = 1, 2, 3, 4) of the operation that caused this error

ErrorInfo.ParamDevice

ParamDevice parameter (String) of the operation that caused this error

ErrorInfo.ParamItem

ParamItem parameter (String) of the operation that caused this error

Was this page useful?