KB-127204: Creating jobs

Creating jobs

Configuring jobs for Cognex DataMan scanner projects

  1. Start the AdminClient and open the Jobs module.
  2. Select your Cognex component in the Project tree.
  3. In the menu tab, select Create or drag and drop the components into the Jobs section.
  4. In Job configuration, check whether the upload type Cognex Sensors is being displayed.
  5. Make sure the desired settings are in place for the following sections: General, Notification, Upload and compare, Create a version automatically after job run. The Notification and Create a version automatically after job run sections are only displayed if the necessary settings have been implemented.
  6. Configure the following settings in the Cognex Sensors section:
    1. From the drop down menu Type, select the device type DataMan.
    2. In Project, select from the configuration file Projectname.cfg from the dropdown menu.
    3. In Device, enter the IP address or name of the device.
    4. Change the port located under Port if required. The port 23 is selected by default.
    5. Under User and Password, enter the necessary access data.
    6. In File specifications and compare settings, you can configure the comparison of the project data. Check the Enable custom configuration for this job checkbox and select Edit. In the window Configuration of backup files, you can add data for comparison or exclude data from comparison.

Note

The backup that you create is identical to the DataMan project. You can use the result to carry out a **detailed

comparison as well as a disaster recovery and edits**.

Note

A detailed comparison cannot be performed with the data generated by the editor. A possible solution for this is to create a new version from the backup and then perform a comparison of backup and version.

  1. Create a project using the SetupTool and execute it on the device.
  2. In UserClient, create a Cognex DataMan component in and check it in without a base version.
  3. Create a job for the empty Cognex DataMan component and run it.
  4. Copy the job result (files_.CDC_.CFG_.CDC.TXT_.CFG.TXT) into the working directory and check it in as a new version.
  5. With this version you can make comparisons with subsequent backups.

If changes need to be made to the project files, repeat steps 1-4.


Last update: September 15, 2023

Related Articles

TABLE OF CONTENTS

IMPRINT | PRIVACY POLICY | COOKIE POLICY

Privacy Preference Center