# Write Image

The Write Image function allows you to save images to SFTP server.

## Enable Outputs

Before editing the Write Image settings, make sure Outputs are enabled for the app.

Go to the Settings menu. Select Communications.

Toggle Outputs to enable it. Click Apply to save your changes.

Check that Outputs indicator is lit in the corner of the image viewfinder.

## Set Write Image Preferences

Enable saving images to SFTP server by switching on the Write Image toggle.

Click on the pencil icon to edit the Write Image settings.

Note:

If the Outputs toggle is switched off in the Communications tab, the vision sensor does not send outputs even if you switch the Write Image toggle on. In this case, you receive an error message:

Clicking on the message link takes you to the Communications tab in the Settings menu.

### Write Image Settings

1 | Server Address | Enter your server address.
2 | File Path | Enter the path name where you want to save your files.
3 | Username | Enter server username.
4 | Password | Enter server password.
5 | Test Connection | Click to test the connection. If the dot turns GREEN, you are connected. It also displays the last time you checked the connection. If the dot turns RED, the connection failed. Reasons the connection failed are: The username does not exist on the server, The password is incorrect. The file path does not exist on that server. The user does not have write access to that file path.
6 | Images to Transfer | Choose which images to send to the server. Note: Fail Only images not only includes images marked NG, but also images that did not pass, such as the fixture was not found or the ROI was out of bounds.
7 | File Type | Choose from the dropdown list to save your files as either bmp, jpeg, or png.
8 | Apply | Click to save changes.

After finalizing your settings, click on Enter Monitoring View to watch the live results of training the program.