Sources of Error

Potential sources of recoverable run-time errors, which can be handled by ATEasy include I/O Table commands (on the failure of a Trigger, Send, or Receive operation), Driver or Interface initialization.

For example, if your application uses COM1 (the serial port), but ATEasy cannot open COM1 because COM1 is already open, a recoverable run-time error will be raised. Another example is if, in an I/O table, an instrument is not responding or the data you intend to receive is not available, this situation will raise a run-time error.

Finally, you can generate your own errors with their own error codes using the Error statement.

Potential sources of non-recoverable errors include overflow or underflow when performing floating point operations, division by zero, and interaction with COM objects. The following is an example of a non-recoverable run-time error resulting from a division by zero operation.

Fatal Error