Set Job

Loads a job from one of the job slots in flash memory on the In-Sight sensor, making it the active job.

Note:
  • The In-Sight sensor must be Offline.
  • This command only works on a job saved on the flash memory on the In-Sight vision system. If the job is stored on the configured Job Server or the SD Card installed to the In-Sight vision system, this command does not work.
  • To use the job ID number feature, the job to be loaded must be saved with a numerical prefix of 0 to 999.

Set Job Inputs

Syntax: SJ[ID]

Parameter Description
ID The ID number of the job to load (0 to 999).

Set Job Outputs

Returns a status code. The status codes are:

Status Codes Description
1

The command was executed successfully.

0

Unrecognized command.

-1

The ID is less than 0, or is not an integer.

-2

The job failed to load, the sensor is Online or the file was not found, therefore the command could not be executed.

-4 The In-Sight sensor is out of memory.
-6

User does not have Full Access to execute the command. For more information, see User Access Settings Dialog.

Set Job Example

To load "85Test.job" as the active job on the In-Sight sensor, issue the following command: SJ85.

The In-Sight sensor responds with 1, indicating that the job was successfully loaded and made active.