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.
  • To use the job ID number feature, the job to be loaded 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 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.

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 sensor responds with 1, indicating that the job was successfully loaded and made active.