Errors and Error Handling
To minimize the possibility of erroneous system operation, VIs, 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 VIs to allow you to quickly diagnose any error-generating situation. Refer to the Error & Utility VIs for information about specific VIs and Error Codes for a listing of errors returned by NI-Motion.