SetFavorHostTable

Enables or disables the Favor Host Table over DNS option found in the In-Sight Host Table. For more information, see Host Table 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.

SetFavorHostTable Inputs

Syntax: EV SetFavorHostTable(FavorHostTable)

Parameter

Description

FavorHostTable

0 = Disabled (default)

1 = Enabled

SetFavorHostTable 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.

SetFavorHostTable Example

To enable the Favor Host Table over DNS option, issue the following command: EV SetFavorHostTable(1)

After issuing the SetFavorHostTable command, the In-Sight sensor responds with a status code (1), followed by the number of characters, in bytes (18). Finally, the results in XML format.