Read Settings

Reads the system settings data from an In-Sight sensor. The system settings data consist of the contents of the proc.set file, encoded in ASCII hexadecimal format.

Read Settings Inputs

Syntax: RS

Read Settings Outputs

Returns a status code, followed by a line terminator, followed by lines of settings data.

  • The status codes are:

    Status Codes Description
    1

    The command was executed successfully.

    0

    Unrecognized command.

    -1

    The settings could not be read.

    -4

    The In-Sight sensor is out of memory.

    -6

    User does not have Full Access to execute the command. For more information, see User Access Settings Dialog.

  • The lines of settings data are:

    Size The first line contains an integer value for the size (in bytes) of the settings data.
    Settings The data for the settings is encoded as ASCII hexadecimal values formatted to 80 characters per line. Each line ends with the terminating character.
    CheckSum The last line contains four ASCII hexadecimal bytes that are a checksum of the system settings data.

Read Settings Example

To read system settings data from an In-Sight sensor, issue the following command: RS

The In-Sight  sensor initially responds with 1, indicating the command successfully executed. The following line (1626) represents the amount of data (in bytes) to be transmitted. Finally, the system settings data are sent, followed by a checksum (6B38) of the data.

Note:
  • Most of the actual image data has been omitted from the preceding graphic for clarity.
  • The size reported by the RS command will be twice the number of bytes of the proc.set file, due to ASCII hexadecimal encoding of the data.