Controlling Error Notification
Use exception control to treat what is normally an error as no error or to set a new error for a situation that normally is not an error.
Complete the following steps to cancel an existing error.
- Place the General Error Handler VI located on the Functions»Time & Dialog palette on the block diagram and double-click it to open it.
- Set exception action to cancel error on match.
- Set exception code to match the error code you want to cancel.
- Set exception source to match the error source value that normally appears when the error code occurs.
- Save your VI.
Complete the following steps to treat a normal condition as an error.
- Place the General Error Handler VI located on the Functions»Time & Dialog palette on the block diagram and double-click it to open it.
- Set exception action to set error on match.
- Set exception code to the code value of error in.
- Set exception source to the value of error source.
- Save your VI.