Use error handling to assist in troubleshooting problems with switches and debug programming. Switch Executive VIs contain error in and error out nodes to handle errors. TestStand run-time errors display when an error has occurred. C and Visual Basic use combinations of the niSE_GetError and niSE_ClearError functions to report errors. The C and Visual Basic examples contain the function NI Switch ExecutiveCheckErr that you can use in your own programs.

Refer to Error Codes for error descriptions.