Error Code List: Difference between revisions
No edit summary |
No edit summary |
||
Line 147: | Line 147: | ||
Dec: 20 | Dec: 20 | ||
| Operation Not Supported | | Operation Not Supported | ||
| This error is thrown when a method is called that is not supported by the Phidget hardware. For example, calling {{Code|setFanMode}} on the 1065, which has no fan. Or calling {{setEnabled}} on an encoder channel that is always enabled, like the one built in to the DCC1002. | | This error is thrown when a method is called that is not supported by the Phidget hardware. For example, calling {{Code|setFanMode}} on the 1065, which has no fan. Or calling {{Code|setEnabled}} on an encoder channel that is always enabled, like the one built in to the DCC1002. | ||
|- | |- | ||
| INVALIDARG | | INVALIDARG |
Revision as of 14:21, 6 June 2019
Error Codes
This page lists all error codes with more in-depth descriptions than can be found in the Phidget22 API.
These codes are thrown as Phidget Exceptions or returned as error codes from C functions. See the Phidget22 API documentation for your device to see which error codes are supported. The error codes are generic, and the error description may contain more detailed information about the actual cause of the error.
Name | Value | Description | Details |
---|---|---|---|
OK | Hex: 0x00
Dec: 0 |
Success | |
PERM | Hex: 0x01
Dec: 1 |
Not Permitted | |
NOENT | Hex: 0x02
Dec: 2 |
No Such Entity | |
TIMEOUT | Hex: 0x03
Dec: 3 |
Timed Out | This can happen for a number of common reasons:
|
KEEPALIVE | Hex: 0x3A
Dec: 58 |
Keep Alive Failure | |
INTERRUPTED | 0Hex: 0x04
Dec: 4 |
Op Interrupted | |
IO | Hex: 0x05
Dec: 5 |
IO Issue | |
NOMEMORY | Hex: 0x06
Dec: 6 |
Memory Issue | |
ACCESS | Hex: 0x07
Dec: 7 |
Access (Permission) Issue | |
FAULT | Hex: 0x08
Dec: 8 |
Address Issue | |
BUSY | Hex: 0x09
Dec: 9 |
Resource Busy | The Phidget you are trying to open is already open elsewhere.
|
EXIST | Hex: 0x0a
Dec: 10 |
Object Exists | |
NOTDIR | Hex: 0x0b
Dec: 11 |
Object is not a directory | |
ISDIR | Hex: 0x0c
Dec: 12 |
Object is a directory | |
INVALID | Hex: 0x0d
Dec: 13 |
Invalid | |
NFILE | Hex: 0x0e
Dec: 14 |
Too many open files in system | |
MFILE | Hex: 0x0f
Dec: 15 |
Too many open files | |
NOSPC | Hex: 0x10
Dec: 16 |
Not enough space | |
FBIG | Hex: 0x11
Dec: 17 |
File too Big | |
ROFS | Hex: 0x12
Dec: 18 |
Read Only Filesystem | |
RO | Hex: 0x13
Dec: 19 |
Read Only Object | |
UNSUPPORTED | Hex: 0x14
Dec: 20 |
Operation Not Supported | This error is thrown when a method is called that is not supported by the Phidget hardware. For example, calling setFanMode on the 1065, which has no fan. Or calling setEnabled on an encoder channel that is always enabled, like the one built in to the DCC1002.
|
INVALIDARG | Hex: 0x15
Dec: 21 |
Invalid Argument | One or more of the parameters passed to the function is not accepted by the channel in its current configuration.
|
AGAIN | Hex: 0x16
Dec: 22 |
Try again | |
NOTEMPTY | Hex: 0x1a
Dec: 26 |
Not Empty | |
UNEXPECTED | Hex: 0x1c
Dec: 28 |
Unexpected Error | |
DUPLICATE | Hex: 0x1b
Dec: 27 |
Duplicate | |
BADPASSWORD | Hex: 0x25
Dec: 37 |
Bad Credential | |
NETUNAVAIL | Hex: 0x2d
Dec: 45 |
Network Unavailable | |
CONNREF | Hex: 0x23
Dec: 35 |
Connection Refused | |
CONNRESET | Hex: 0x2e
Dec: 46 |
Connection Reset | |
HOSTUNREACH | Hex: 0x30
Dec: 48 |
No route to host | |
NODEV | Hex: 0x28
Dec: 40 |
No Such Device | |
WRONGDEVICE | Hex: 0x32
Dec: 50 |
Wrong Device | |
PIPE | Hex: 0x29
Dec: 41 |
Broken Pipe | |
RESOLV | Hex: 0x2c
Dec: 44 |
Name Resolution Failure | |
UNKNOWNVAL | Hex: 0x33
Dec: 51 |
Unknown or Invalid Value | |
NOTATTACHED | Hex: 0x34
Dec: 52 |
Device not Attached | This can happen for a number of common reasons:
|
INVALIDPACKET | Hex: 0x35
Dec: 53 |
Invalid or Unexpected Packet | |
2BIG | Hex: 0x36
Dec: 54 |
Argument List Too Long | |
BADVERSION | Hex: 0x37
Dec: 55 |
Bad Version | This error occurs when the version of the Phidget libraries is different than the one being used on the network server. Update both to the latest version to solve the error. If you're using Javascript, ensure that the same version of phidget22.min.js is being used in your working directory as the one being pointed to by the webserver in the Phidget Control Panel. |
CLOSED | Hex: 0x38
Dec: 56 |
Closed | |
NOTCONFIGURED | Hex: 0x39
Dec: 57 |
Not Configured | |
EOF | Hex: 0x1f
Dec: 31 |
End of File | |
FAILSAFE | Hex: 0x3b
Dec: 59 |
Failsafe Triggered | Failsafe Triggered on this channel. Close and Re-open the channel to resume operation. |