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.

  1. Place the General Error Handler VI located on the Functions»Time & Dialog palette on the block diagram and double-click it to open it.
  2. Set exception action to cancel error on match.
  3. Set exception code to match the error code you want to cancel.
  4. Set exception source to match the error source value that normally appears when the error code occurs.
  5. Save your VI.

Complete the following steps to treat a normal condition as an error.

  1. Place the General Error Handler VI located on the Functions»Time & Dialog palette on the block diagram and double-click it to open it.
  2. Set exception action to set error on match.
  3. Set exception code to the code value of error in.
  4. Set exception source to the value of error source.
  5. Save your VI.