Error Handling Event

Register the methods to be executed when the following error occurs.
Add the error handling event as follows:

1.Add the ErrorProc control
Select the ErrorProc control from the toolbox and then Drag & Drop it to a position on the Form.


2.Set the properties
Display the Property window of the error processing control added and set the following properties.
userForm : A form object to receive events from CoreRA


3.Add the event handler
Double-click the error processing control added or click the event button to display the event for the object. And then double-click the [ErrorProc] field to add the event handler.
Describe the process to be executed when an error occurs in the added event handler.
The following arguments are passed to the added event.
Table: Argument
Item
Meaning
Description
errorKind
Error information
ErrorProc.ErrorKind.SystemError (system error)
ErrorProc.ErrorKind.FanError (Fan/voltage error)
ErrorProc.ErrorKind.CameraError (Camera connection error)
ErrorProc.ErrorKind.ImageLoggingError (Image logging disk write error)
ErrorProc.ErrorKind.ParallelIoTimeout (Parallel output timeout)