GetDiagnosticLog

Returns a log of information used to diagnose errors on the In-Sight vision system.

GetDiagnosticLog Inputs

Syntax: EV GetDiagnosticLog()

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

GetDiagnosticLog Example

To retrieve the diagnostic log of the connection status between the vision system and the CIO-MICRO, CIO-MICRO-CC, or CIO-WENET Ethernet I/O module, issue the following command: EV GetDiagnosticLog()

The In-Sight sensor responds with a status code (1), followed by the number of characters (892), in bytes. Finally, the diagnostic log is returned.