Error codes are saved in an error list. After you have dealt with an error, you can delete it from the error list.
In this topic Hide
The camera can detect errors that you can correct yourself. If such an error occurs, the camera assigns an error code to this error and stores the error code in memory. After you have corrected the error, you can clear the error code from the list.
If several different errors have occurred, the camera stores the code for each type of error detected. The camera stores each code only once regardless of how many times it has detected the corresponding error.
Checking and clearing error codes is an iterative process, depending on how many errors have occurred.
Error Code | Value | Meaning |
---|---|---|
0 | No Error | The camera hasn't detected any errors since the last time the error memory was cleared. |
1 | Overtrigger | An overtrigger has occurred.
|
2 | Userset | An error occurred when attempting to load a user set. Typically, this means that the user set contains an invalid value. Try loading a different user set. |
3 | Invalid Parameter | A parameter has been entered that is out of range or otherwise invalid. Typically, this error only occurs when the user sets parameters via direct register access. |
4 |
Over Temperature |
The camera is in the over temperature mode. This error indicates that an over temperature condition exists and that damage to camera components may occur. |
5 | Power Failure | This error indicates that the power supply is not sufficient.
Check the power supply. |
6 | Insufficient Trigger Width | This error is reported in Trigger Width exposure mode, when a trigger is shorter than the minimum exposure time. |
Camera Model | Available Error Codes |
---|---|
All ace 2 GigE camera models | Error Codes feature not supported |
All ace 2 USB 3.0 camera models | Error Codes feature not supported |
acA640-90gm | 1, 2, 3, 5, 6 |
acA640-90gc | 1, 2, 3, 5, 6 |
acA640-120gm | 1, 2, 3, 5, 6 |
acA640-120gc | 1, 2, 3, 5, 6 |
acA640-121gm | 1, 2, 3, 4, 5, 6 |
acA640-300gm | 1, 2, 3, 4, 5, 6 |
acA640-300gc | 1, 2, 3, 4, 5, 6 |
acA720-290gm | 1, 2, 3, 4, 5, 6 |
acA720-290gc | 1, 2, 3, 4, 5, 6 |
acA780-75gm | 1, 2, 3, 5, 6 |
acA780-75gc | 1, 2, 3, 5, 6 |
acA800-200gm | 1, 2, 3, 4, 5, 6 |
acA800-200gc | 1, 2, 3, 4, 5, 6 |
acA1280-60gm | 1, 2, 3, 5, 6 |
acA1280-60gc | 1, 2, 3, 5, 6 |
acA1300-22gm | 1, 2, 3, 5, 6 |
acA1300-22gc | 1, 2, 3, 5, 6 |
acA1300-30gm | 1, 2, 3, 5, 6 |
acA1300-30gc | 1, 2, 3, 5, 6 |
acA1300-60gm | 1, 2, 3, 5, 6 |
acA1300-60gmNIR | 1, 2, 3, 5, 6 |
acA1300-60gc | 1, 2, 3, 5, 6 |
acA1300-75gm | 1, 2, 3, 4, 5, 6 |
acA1300-75gc | 1, 2, 3, 4, 5, 6 |
acA1440-73gm | 1, 2, 3, 4, 5, 6 |
acA1440-73gc | 1, 2, 3, 4, 5, 6 |
acA1600-20gm | 1, 2, 3, 5, 6 |
acA1600-20gc | 1, 2, 3, 5, 6 |
acA1600-60gm | 1, 2, 3, 5, 6 |
acA1600-60gc | 1, 2, 3, 5, 6 |
acA1920-25gm | 1, 2, 3, 5, 6 |
acA1920-25gc | 1, 2, 3, 5, 6 |
acA1920-40gm | 1, 2, 3, 4, 5, 6 |
acA1920-40gc | 1, 2, 3, 4, 5, 6 |
acA1920-48gm | 1, 2, 3, 4, 5, 6 |
acA1920-48gc | 1, 2, 3, 4, 5, 6 |
acA1920-50gm | 1, 2, 3, 4, 5, 6 |
acA1920-50gc | 1, 2, 3, 4, 5, 6 |
acA2000-50gm | 1, 2, 3, 5, 6 |
acA2000-50gmNIR | 1, 2, 3, 5, 6 |
acA2000-50gc | 1, 2, 3, 5, 6 |
acA2040-25gm | 1, 2, 3, 5, 6 |
acA2040-25gmNIR | 1, 2, 3, 5, 6 |
acA2040-25gc | 1, 2, 3, 5, 6 |
acA2040-35gm | 1, 2, 3, 4, 5, 6 |
acA2040-35gc | 1, 2, 3, 4, 5, 6 |
acA2440-20gm | 1, 2, 3, 4, 5, 6 |
acA2440-20gc | 1, 2, 3, 4, 5, 6 |
acA2500-14gm | 1, 2, 3, 5, 6 |
acA2500-14gc | 1, 2, 3, 5, 6 |
acA2500-20gm | 1, 2, 3, 4, 5, 6 |
acA2500-20gc | 1, 2, 3, 4, 5, 6 |
acA2500-20gmMED | 1, 2, 3, 4, 5, 6 |
acA2500-20gcMED | 1, 2, 3, 4, 5, 6 |
acA3088-16gm | 1, 2, 3, 4 (not used), 5 |
acA3088-16gc | 1, 2, 3, 4 (not used), 5 |
acA3800-10gm | 1, 2, 3, 5, 6 |
acA3800-10gc | 1, 2, 3, 5, 6 |
acA4024-8gm | 1, 2, 3, 4 (not used), 5 |
acA4024-8gc | 1, 2, 3, 4 (not used), 5 |
acA4096-11gm | 1, 2, 3, 4 (not used), 5, 6 |
acA4096-11gc | 1, 2, 3, 4 (not used), 5, 6 |
acA4112-8gm | 1, 2, 3, 4 (not used), 5, 6 |
acA4112-8gc | 1, 2, 3, 4 (not used), 5, 6 |
acA4600-7gc | 1, 2, 3, 5, 6 |
acA5472-5gm | 1, 2, 3, 4 (not used), 5, 6 |
acA5472-5gc | 1, 2, 3, 4 (not used), 5, 6 |
All ace USB 3.0 camera models | Error Codes feature not supported |
All boost CXP-12 camera models | Error Codes feature not supported |
All dart BCON for LVDS camera models | Error Codes feature not supported |
All dart BCON for MIPI camera models | Error Codes feature not supported |
All dart USB 3.0 camera models | Error Codes feature not supported |
All pulse USB 3.0 camera models | Error Codes feature not supported |
// Get the value of the last error code in the memory
LastErrorEnums lasterror = camera.LastError.GetValue();
// Clear the value of the last error code in the memory
camera.ClearLastError.Execute();
INodeMap& nodemap = camera.GetNodeMap();
// Get the value of the last error code in the memory
String_t lasterror = CEnumerationPtr(nodemap.GetNode("LastError"))->ToString();
// Clear the value of the last error code in the memory
CCommandPtr(nodemap.GetNode("ClearLastError"))->Execute();
// Get the value of the last error code in the memory
string lasterror = camera.Parameters[PLCamera.LastError].GetValue();
// Clear the value of the last error code in the memory
camera.Parameters[PLCamera.ClearLastError].Execute();
// Get the value of the last error code in the memory
string lasterror = Pylon.DeviceFeatureToString(hdev, "LastError");
// Clear the value of the last error code in the memory
Pylon.DeviceExecuteCommandFeature(hdev, "ClearLastError");
size_t len = 0;
char lasterror_str[64] = {0};
/* Get the value of the last error code in the memory */
len = sizeof(lasterror_str);
errRes = PylonDeviceFeatureToString(hdev, "LastError", lasterror_str, &len);
CHECK(errRes);
/* Clear the value of the last error code in the memory */
errRes = PylonDeviceExecuteCommandFeature(hdev, "ClearLastError");
CHECK(errRes);
You can also use the pylon Viewer to easily set the parameters.