This page provides a tutorial of how to send an email on error.


Contents


Overview


The email on error feature allows a remote user\supervisor to receive an email with the workspace snapshot from the head camera when the robot stops on error. This tutorial shows an example of using the workspace snapshot with the catch error node and a gmail account.


Prerequisites



Test with GMAIL Account


  • Ensure that the outside port(1) of the robot is connected to a network with internet.


Sawyer Controller Ethernet Ports v5.3.png


  • Select send email and save locally option in the Head camera behavior on error settings.


400fx



Send Email on Error Settings.jpeg


Note: If you use a Gmail account as was done in this example, you need to configure it to allow less secure apps. Please make sure to also enable the required functionality by completing the "Captcha Enable" challenge. Without this, less secure connections probably would not work.



Send Email on Error Example.png


  • Run the task.
    • The task execution would follow this sequence:
      • Throws an error.
      • The head turns toward the active endpoint.
      • The head camera takes a picture.
      • Sawyer sends the picture to the user over an email, the snapshot can also be seen in the workspace snapshot gallery.