Errors and Error Handling

NI-Motion Functions

Errors and Error Handling

To minimize the possibility of erroneous system operation, functions, packets, and data are checked for errors at multiple levels within the NI-Motion software and within the firmware that resides on the NI motion controller.

In a perfect system, errors should not be generated. However, during application development and debugging, errors are unfortunately quite common. NI-Motion offers an extensive error handling structure and utility functions to allow you to quickly diagnose any error-generating situation. Refer to the Error & Utility Functions for information about specific functions and Error Codes for a listing of errors returned by NI-Motion.