SetStartup

Configures settings that are found in the Startup dialog. For more information, see Startup Dialog.

Note: Use the Store Settings (TS) native mode command to save changes to the proc.set file. If not saved to the proc.set file, the changes will be lost after power-cycling the In-Sight vision system. For more information, see Store Settings.

SetStartup Inputs

Syntax: EV SetStartup("JobName",Online)

Parameter

Description

"JobName"

The name of job to load automatically on startup.

Online

0 = Start Offline*

1 = Start Online

* denotes default value

SetStartup Outputs

Returns a status code, followed by the number of characters (in bytes) for the results, then the results in XML format. The status codes are:

Status Codes Description
1 The command was executed successfully.
0 Unrecognized command.
-2 The command could not be executed.
-6 User does not have Full Access to execute the command. For more information, see User Access Settings Dialog.

SetStartup Example

To configure the sensor load the job "Sorting.job" on startup and boot into Online mode, issue the following command: EV SetStartup("Sorting.job",1)

The In-Sight sensor responds with a status code (1), followed by the number of characters, in bytes (18). Finally, the results are returned in XML format.