SetStartup
Configures settings that are found in the Startup dialog. For more information, see Startup Dialog.
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. |
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.