## Phidget Common.lvlib:PhidgetEventExeOnError.vi

`Error` is called when an error condition has been detected.
See the documentation for your specific channel class to see what error events it might throw.

Device Support:

| error in (no error) error in can accept error information wired from VIs previously called.

| status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| code code is the error or warning code. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| source source describes the origin of the error or warning. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| Devices In A list of devices registered for the same type of event

| Device In Device # Identification

| Event Registration Refnum In Event # Identification

| error out error out passes error or warning information out of a VI to be used by other VIs.

| status status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred. Right-click the error out indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| code code is the error or warning code. Right-click the error out indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| source source string describes the origin of the error or warning. Right-click the error out indicator on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.

| Event? Returns TRUE if the event has executed, or FALSE otherwise.

| Devices Out Same as Devices In

| Device Out Same as Device In

| Index The index of the device that triggered the event within the Devices In array.

| phid Device # Identification of the device that triggered the event.

| ErrorCode The error code
Enumeration Values
Name | Value
--- | ---
EEPHIDGET_BADVERSION | 1
EEPHIDGET_BUSY | 2
EEPHIDGET_NETWORK | 3
EEPHIDGET_DISPATCH | 4
EEPHIDGET_FAILURE | 5
EEPHIDGET_OK | 4096
EEPHIDGET_OVERRUN | 4098
EEPHIDGET_PACKETLOST | 4099
EEPHIDGET_WRAP | 4100
EEPHIDGET_OVERTEMP | 4101
EEPHIDGET_OVERCURRENT | 4102
EEPHIDGET_OUTOFRANGE | 4103
EEPHIDGET_BADPOWER | 4104
EEPHIDGET_SATURATION | 4105
EEPHIDGET_OVERVOLTAGE | 4107
EEPHIDGET_FAILSAFE | 4108
EEPHIDGET_VOLTAGEERROR | 4109
EEPHIDGET_ENERGYDUMP | 4110
EEPHIDGET_MOTORSTALL | 4111

| Error Description The error description

| Event Registration Refnum Out Same as Event Registration Refnum In