# Set Job

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

Note:

- The In-Sight vision system must be Offline.
- To use the job ID number, the job must be saved with a numerical prefix of a positive value (from 0 to 2147483647).

## Set Job Inputs

Syntax: SJ<ID>

Parameter | Description
--- | ---
ID | The ID number of the job to load (0 to 2147483647).

## 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 vision system is Online or the file was not found, therefore the command could not be executed.
-4 | The In-Sight vision system is out of memory.
-6 | User does not have Full Access to execute the command.

## Set Job Example

To load 2Test.jobx as the active job on the In-Sight vision system, issue the following command: SJ2

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