Exporting Images via FTP

You can configure your In-Sight vision system to export images to an FTP server on the network. This allows you to store acquired images (based on a tool or job's pass/failure condition) to another device for archival purposes. These images can then be reviewed, helping you to diagnose problems that may have been encountered during the production process.

To configure an FTP connection:

  1. From the Communications group box, select FTP.
  2. Select the Image tab.
  3. Press the Add button to add an entry and configure the image export parameters.

    Note: More than one image export operation can be added to a job.
  4. Select the Settings tab and configure the FTP server settings.
  5. Place the In-Sight vision system Online. The vision system must be Online to execute; otherwise, no images will be exported.
  6. Trigger the vision system to acquire images. For each acquired image, an image file (BMP or JPG, depending on the File Format parameter) is exported and stored on the host specified in the Host Name parameter.
Note:
  • When Transfer Condition is set to None (default), an image file will be exported every time a new image is acquired. When Transfer Condition is set to other than None, an image file will be exported every time the specified event occurs. For example, when Transfer Condition is set to Job.Fail, an image file is exported and stored on the FTP server every time the job fails.
  •  When using the In-Sight emulator as an FTP server, by default, files are written to the Emulator folder ([ProgramData]\Cognex\In-Sight\Emulators\x.x.x). In addition to this directory, files can be written to a user-defined location (Authorized FTP directory). For more information on the Authorized FTP directory, see Emulation Panel.

Image Tab

Provides parameters for defining the exported image, its format, when the image is exported and where the image is exported.

Settings Tab

The Settings Tab provides parameters for defining two target devices. The target device can be an In-Sight emulator, or any other host acting as an FTP server on the network.