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.

Phidget Common.lvlib:PhidgetEventExeOnError.vi

Device Support:

cerrcodeclst

error in (no error)

error in can accept error information wired from VIs previously called.

c1du64

Devices In

A list of devices registered for the same type of event

ceventregrn

Event Registration Refnum In

Event # Identification

ierrcodeclst

error out

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

ibool

Event?

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

i1du64

Devices Out

Same as Devices In

ii32

Index

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

iu64

phid

Device # Identification of the device that triggered the event.

ii32

ErrorCode

The error code

Enumeration Values
NameValue
EEPHIDGET_BADVERSION1
EEPHIDGET_BUSY2
EEPHIDGET_NETWORK3
EEPHIDGET_DISPATCH4
EEPHIDGET_OK4096
EEPHIDGET_OVERRUN4098
EEPHIDGET_PACKETLOST4099
EEPHIDGET_WRAP4100
EEPHIDGET_OVERTEMP4101
EEPHIDGET_OVERCURRENT4102
EEPHIDGET_OUTOFRANGE4103
EEPHIDGET_BADPOWER4104
EEPHIDGET_SATURATION4105
EEPHIDGET_OVERVOLTAGE4107
EEPHIDGET_FAILSAFE4108
EEPHIDGET_VOLTAGEERROR4109
EEPHIDGET_ENERGYDUMP4110
EEPHIDGET_MOTORSTALL4111

istr

Error Description

The error description

ieventregrn

Event Registration Refnum Out

Same as Event Registration Refnum In