![Phidgets 1002 Product Manual Download Page 11](http://html.mh-extra.com/html/phidgets/1002/1002_product-manual_1537218011.webp)
11
1002_0_Product_Manual - March 2, 2011 9:59 AM
Events
OnError(int ErrorCode, String ErrorDescription)
The PhidgetAnalog will throw error events under certain circumstances:
ErrorCode = EEPHIDGET_OVERCURRENT
- An overcurrent condition has occured on an output. Under this
condition, the output is clamped to 20mA.
ErrorCode = EEPHIDGET_OVERTEMP
- A Thermal Shutdown state has occured. The outputs will be shut
down under this condition.
When overcurrent or overtemperature state have ended, there will be an error event with the EEPHIDGET_OK
code.
See the ErrorDescription string for specific error details.