Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
soplarpet:error_table [2024/12/06 11:01]
superuser
soplarpet:error_table [2024/12/06 11:06] (current)
superuser [Parameter Descriptions]
Line 2: Line 2:
  
 The `GetErrorTable` method returns a list of `ErrorData` objects representing the current errors in the system. Each `ErrorData` object contains information about the time the error occurred, error type, device code, error message, and any additional information. The `GetErrorTable` method returns a list of `ErrorData` objects representing the current errors in the system. Each `ErrorData` object contains information about the time the error occurred, error type, device code, error message, and any additional information.
 +
 +==== Parameter Descriptions ====
 +
 +1. **Time**  ​
 +   - **Type**: DateTime  ​
 +   - **Description**:​ The timestamp indicating when the error occurred.
 +
 +2. **ErrorType**  ​
 +   - **Type**: int
 +   - **Description**:​ An enumeration representing the type of error. Examples include:  ​
 +     - **1**: Camera connection error  ​
 +     - **2**: Camera ping error  ​
 +     - **3**: Camera missing  ​
 +     - **4**: Configuration corrupted  ​
 +     - **5**: Configuration missing  ​
 +     - **6**: Halcon license missing  ​
 +     - **7**: Free space missing  ​
 +
 +3. **DeviceCode**  ​
 +   - **Type**: int  ​
 +   - **Description**:​ Identifies the device associated with the error.  ​
 +     - Values below **100** indicate a camera (e.g., **1** for Camera 1).  ​
 +     - **100** represents the PC.
 +
 +4. **Message**  ​
 +   - **Type**: string  ​
 +   - **Description**:​ A descriptive message providing details about the error.
 +
 +5. **Additional**  ​
 +   - **Type**: string[]  ​
 +   - **Description**:​ An optional list of strings containing additional data relevant to the error. For example: For free space errors, this may include the amount of space needed (in bytes).
 +
  
 ==== Examples ==== ==== Examples ====
  • soplarpet/error_table.1733482919.txt.gz
  • Last modified: 2024/12/06 11:01
  • by superuser